:root {
    color-scheme: light;
    --ink: #192f43;
    --muted: #587084;
    --navy: #143b5a;
    --navy-deep: #0c2940;
    --teal: #167c79;
    --teal-dark: #0e5f60;
    --gold: #d7a64a;
    --paper: #f3f6f8;
    --surface: #ffffff;
    --line: #d8e1e8;
    --shadow: 0 18px 44px rgba(17, 47, 70, .10);
    --shadow-raised: 0 28px 56px rgba(17, 47, 70, .17);
    font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid rgba(215, 166, 74, .8); outline-offset: 3px; }

.skip-link {
    position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: .7rem 1rem;
    border-radius: 8px; background: var(--surface); color: var(--navy); box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }
.site-header {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center;
    justify-content: space-between; gap: 2rem; min-height: 78px; padding: .8rem max(4vw, 1.25rem);
    border-bottom: 1px solid rgba(216, 225, 232, .85); background: rgba(255,255,255,.97);
    box-shadow: 0 4px 18px rgba(17, 47, 70, .045); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy-deep); text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand strong { color: var(--teal-dark); }
.brand-mark {
    display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #d5e5e3;
    border-radius: 14px; background: linear-gradient(145deg, #f8fbfc, #e1efed);
    padding: 3px; object-fit: contain; box-shadow: inset 0 1px white, 0 5px 12px rgba(20,59,90,.08);
}
.primary-nav { display: flex; align-items: center; gap: clamp(.65rem, 1.5vw, 1.4rem); }
.primary-nav a { padding: .45rem .25rem; color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--navy); }
.primary-nav a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 0 -2px var(--gold); }
.primary-nav .nav-cta { padding: .72rem 1rem; border: 1px solid var(--teal-dark); border-radius: 11px; background: var(--teal-dark); color: white; box-shadow: 0 6px 12px rgba(14,95,96,.18); }
.primary-nav .nav-cta:hover { transform: translateY(-2px); background: var(--navy); box-shadow: 0 10px 18px rgba(14,59,90,.22); }
.menu-toggle { display: none; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--navy); font-weight: 700; }
.page-shell { width: min(1220px, calc(100% - 2rem)); margin: clamp(1.2rem, 3vw, 2.4rem) auto 4rem; }

