/* ─────────────────────────────────────────────────────────────
   ELO Portable Solar Panel — Landing Page
   Hybrid: dark cinematic (A) + spec-sheet body (C)
   ───────────────────────────────────────────────────────────── */

:root {
    --solar-orange: #FF7735;
    --solar-orange-deep: #EB601D;
    --solar-dark: #0d0d0e;
    --solar-dark-2: #1a1a1c;
    --solar-light: #fafaf7;
    --solar-border: #DADADA;
    --solar-text-dark: #1E1E1E;
    --solar-text-grey: #7E7E7E;
    --solar-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
}

body.solar-page {
    margin: 0;
    background: var(--solar-dark);
    color: #fff;
    font-family: 'Barlow', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.solar-page * { box-sizing: border-box; }

/* Override the theme's global.css `h1-h6 { color:#1E1E1E }` rule on dark sections.
   The light "spec-sheet" sections re-set their own headings to dark text below. */
body.solar-page .solar-hero h1,
body.solar-page .solar-pillars h3,
body.solar-page .solar-form-section h2,
body.solar-page .solar-form-section h3,
body.solar-page .solar-success h2 {
    color: #fff;
}

.solar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.solar-section-label {
    font-family: var(--solar-mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--solar-orange);
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 12px;
}
.solar-section-label--dark { color: var(--solar-orange); }

/* WP-canonical visually-hidden utility for accessible labels */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* 01 · Header — rendered by Elementor Theme Builder, no template CSS needed */

/* 02 · Hero */
.solar-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 80px;
    overflow: hidden;
    color: #fff;
}
.solar-hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.solar-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.solar-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    /* Two-layer overlay:
       1. A diagonal scrim that darkens the bottom-left where the headline lives,
          leaving the top-right showing more of the photo.
       2. A baseline 35% black so the entire image is muted enough that white
          text reads cleanly anywhere it lands. */
    background:
        linear-gradient(115deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 80%),
        linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.85) 100%);
}
.solar-hero .solar-container {
    position: relative;
    z-index: 2;
}
.solar-eyebrow {
    font-family: var(--solar-mono);
    font-size: 12px;
    letter-spacing: .25em;
    color: var(--solar-orange);
    font-weight: 700;
    margin: 0 0 18px;
    text-transform: uppercase;
}
.solar-h1 {
    font-size: clamp(40px, 8vw, 88px);
    line-height: .95;
    letter-spacing: -.02em;
    font-weight: 800;
    margin: 0 0 18px;
    max-width: 14ch;
}
.solar-h1 em {
    color: var(--solar-orange);
    font-style: normal;
}
.solar-hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,.78);
    max-width: 56ch;
    margin: 0 0 32px;
}
.solar-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: var(--solar-orange);
    color: var(--solar-dark);
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.solar-cta-pill:hover { background: var(--solar-orange-deep); transform: translateY(-1px); }

/* 03 · Pillars */
.solar-pillars {
    background: var(--solar-dark);
    padding: 44px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.solar-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.solar-pillar h3 {
    font-family: var(--solar-mono);
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--solar-orange);
    margin: 18px 0 8px;
    font-weight: 700;
}
.solar-pillar p {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    margin: 0;
}
.solar-pillar-icon {
    width: 32px; height: 32px;
    color: var(--solar-orange);
    display: block;
}

