/* ═══════════════════════════════════════════════════════════════
   CONTENT PAGES · /charging /service /commercial
   ═══════════════════════════════════════════════════════════════ */

body[data-content-page] .header {
  color: #fff !important;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
body[data-content-page] .header.scrolled {
  background: rgba(10,10,10,0.9) !important;
  backdrop-filter: blur(16px);
}
body[data-content-page] .lang-toggle { color: #fff; border-color: rgba(255,255,255,0.3); }
body[data-content-page] .burger span { background: #fff; }

.content-page { background: #0a0a0a; color: #fff; }

/* Hero з bg image */
.content-hero {
  position: relative;
  min-height: 92vh;
  padding: calc(var(--header-h) + 60px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}
.content-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.content-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: contentHeroZoom 16s ease-out forwards;
  opacity: 0.65;
}
@keyframes contentHeroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.content-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.85) 100%);
}
.content-hero .container { position: relative; z-index: 1; }
.content-hero-inner { max-width: 820px; }
.content-hero-eyebrow { color: var(--green-bright); margin-bottom: 20px; }
.content-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 0.98;
  color: #fff;
  margin: 0 0 24px;
}
.content-hero-title em {
  font-style: italic; color: var(--green-bright); font-weight: 400;
}
.content-hero-lead {
  font-size: clamp(15px, 1.4vw, 20px); line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 0 36px;
}
.content-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.content-hero-actions .btn-primary {
  background: var(--green); color: #fff; padding: 16px 32px; font-weight: 600;
}
.content-hero-actions .btn-primary:hover { background: var(--green-bright); }
.content-hero-call {
  color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 500;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  transition: all 0.2s;
}
.content-hero-call:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Feature grid (section with 3-4 icon cards) */
.cp-features {
  padding: 90px 0;
  background: #fff;
  color: var(--ink);
}
.cp-features-head {
  text-align: center; max-width: 760px; margin: 0 auto 56px;
}
.cp-features-head .section-eyebrow { color: var(--green); margin-bottom: 10px; }
.cp-features-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.08;
  margin: 0 0 14px;
}
.cp-features-head p { font-size: 16px; color: var(--text-mute); line-height: 1.5; margin: 0; }

.cp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.cp-feature {
  padding: 30px 26px;
  background: #fafaf8;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0; transform: translateY(16px);
}
.cp-feature.in-view { opacity: 1; transform: none; }
.cp-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(0,0,0,0.12);
  border-color: var(--hairline-strong);
}
.cp-feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,129,64,0.1); color: var(--green);
  border-radius: 14px;
  margin-bottom: 18px;
}
.cp-feature-icon svg { width: 26px; height: 26px; }
.cp-feature h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.cp-feature p {
  font-size: 14px; line-height: 1.5; color: var(--text-mute);
  margin: 0;
}

/* Content text sections (alt dark/light) */
.cp-text-section {
  padding: 80px 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cp-text-section.in-view { opacity: 1; transform: none; }
.cp-text-section--dark { background: #0a0a0a; color: #fff; }
.cp-text-section--light { background: #fff; color: var(--ink); }
.cp-text-section--soft { background: #fafaf8; color: var(--ink); }

.cp-text-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cp-text-grid.reverse { grid-template-columns: 1fr 1.1fr; }
.cp-text-grid.reverse .cp-text-media { order: -1; }

.cp-text-content .section-eyebrow { color: var(--green); margin-bottom: 10px; }
.cp-text-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 0 20px;
}
.cp-text-section--dark .cp-text-content h2 { color: #fff; }
.cp-text-content p {
  font-size: 15.5px; line-height: 1.7;
  color: var(--text);
  margin: 0 0 14px;
}
.cp-text-section--dark .cp-text-content p { color: rgba(255,255,255,0.78); }
.cp-text-content p:last-child { margin-bottom: 0; }
.cp-text-content strong { font-weight: 600; }
.cp-text-content ul {
  list-style: none; padding: 0; margin: 20px 0 0;
}
.cp-text-content ul li {
  position: relative; padding: 8px 0 8px 30px;
  font-size: 14.5px; color: var(--text);
  border-bottom: 1px dashed var(--hairline);
}
.cp-text-section--dark .cp-text-content ul li {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.08);
}
.cp-text-content ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c8140' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.cp-text-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.3);
}
.cp-text-media img { width: 100%; height: auto; display: block; }

/* SEO long-form section */
.cp-seo-section {
  padding: 80px 0;
  background: #0a0a0a;
  color: rgba(255,255,255,0.75);
}
.cp-seo-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  color: #fff;
  margin: 0 0 24px;
}
.cp-seo-section h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: #fff;
  margin: 36px 0 12px;
}
.cp-seo-section p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.cp-seo-section strong { color: #fff; font-weight: 500; }

/* CTA (reuse car-cta-section стилі з car.css) */
.content-cta { padding: 100px 0; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); color: #fff; position: relative; overflow: hidden; }
.content-cta::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(12,129,64,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.content-cta .car-cta-inner { position: relative; z-index: 1; }

/* ───── Mobile ───── */
@media (max-width: 768px) {
  .content-hero { min-height: 70vh; padding: calc(var(--header-h) + 40px) 0 60px; }
  .cp-features { padding: 56px 0; }
  .cp-features-head { margin-bottom: 32px; }
  .cp-feature { padding: 22px 20px; }
  .cp-text-section { padding: 48px 0; }
  .cp-text-grid, .cp-text-grid.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cp-text-grid.reverse .cp-text-media { order: 0; }
  .cp-seo-section { padding: 48px 0; }
  .content-cta { padding: 60px 0; }
}