.page-hero {
    margin-bottom: 1.4rem; padding: clamp(2rem, 5vw, 4.2rem); border: 1px solid #d7e2e8;
    border-radius: 24px; background: linear-gradient(140deg, #fff 4%, #edf4f6 100%);
    box-shadow: var(--shadow); transform-style: preserve-3d;
}
.page-hero h1 { max-width: 860px; margin: .25rem 0 .85rem; color: var(--navy-deep); font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.12; letter-spacing: -.045em; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.eyebrow { margin: 0 0 .55rem; color: #8d661f; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.content-card {
    margin: 1.1rem 0; padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--line);
    border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); transform-style: preserve-3d;
}
.content-card h2, .contact-copy h2, .resource-card h2 {
    margin: 0 0 .8rem; color: var(--navy); font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.25; letter-spacing: -.025em;
}
.content-card p, .content-card li { color: #435b6d; }
.content-card h2:not(:first-child) { margin-top: 1.8rem; }
.check-list { padding-left: 1.3rem; }
.check-list li { margin: .45rem 0; }
.legal-page .content-card { max-width: 940px; margin-inline: auto; }

.article-content { min-width: 0; }
.article-content .elementor-section {
    margin: 1.1rem 0; padding: clamp(1.5rem, 3.8vw, 3rem);
    border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow);
    transform-style: preserve-3d; transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.article-content .elementor-container { width: 100%; max-width: 1100px; margin-inline: auto; }
.article-content .elementor-column, .article-content .elementor-widget-wrap, .article-content .elementor-widget-container { min-width: 0; }
.article-content .elementor-column { width: 100%; }
.article-content .elementor-widget-wrap { display: block; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
    color: var(--navy) !important; font-family: "Segoe UI", Arial, sans-serif !important;
    font-weight: 750 !important; line-height: 1.24 !important; text-align: left !important; letter-spacing: -.025em;
}
.article-content h1 { max-width: 820px; font-size: clamp(2.2rem, 5vw, 3.8rem) !important; letter-spacing: -.045em; }
.article-content h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.2rem) !important; }
.article-content h3 { font-size: clamp(1.18rem, 2.2vw, 1.5rem) !important; }
.article-content h4 { font-size: clamp(1rem, 1.8vw, 1.18rem) !important; }
.article-content p, .article-content li {
    color: #435b6d !important; font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: clamp(.96rem, 1.15vw, 1.04rem) !important; line-height: 1.78 !important; text-align: left !important;
}
.article-content strong { color: var(--navy-deep); font-weight: 750; }
.article-content a { color: var(--teal-dark) !important; font-weight: 650; text-underline-offset: .18em; }
.article-content a:hover { color: var(--navy) !important; }
.article-content section[id] { scroll-margin-top: 96px; }
.article-content #article-intro {
    overflow: hidden; min-height: 360px; border: 0; color: white;
    background-color: var(--navy-deep);
    background-image: linear-gradient(90deg, rgba(12,41,64,.99) 0%, rgba(12,41,64,.92) 39%, rgba(12,41,64,.35) 100%), url("./images/solar-rooftop.svg");
    background-repeat: no-repeat; background-size: cover, min(58%, 690px) auto; background-position: center, right 1.2rem center;
}
.article-content #article-intro h1, .article-content #article-intro h2,
.article-content #article-intro h3, .article-content #article-intro h4,
.article-content #article-intro p, .article-content #article-intro li,
.article-content #article-intro strong { color: #fff !important; }
.article-content #article-intro .elementor-container { position: relative; z-index: 1; }
.article-content #article-intro [style*="background: #F8FAFC"] p,
.article-content #article-intro [style*="background: #F8FAFC"] strong { color: var(--ink) !important; }
.article-content #article-intro [style*="font-size: 13px; color: #64748B"],
.article-content #article-intro [style*="font-size: 13px; color: #64748B"] a,
.article-content #article-intro span[style*="color: #64748B"] { color: #dce8ed !important; }
.article-content #article-intro figcaption { color: #dce8ed; }
.article-content table { max-width: 100%; border-color: var(--line); border-collapse: separate; border-spacing: 0; }
.article-content th { background-color: #e8f0f3 !important; color: var(--navy) !important; font-weight: 750 !important; }
.article-content td, .article-content th { padding: .85rem .95rem !important; border-color: var(--line) !important; }
.article-content td { color: #435b6d !important; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; }
.article-content img[src^="data:image/gif"], .article-content img[src*="placeholder.png"] { display: none; }
.article-content iframe { max-width: 100%; border: 0; border-radius: 14px; }
.article-content details { margin: .7rem 0; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(17,47,70,.06); }
.article-content summary { padding: 1.1rem 1.25rem; color: var(--navy); font-weight: 750; cursor: pointer; }
.article-content details p { padding: 0 1.25rem 1.1rem; }
.article-content .elementor-accordion-item { margin: .7rem 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(17,47,70,.06); }
.article-content .elementor-tab-title { padding: 1.1rem 1.25rem; background: #f5f8fa; color: var(--navy); cursor: pointer; font-weight: 700; }
.article-content .elementor-tab-title[aria-expanded="true"] { background: #eaf3f3; }
.article-content .elementor-tab-content { padding: 1.1rem 1.25rem; }
.article-content .elementor-tab-content[hidden] { display: none !important; }
.article-content input, .article-content select, .article-content textarea { max-width: 100%; }
.article-content .state-table-wrap, .article-content [style*="overflow-x"], .article-content [style*="overflow: auto"] {
    max-width: 100%; overflow-x: auto !important; border-radius: 15px; -webkit-overflow-scrolling: touch;
}
.article-content .state-table-wrap, .article-content .system-type-card, .article-content .Solar-card,
.article-content .roi-calc, .article-content .lead-magnet, .article-content .toc-nav {
    border: 1px solid var(--line); border-radius: 18px !important; box-shadow: 0 12px 28px rgba(17,47,70,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.article-content [style*="grid-template-columns:repeat(3,1fr)"],
.article-content [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.article-content .lead-magnet { background: linear-gradient(145deg, var(--navy), var(--teal-dark)) !important; color: white !important; }
.article-content .lead-magnet h3, .article-content .lead-magnet p { color: white !important; }
.article-content .lead-magnet input { border-radius: 11px !important; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin: 1.4rem 0; }
.resource-card {
    display: flex; min-height: 260px; flex-direction: column; align-items: flex-start; padding: 1.65rem;
    border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, #fff, #f7fafb);
    box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.resource-card h2 { margin: .75rem 0 .4rem; font-size: 1.3rem; }
.resource-card p { margin: .3rem 0 1.4rem; color: var(--muted); }
.resource-tag { padding: .35rem .7rem; border: 1px solid #d9e8e7; border-radius: 999px; background: #edf6f5; color: var(--teal-dark); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.resource-link { display: flex; align-items: center; gap: .5rem; margin-top: auto; font-weight: 750; text-decoration: none; }
.resource-link span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #e4efef; transition: transform .2s ease; }
.resource-link:hover span { transform: translateX(3px); }

.contact-panel {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start;
    gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; padding: clamp(1.5rem, 4vw, 3.25rem);
    border: 1px solid rgba(255,255,255,.15); border-radius: 24px;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy) 62%, #176a70);
    color: white; box-shadow: 0 24px 54px rgba(12,41,64,.2); transform-style: preserve-3d;
}
.contact-copy h2 { margin: .2rem 0 1rem; color: white; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.contact-copy p, .contact-copy li { color: #dbe7ed; }
.contact-copy .eyebrow { color: #f2ce86; }
.contact-copy ul { padding-left: 1.2rem; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1.1rem, 2.4vw, 1.7rem); border: 1px solid #e4ebef; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 34px rgba(4,23,37,.16); }
.lead-form label { display: grid; gap: .45rem; color: #344e62; font-size: .9rem; font-weight: 700; }
.lead-form input:not([type="checkbox"]), .lead-form textarea,
.login-card input, .status-form select {
    width: 100%; min-height: 46px; padding: .75rem .85rem; border: 1px solid #ccd9e1; border-radius: 10px; background: #fbfcfd; color: var(--ink);
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { outline: 3px solid rgba(22,124,121,.15); border-color: var(--teal); }
.lead-form .lead-message-field, .lead-form .consent-label, .lead-form .honeypot,
.lead-form button, .lead-form .form-message { grid-column: 1 / -1; }
.lead-form .consent-label { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; }
.lead-form .consent-label input { margin-top: .35rem; accent-color: var(--teal); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: 11px; font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 7px 14px rgba(17,47,70,.12); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button-primary { background: var(--teal-dark); color: #fff; }
.button-primary:hover { transform: translateY(-2px); background: var(--navy); color: #fff; box-shadow: 0 12px 20px rgba(17,47,70,.22); }
.button-secondary { border-color: var(--line); background: white; color: var(--navy); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-message { min-height: 1.5em; margin: 0; font-size: .92rem; }
.form-message.is-error { color: #a33232; }
.form-message.is-success { color: #166449; }

.calculator-page-content { min-width: 0; }
.calculator-page-content .elementor-section { margin: 1.1rem 0; padding: clamp(1.35rem, 3.2vw, 2.6rem); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.calculator-page-content h1, .calculator-page-content h2, .calculator-page-content h3, .calculator-page-content h4 {
    color: var(--navy) !important; font-family: "Segoe UI", Arial, sans-serif !important; font-weight: 750 !important; line-height: 1.28 !important;
}
.calculator-page-content h2 { font-size: clamp(1.55rem, 3vw, 2.15rem) !important; }
.calculator-page-content h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem) !important; }
.calculator-page-content p { color: #435b6d !important; font-family: "Segoe UI", Arial, sans-serif !important; line-height: 1.72 !important; }
.calculator-page-content a { color: var(--teal-dark) !important; }
.calculator-page-content .elementor-container { max-width: 1100px; margin-inline: auto; }
.calculator-page-content .roi-calc { margin: 1.2rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.roi-calc .calc-header { padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, #eaf1f5, #e8f4f1); }
.roi-calc .calc-header h2 { margin: 0 0 .35rem; color: var(--navy) !important; font-size: clamp(1.4rem, 2.8vw, 2rem) !important; }
.roi-calc .calc-header p { margin: 0; color: var(--muted) !important; }
.roi-calc .calc-body { display: grid; grid-template-columns: 1fr 1fr; }
.roi-calc .calc-inputs, .roi-calc .calc-results { padding: clamp(1.2rem, 3vw, 2rem); }
.roi-calc .calc-results { border-left: 1px solid var(--line); background: #f4f7f9; }
.calc-label { display: block; margin: .6rem 0 .4rem; color: var(--navy); font-size: .88rem; font-weight: 750; }
.calc-input { width: 100%; min-height: 46px; margin-bottom: .8rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); }
.calc-range { width: 100%; accent-color: var(--teal); }
.calc-range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.calc-toggle { display: flex; gap: .35rem; margin: .4rem 0 1rem; padding: .3rem; border-radius: 12px; background: #e9eff3; }
.calc-toggle button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.calc-toggle button.active { background: var(--navy); color: white; box-shadow: 0 4px 10px rgba(17,47,70,.2); }
.result-label, .rb-label { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-box { margin: 1rem 0; padding: 1.2rem; border-radius: 16px; background: linear-gradient(140deg, var(--navy), var(--teal-dark)); color: white; text-align: center; box-shadow: 0 12px 25px rgba(17,47,70,.2); }
.result-box .rb-label { color: #e1edf0; }
.result-box .rb-value { display: block; color: white; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; }
.result-savings, .subsidy-check { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .7rem 0; padding: .9rem 1rem; border: 1px solid #d8e6e5; border-radius: 12px; background: #edf6f4; }
.result-savings .rs-label, .result-savings .rs-value { color: var(--teal-dark); font-weight: 750; }
.result-savings .rs-value { font-size: 1.25rem; }
.subsidy-check { background: #f5f8fa; }
.subsidy-check .toggle { position: relative; flex: 0 0 48px; min-width: 48px; min-height: 28px; border-radius: 99px; background: #b7c5cc; cursor: pointer; transition: background .2s ease; }
.subsidy-check .toggle::after { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(17,47,70,.25); content: ""; transition: transform .2s ease; }
.subsidy-check .toggle[aria-checked="true"] { background: var(--teal-dark); }
.subsidy-check .toggle[aria-checked="true"]::after { transform: translateX(20px); }
.subsidy-check .toggle:focus-visible { outline-offset: 4px; }
.sub-inner { margin: 1rem 0; padding: 1.4rem; border: 1px solid #dbe5e9; border-radius: 18px; background: linear-gradient(145deg, #fff, #f3f7f8); box-shadow: var(--shadow); }
.sub-inner h4 { margin: 0 0 1rem; color: var(--navy); font-size: 1.25rem; }
.sub-form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: .8rem; }
.sub-form label { display: block; margin-bottom: .4rem; color: var(--muted); font-weight: 700; }
.sub-form input { width: 100%; min-height: 46px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; }
.sub-form button { min-height: 46px; padding: .7rem 1rem; border: 0; border-radius: 10px; background: var(--teal-dark); color: white; font-weight: 750; cursor: pointer; }
.sub-result { display: grid; align-content: center; min-height: 46px; padding: .4rem .8rem; border-radius: 10px; background: #e8f2f1; }
.sr-lbl { color: var(--muted); font-size: .74rem; font-weight: 750; text-transform: uppercase; }
.sr-val { color: var(--teal-dark); font-size: 1.1rem; font-weight: 800; }

.site-footer {
    display: grid; grid-template-columns: minmax(220px, .7fr) 1fr; align-items: center; gap: 1.2rem 2rem;
    padding: 2rem max(4vw, 1.25rem); border-top: 1px solid var(--line); background: #e8eef2; color: var(--muted);
}
.footer-brand p { max-width: 330px; margin: .75rem 0 0; font-size: .88rem; }
.footer-whatsapp {
    display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .68rem .95rem;
    border: 1px solid #14804a; border-radius: 999px; background: #16834b; color: #fff;
    font-size: .88rem; font-weight: 750; text-decoration: none; box-shadow: 0 8px 18px rgba(22,131,75,.18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.footer-whatsapp svg { width: 21px; height: 21px; flex: 0 0 auto; }
.footer-whatsapp:hover { transform: translateY(-2px); background: #116b3c; color: #fff; box-shadow: 0 12px 22px rgba(22,131,75,.26); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.2rem; }
.footer-links a { color: var(--navy); font-size: .88rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--teal-dark); text-decoration: underline; }
.footer-disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid #d3dee5; font-size: .84rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .page-hero:hover, .content-card:hover, .resource-card:hover, .contact-panel:hover,
    .article-content .elementor-section:hover, .article-content .state-table-wrap:hover,
    .article-content .system-type-card:hover, .article-content .Solar-card:hover,
    .article-content .roi-calc:hover, .article-content .lead-magnet:hover,
    .article-content .toc-nav:hover {
        transform: perspective(1200px) translateY(-4px) rotateX(.25deg);
        border-color: #c3d6df; box-shadow: var(--shadow-raised);
    }
}

@media (max-width: 980px) {
    .site-header { gap: 1rem; }
    .primary-nav { gap: .55rem; }
    .primary-nav a { font-size: .85rem; }
    .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 78px; }
    .site-header { min-height: 68px; }
    .menu-toggle { display: block; }
    .primary-nav {
        position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column;
        align-items: stretch; gap: .15rem; padding: .65rem 1.25rem 1.1rem; border-bottom: 1px solid var(--line);
        background: white; box-shadow: 0 16px 24px rgba(17,47,70,.1);
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { padding: .72rem .45rem; font-size: .95rem; }
    .primary-nav .nav-cta { margin-top: .35rem; text-align: center; }
    .page-shell { width: min(100% - 1rem, 1220px); margin-top: .65rem; }
    .article-content .elementor-section { margin: .7rem 0; padding: 1.2rem; border-radius: 16px; }
    .article-content [style*="grid-template-columns:repeat(3,1fr)"],
    .article-content [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: minmax(0, 1fr) !important; }
    .article-content #article-intro { min-height: 320px; background-size: cover, 62% auto; background-position: center, right -2rem bottom .3rem; }
    .contact-panel { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; border-radius: 18px; }
    .lead-form { grid-template-columns: 1fr; padding: 1rem; }
    .lead-form label, .lead-form .lead-message-field { grid-column: 1; }
    .roi-calc .calc-body { grid-template-columns: 1fr; }
    .roi-calc .calc-results { border-top: 1px solid var(--line); border-left: 0; }
    .sub-form { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
    .footer-disclaimer { grid-column: 1; }
}
@media (max-width: 520px) {
    body { font-size: 15px; }
    .page-hero { padding: 1.45rem; border-radius: 16px; }
    .article-content #article-intro { min-height: 330px; background-image: linear-gradient(90deg, rgba(12,41,64,.98), rgba(12,41,64,.78)), url("./images/solar-rooftop.svg"); background-size: cover, 95% auto; background-position: center, right -3.2rem bottom .1rem; }
    .resource-grid { grid-template-columns: 1fr; gap: .8rem; }
    .resource-card { min-height: 220px; padding: 1.35rem; }
    .content-card { padding: 1.3rem; border-radius: 16px; }
    .contact-panel { padding: 1rem; }
    .lead-form { gap: .8rem; }
    .site-footer { padding: 1.5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