/* 04 · Product detail (light) */
.solar-detail {
    background: var(--solar-light);
    color: var(--solar-text-dark);
    padding: 56px 0;
}
.solar-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.solar-detail-photo,
.solar-detail-photo picture {
    width: 100%;
    height: auto;
    display: block;
}
.solar-detail-photo img {
    width: 100%;
    height: auto;
    display: block;
    /* The product photo has a near-white studio background. mix-blend-mode:
       multiply makes that white blend with the section's cream so the panel
       appears to float on the page instead of sitting in a visible rectangle.
       The black panel itself is unaffected (multiply against cream stays black). */
    mix-blend-mode: multiply;
}
.solar-detail-callouts h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.05;
    letter-spacing: -.01em;
    margin: 4px 0 22px;
    color: var(--solar-text-dark);
}
.solar-callouts {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--solar-mono);
    font-size: 14px;
    color: var(--solar-text-dark);
}
.solar-callouts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--solar-border);
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.solar-callouts li:last-child { border-bottom: none; }
.solar-callout-arrow {
    color: var(--solar-orange);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.solar-callout-arrow svg {
    width: 14px;
    height: 14px;
    display: block;
}
.solar-callouts strong { color: var(--solar-orange); font-weight: 700; }

/* 05 · Use cases (light) */
.solar-usecases {
    background: var(--solar-light);
    color: var(--solar-text-dark);
    padding: 0 0 56px;
}
.solar-usecases-h {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0 0 32px;
    max-width: 24ch;
}
.solar-usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.solar-usecase {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--solar-border);
    transition: transform .2s ease, box-shadow .2s ease;
}
.solar-usecase:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.solar-usecase picture {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #ececea;
}
.solar-usecase picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.solar-usecase-tag {
    font-family: var(--solar-mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--solar-orange);
    margin: 28px 28px 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.solar-usecase h3 {
    margin: 0 28px 14px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.005em;
}
.solar-usecase p {
    margin: 0 28px 32px;
    font-size: 14px;
    color: var(--solar-text-grey);
    line-height: 1.6;
}

/* 06 · Specs (light) */
.solar-specs {
    background: var(--solar-light);
    color: var(--solar-text-dark);
    padding: 48px 0 56px;
    border-top: 1px solid var(--solar-border);
}
.solar-specs-h {
    font-family: var(--solar-mono);
    font-size: 14px;
    letter-spacing: .12em;
    margin: 0 0 28px;
    color: var(--solar-text-dark);
    font-weight: 700;
}
.solar-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 24px;
    margin: 0;
}
.solar-specs-grid > div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--solar-border);
    font-family: var(--solar-mono);
    font-size: 13px;
}
.solar-specs-grid dt { color: var(--solar-text-grey); margin: 0; }
.solar-specs-grid dd { color: var(--solar-text-dark); margin: 0; font-weight: 700; }

/* 07 · Form section (dark) */
.solar-form-section {
    background: var(--solar-dark);
    padding: 64px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.solar-form-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--solar-dark-2);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
}
.solar-form-card h2 { font-size: 32px; margin: 0 0 8px; letter-spacing: -.01em; }
.solar-form-sub { color: rgba(255,255,255,.7); margin: 0 0 28px; font-size: 14px; }

.solar-field { margin: 0 0 16px; }
.solar-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.solar-field label {
    display: block;
    font-family: var(--solar-mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    margin: 0 0 6px;
    font-weight: 700;
}
.solar-field .req { color: var(--solar-orange); }
.solar-field .opt { color: rgba(255,255,255,.4); font-weight: 400; text-transform: none; letter-spacing: 0; }

.solar-field input,
.solar-field select,
.solar-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease;
}
.solar-field input:focus,
.solar-field select:focus,
.solar-field textarea:focus {
    outline: none;
    border-color: var(--solar-orange);
    background: rgba(255,255,255,.06);
}
.solar-field textarea { resize: vertical; min-height: 96px; }

.solar-honey {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.solar-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 18px 24px;
    background: var(--solar-orange);
    color: var(--solar-dark);
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
.solar-submit-btn:hover { background: var(--solar-orange-deep); box-shadow: 0 8px 24px rgba(255,119,53,.35); }
.solar-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.solar-form-error {
    margin: 14px 0 0;
    color: #ff8a8a;
    font-size: 13px;
    min-height: 1em;
}

.solar-success {
    max-width: 720px;
    margin: 0 auto;
    background: var(--solar-dark-2);
    padding: 48px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,119,53,.3);
    text-align: center;
}
.solar-success-check { margin: 0 0 18px; display: inline-block; }
.solar-success h2 { font-size: 28px; margin: 0 0 12px; letter-spacing: -.01em; }
.solar-success-sub { color: var(--solar-orange); font-family: var(--solar-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 14px 0 8px; font-weight: 700; }
.solar-success-steps { text-align: left; max-width: 480px; margin: 0 auto; padding-left: 22px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; }

/* 08 · Footer */
.solar-footer {
    background: var(--solar-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.solar-footer-line {
    font-family: var(--solar-mono);
    font-size: 12px;
    color: rgba(255,255,255,.55);
    letter-spacing: .05em;
    margin: 0;
    text-align: center;
}

/* Mobile: collapse all multi-column grids */
@media (max-width: 720px) {
    .solar-hero { min-height: 88vh; padding-bottom: 56px; }
    .solar-h1 { font-size: clamp(34px, 10vw, 52px); }

    .solar-pillars { padding: 56px 0; }
    .solar-pillars-grid { grid-template-columns: 1fr; gap: 28px; }

    .solar-detail { padding: 72px 0; }
    .solar-detail-grid { grid-template-columns: 1fr; gap: 32px; }

    .solar-usecases-grid { grid-template-columns: 1fr; }

    .solar-specs { padding: 72px 0; }
    .solar-specs-grid { grid-template-columns: 1fr; }

    .solar-form-section { padding: 64px 0; }
    .solar-form-card { padding: 28px 22px; }
    .solar-field-row { grid-template-columns: 1fr; gap: 0; }
}
