/* ChargePointSA — /install/ section styles
   Tokens come from chassis.css. Loaded only on is_page('install') via inc/chassis-bootstrap.php.
   Mockup source: .superpowers/brainstorm/53290-1779973474/content/install-v6-withgallery.html
   ────────────────────────────────────────────────────────────── */

/* ── HERO ─────────────────────────────────────────────────────── */
.ax-hero { position: relative; min-height: 720px; min-height: 86svh; background: #1a1d1c; overflow: hidden; display:flex; flex-direction:column; justify-content: flex-end; }
.ax-hero .photo { position:absolute; inset:0; background-size: cover; background-position: center; }
.ax-hero .scrim { position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.0) 55%, rgba(0,0,0,0.8) 100%); }
.ax-hero .inner { position:relative; z-index: 2; padding: 0 var(--container-pad) 64px; color: #fff; max-width: var(--container-max); margin: 0 auto; width:100%; }
.ax-hero .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9; margin-bottom: 18px; display:flex; align-items:center; gap: 8px; }
.ax-hero .eyebrow::before { content:""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.ax-hero h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 300; line-height: 1.03; letter-spacing: -0.035em; max-width: 980px; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.ax-hero h1 em { font-style: normal; color: rgba(255,255,255,0.7); }
.ax-hero p.sub { font-size: 17px; max-width: 580px; color: rgba(255,255,255,0.92); line-height: 1.5; margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.ax-hero .ctas { display:flex; gap: 10px; flex-wrap: wrap; }
.ax-hero-stats { position: relative; z-index: 3; background: rgba(0,0,0,0.55); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,0.1); }
.ax-hero-stats-grid { max-width: var(--container-max); margin: 0 auto; padding: 22px var(--container-pad); display:grid; grid-template-columns: repeat(4, 1fr); gap: 28px; color:#fff; }
.ax-hero-stats .num { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.ax-hero-stats .lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-top: 4px; }

/* ── CTAs (Rivian-style rounded rectangles, was 999px pills) ──── */
.ax-pill { display:inline-flex; align-items:center; height: 56px; padding: 0 24px; border-radius: 10px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; text-decoration:none; transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease; }
.ax-pill.white { background:#fff; color:var(--ink); }
.ax-pill.white:hover { background: var(--paper-warm); }
.ax-pill.outline-light { background:transparent; color:#fff; border: 1px solid rgba(255,255,255,0.7); }
.ax-pill.outline-light:hover { background: rgba(255,255,255,0.10); border-color: #fff; }
.ax-pill.red { background: var(--red); color: #fff; }
.ax-pill.red:hover { background: var(--red-dark); }

/* ── 3-COL "WHY US" ───────────────────────────────────────────── */
.ax-three { padding: 120px var(--container-pad); max-width: var(--container-max); margin: 0 auto; }
.ax-three-head { max-width: 720px; margin-bottom: 60px; }
.ax-three-head .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(35,42,37,0.55); margin-bottom: 14px; display:flex; align-items:center; gap: 8px; }
.ax-three-head .eyebrow::before { content:""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.ax-three-head h2 { font-size: clamp(36px, 4vw + 8px, 64px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
.ax-three-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.ax-three-col .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--paper-warm); display:grid; place-items:center; margin-bottom: 22px; }
.ax-three-col .icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ax-three-col h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 12px; }
.ax-three-col p { font-size: 15px; line-height: 1.55; color: rgba(35,42,37,0.7); }

/* ── PROCESS (alternating photo/text rows) ────────────────────── */
.ax-proc { background: var(--paper-warm); padding: 120px 0; }
.ax-proc-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.ax-proc-head { max-width: 720px; margin-bottom: 80px; }
.ax-proc-head .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(35,42,37,0.55); margin-bottom: 14px; display:flex; align-items:center; gap: 8px; }
.ax-proc-head .eyebrow::before { content:""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.ax-proc-head h2 { font-size: clamp(36px, 4vw + 8px, 64px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
.ax-row { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 96px; }
.ax-row:nth-child(even) .ax-row-photo { order: 2; }
.ax-row:nth-child(even) .ax-row-text { order: 1; }
.ax-row:last-child { margin-bottom: 0; }
.ax-row-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 24px; background-color: var(--ink); }
.ax-row-text .num { font-size: 96px; font-weight: 300; letter-spacing: -0.05em; color: rgba(35,42,37,0.18); line-height: 1; margin-bottom: 16px; }
.ax-row-text h3 { font-size: 32px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.1; }
.ax-row-text p { font-size: 16px; line-height: 1.6; color: rgba(35,42,37,0.7); max-width: 500px; margin-bottom: 16px; }
.ax-row-text ul { list-style:none; padding: 0; margin: 16px 0 0; max-width: 500px; }
.ax-row-text ul li { padding: 6px 0 6px 22px; font-size: 14px; color: rgba(35,42,37,0.7); position: relative; }
.ax-row-text ul li::before { content:"→"; position:absolute; left: 0; color: var(--red); font-weight: 500; }

/* ── GALLERY (4-col with 2x2 feature) ─────────────────────────── */
.ax-gallery { padding: 120px var(--container-pad); max-width: var(--container-max); margin: 0 auto; }
.ax-gallery-head { max-width: 1100px; margin-bottom: 60px; display:flex; justify-content:space-between; align-items:flex-end; gap: 32px; }
.ax-gallery-head > div:first-child { flex: 1; }
.ax-gallery-head .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(35,42,37,0.55); margin-bottom: 14px; display:flex; align-items:center; gap: 8px; }
.ax-gallery-head .eyebrow::before { content:""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.ax-gallery-head h2 { font-size: clamp(36px, 4vw + 8px, 64px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
.ax-gallery-head p { font-size: 15px; color: rgba(35,42,37,0.6); max-width: 380px; line-height: 1.5; }
.ax-gallery-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ax-gallery-grid .tile { display: block; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: 16px; position: relative; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease; overflow:hidden; color: inherit; text-decoration: none; }
.ax-gallery-grid .tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,0.12); }
.ax-gallery-grid .tile .meta { position:absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); color: #fff; font-size: 12px; line-height: 1.35; opacity: 0; transition: opacity 0.2s ease; }
.ax-gallery-grid .tile:hover .meta { opacity: 1; }
.ax-gallery-grid .tile .meta strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.ax-gallery-grid .feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.ax-gallery-foot { margin-top: 40px; text-align: center; }
.ax-gallery-foot a { font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; text-decoration: none; }

/* ── VIDEO ───────────────────────────────────────────────────── */
.ax-video { padding: 120px var(--container-pad); max-width: var(--container-max); margin: 0 auto; }
.ax-video-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.ax-video-head .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(35,42,37,0.55); margin-bottom: 14px; }
.ax-video-head h2 { font-size: clamp(36px, 4vw + 8px, 64px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.05; }
.ax-video-frame { position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; background-color: var(--ink); background-size: cover; background-position: center; background-repeat: no-repeat; display:grid; place-items: center; }
.ax-video-frame::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,0.4); }
.ax-video-frame a.play { position:relative; z-index: 2; width: 88px; height: 88px; border-radius: 50%; background: rgba(255,255,255,0.95); display:grid; place-items:center; font-size: 26px; color: var(--ink); text-decoration: none; transition: transform 0.18s ease; }
.ax-video-frame a.play:hover { transform: scale(1.06); }

/* ── SPOTLIGHT ──────────────────────────────────────────────── */
.ax-spotlight { background: linear-gradient(135deg, var(--ink) 0%, #2c322f 100%); color: #fff; padding: 120px var(--container-pad); overflow: hidden; }
.ax-spotlight-wrap { max-width: var(--container-max); margin: 0 auto; display:grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.ax-spotlight .eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; margin-bottom: 16px; }
.ax-spotlight h2 { font-size: clamp(44px, 5vw + 4px, 80px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.0; margin-bottom: 22px; }
.ax-spotlight p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 480px; }
.ax-spotlight-price { padding: 22px 26px; border: 1px solid rgba(255,255,255,0.18); border-radius: 18px; display:inline-flex; flex-direction:column; gap: 4px; margin-bottom: 28px; }
.ax-spotlight-price .num { font-size: 32px; font-weight: 400; letter-spacing: -0.02em; }
.ax-spotlight-price .lbl { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }
.ax-spotlight .product { aspect-ratio: 3/4; background-size: cover; background-position: center; border-radius: 24px; }

/* ── TRUST ────────────────────────────────────────────────── */
.ax-trust { padding: 80px var(--container-pad); text-align: center; }
.ax-trust .stars { color: #fbbf24; font-size: 28px; letter-spacing: 8px; margin-bottom: 14px; }
.ax-trust h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 8px; }
.ax-trust p { font-size: 14px; color: rgba(35,42,37,0.55); }

/* ── FINAL CTA ──────────────────────────────────────────── */
.ax-final { background: var(--red); color: #fff; padding: 120px var(--container-pad); text-align: center; }
.ax-final h2 { font-size: clamp(44px, 5vw + 4px, 80px); font-weight: 300; letter-spacing: -0.04em; margin-bottom: 22px; line-height: 1.0; }
.ax-final p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; max-width: 520px; margin-left:auto; margin-right:auto; }
.ax-final .ax-pill.white { color: var(--red); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ax-three { padding: 80px var(--container-pad); }
    .ax-three-grid { grid-template-columns: 1fr; gap: 36px; }
    .ax-proc { padding: 80px 0; }
    .ax-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
    .ax-row:nth-child(even) .ax-row-photo { order: 0; }
    .ax-row:nth-child(even) .ax-row-text { order: 0; }
    .ax-gallery { padding: 80px var(--container-pad); }
    .ax-gallery-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ax-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ax-gallery-grid .feature { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; min-height: auto; }
    .ax-gallery-grid .tile .meta { opacity: 1; }
    .ax-video { padding: 80px var(--container-pad); }
    .ax-spotlight { padding: 80px var(--container-pad); }
    .ax-spotlight-wrap { grid-template-columns: 1fr; gap: 40px; }
    .ax-spotlight .product { max-width: 420px; }
    .ax-final { padding: 80px var(--container-pad); }
}
@media (max-width: 640px) {
    .ax-hero { min-height: 600px; min-height: 78svh; }
    .ax-hero h1 { font-size: 38px; }
    .ax-hero p.sub { font-size: 15px; }
    .ax-hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
    .ax-three { padding: 64px var(--container-pad); }
    .ax-three-head { margin-bottom: 36px; }
    .ax-proc { padding: 64px 0; }
    .ax-proc-head { margin-bottom: 48px; }
    .ax-row-text .num { font-size: 64px; }
    .ax-row-text h3 { font-size: 24px; }
    .ax-gallery-grid { grid-template-columns: 1fr; }
    .ax-gallery-grid .feature { grid-column: span 1; }
    .ax-final h2 { font-size: 30px; }
}
