:root {
    --max-width: 1440px;
    --page-bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f5f7f8;
    --surface-soft-2: #eef7ef;
    --surface-accent: #eff9fc;
    --text: #1a2535;
    --muted: #607182;
    --navy: #1a2535;
    --navy-2: #223247;
    --navy-3: #243449;
    --green: #5ca060;
    --green-soft: #9ed2a2;
    --teal: #4ab8d4;
    --border: #dde5e7;
    --card: #ffffff;
    --footer: #0f1722;
    --footer-text: #d6dee6;
    --shadow-lg: 0 28px 58px rgba(26, 37, 53, 0.09);
    --shadow-md: 0 18px 36px rgba(26, 37, 53, 0.08);
    --shadow-sm: 0 12px 24px rgba(26, 37, 53, 0.08);
    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius-md: 26px;
    --radius-sm: 18px;
    --radius-pill: 999px;
}

html[data-theme="dark"] {
    --page-bg: #0f1722;
    --surface: #0f1722;
    --surface-soft: #162233;
    --surface-soft-2: #111c29;
    --surface-accent: #111c29;
    --text: #f3f7fa;
    --muted: #a8b4c0;
    --navy: #0b1320;
    --navy-2: #111c29;
    --navy-3: #e8eef4;
    --border: #223247;
    --card: #162233;
    --footer: #0b1320;
    --footer-text: #d6dee6;
    --shadow-lg: 0 28px 58px rgba(2, 8, 23, 0.26);
    --shadow-md: 0 18px 36px rgba(2, 8, 23, 0.22);
    --shadow-sm: 0 12px 24px rgba(2, 8, 23, 0.2);
}

html[data-theme="inverted"] {
    --page-bg: #0f1722;
    --surface: #0f1722;
    --surface-soft: #162233;
    --surface-soft-2: #ffffff;
    --surface-accent: #ffffff;
    --text: #f3f7fa;
    --muted: #a8b4c0;
    --navy: #ffffff;
    --navy-2: #ffffff;
    --navy-3: #e8eef4;
    --border: #1d3147;
    --card: #0f1722;
    --footer: #ffffff;
    --footer-text: #607182;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--page-bg);
    color: var(--text);
    line-height: 1.4;
    overflow-x: hidden;
    transition: background 0.25s ease, color 0.25s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6,
.hero h1,
.section-title,
.hero-card h2,
.card h3,
.card h4,
.lead-copy h2,
.final-copy h2,
.rich-text h2 {
    line-height: 1.2em;
}

.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 50;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 34, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.theme-switcher button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: transparent;
    color: #d6dee6;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.theme-switcher button.active {
    background: var(--green);
    color: #fff;
}

.page {
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--surface);
}
.shell {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 88px;
    padding-right: 88px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221, 229, 231, 0.8);
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}
.logo {
    width: 280px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links li {
    position: relative;
    margin: 0;
    padding: 0;
}
.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}
.nav-links > .menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.nav-links > .menu-item-has-children:hover > a::after,
.nav-links > .menu-item-has-children:focus-within > a::after {
    transform: rotate(225deg) translateY(-1px);
}
.sub-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    min-width: 260px;
    max-height: 60vh;
    overflow-y: auto;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px;
    list-style: none;
    border: 1px solid rgba(221, 229, 231, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 48px rgba(26, 37, 53, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 80;
}
.sub-menu li {
    width: 100%;
}
.sub-menu a {
    width: 100%;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text);
    line-height: 1.35;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.sub-menu a:hover,
.sub-menu a:focus-visible {
    background: var(--surface-soft);
    color: var(--green);
    transform: translateX(2px);
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.btn {
    padding: 16px 24px;
    color: #fff;
    background: var(--green);
    box-shadow: 0 14px 30px rgba(92, 160, 96, 0.2);
}
.btn.small {
    padding: 12px 18px;
    font-size: 14px;
}
.btn-secondary {
    padding: 16px 24px;
    border: 1px solid var(--teal);
    background: #fff;
    color: var(--teal);
}

.btn,
.btn-secondary {
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    background: #538f57;
    box-shadow: 0 18px 34px rgba(92, 160, 96, 0.28);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    transform: translateY(-2px);
    background: rgba(74, 184, 212, 0.08);
    box-shadow: 0 12px 24px rgba(74, 184, 212, 0.16);
}

.btn:active,
.btn-secondary:active {
    transform: translateY(0);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 42px;
}
.hero.compact { padding-top: 20px; }
.hero.compact > .card {
    align-self: start;
}
.hero-copy, .stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--surface-soft-2);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}
.hero h1, .section-title {
    margin: 0;
    line-height: 1.2em;
    letter-spacing: -0.04em;
}
.hero h1 { font-size: 58px; }
.hero p, .section-copy, .lede {
    margin: 0;
    color: var(--muted);
    line-height: 1.44;
}
.hero p, .lede { font-size: 18px; }
.hero-actions, .pill-row, .cta-actions, .service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}
.pill {
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.hero-card, .card, .faq-item, .cta-panel {
    background: var(--card);
    border-radius: 30px;
}
.hero-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-lg);
}
.hero-card h2, .card h3, .card h4 {
    margin: 0;
    line-height: 1.2em;
}
.hero-card h2 {
    font-size: 34px;
    line-height: 1.2em;
}
.tag {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: var(--surface-accent);
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
}
.field-grid {
    display: grid;
    gap: 14px;
}
.field-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field-box {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.section {
    padding-top: 36px;
    padding-bottom: 54px;
}
.section.alt { background: var(--surface-soft); }
.section.dark { background: var(--navy); color: #fff; }
.stats,
.section.alt,
.section.dark,
.footer {
    position: relative;
    isolation: isolate;
}
.stats::before,
.section.alt::before,
.section.dark::before,
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background: inherit;
    z-index: -1;
}
.section-header {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 28px;
    text-align: center;
}
.section-header.left {
    justify-items: start;
    text-align: left;
}
.section-kicker {
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
}
.section-title {
    max-width: 860px;
    font-size: 42px;
    line-height: 1.2em;
}
.section-copy {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.5;
}

.grid-2, .grid-3, .grid-4, .content-layout, .contact-grid, .cta-panel, .stats-bar {
    display: grid;
    gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4, .stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.contact-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.cta-panel { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); align-items: center; padding: 40px 44px; background: var(--surface-soft); }

.card {
    padding: 24px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.card.soft, .faq-item { background: var(--surface-soft); box-shadow: none; }
.card.mint { background: var(--surface-soft-2); box-shadow: none; }
.card.teal { background: var(--surface-accent); box-shadow: none; }
.card.navy {
    background: var(--navy);
    color: #fff;
    box-shadow: none;
}
.card.outline {
    border: 1px solid var(--border);
    box-shadow: none;
}
.card p, .card li, .faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.42;
}
.card.navy p, .card.navy li { color: #fff; }
.card h3 { font-size: 24px; }
.card h4, .faq-item h4 { font-size: 20px; line-height: 1.2; }
.faq-item { padding: 22px; }
.faq-item h4 { margin: 0 0 8px; }

.article-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.article-card img, .feature-image img, .map-card img, .cta-panel img, .media-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.article-card img { height: 220px; }
.feature-image img, .map-card img, .media-card img, .cta-panel img { height: 260px; }
.hero-media-card {
    position: relative;
    display: block;
    min-height: 420px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--navy);
    box-shadow: var(--shadow-lg);
}
.hero-media-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 30px;
}
.hero-media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 34, 0.08) 18%, rgba(15, 23, 34, 0.82) 100%),
        linear-gradient(90deg, rgba(15, 23, 34, 0.18) 8%, rgba(15, 23, 34, 0.04) 62%);
}
.media-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    color: #fff;
}
.media-card-overlay .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #dff8e1;
    backdrop-filter: blur(12px);
}
.media-card-overlay h3,
.media-card-overlay p {
    margin: 0;
    color: #fff;
}
.media-card-overlay h3 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.media-card-overlay p {
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}
.hero-side-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    gap: 14px;
    padding: 30px;
}
.hero-side-card h3,
.hero-side-card p {
    margin: 0;
}
.hero-side-card p {
    max-width: 42ch;
}
.area-hero-media .media-card-overlay p {
    max-width: 42ch;
}
.blog-hero-media {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.blog-hero-media:hover,
.blog-hero-media:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(26, 37, 53, 0.18);
}
.article-card p { font-size: 15px; }

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.rich-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.rich-text h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2em;
}
.rich-text p, .rich-text li {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}
.quote-box {
    padding: 22px;
    border-radius: 24px;
    background: var(--surface-soft);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}
.sidebar, .contact-stack, .faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar .card,
.contact-stack .card {
    padding: 28px 26px;
}
.sidebar .card h4,
.contact-stack .card h4 {
    margin-bottom: 12px;
}
.sidebar .btn,
.contact-stack .btn {
    margin-top: 10px;
    align-self: flex-start;
}
.map-card {
    padding: 30px;
}
.map-card .stack {
    gap: 16px;
}
.map-card p {
    max-width: 46ch;
}
.testimonial {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 300px;
}
.stars {
    color: #f2b94b;
    font-size: 20px;
    letter-spacing: 0.08em;
}
.author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}
.author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.author-meta {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.footer {
    background: var(--footer);
    color: var(--footer-text);
    padding-top: 38px;
    padding-bottom: 38px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}
.footer-brand {
    max-width: 250px;
    display: grid;
    gap: 12px;
}
.footer-brand p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}
.footer-brand img {
    width: 220px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}
.footer-columns {
    display: flex;
    gap: 64px;
}
.footer-column {
    display: grid;
    gap: 14px;
    font-size: 15px;
    line-height: 1.2;
}
.footer-column strong {
    color: #fff;
    margin-bottom: 8px;
}
.footer-column a,
.footer-column span {
    color: #fff;
    opacity: 0.95;
}

.is-front-page .page {
    overflow: visible;
}

.hero p.lead {
    max-width: 620px;
    font-size: 20px;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.pill-outline {
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: #fff;
    color: #1a2535;
    font-size: 13px;
    font-weight: 600;
}

.eyebrow-pill {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--surface-soft-2);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}

.hero-card-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-card .subcopy {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 2px;
    padding: 14px 16px;
    border-radius: 20px;
    background: var(--surface-soft-2);
}

.banner .icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--green);
    font-size: 22px;
    font-weight: 800;
    overflow: visible;
}
.banner .icon svg {
    width: 22px;
    height: 22px;
    display: block;
    overflow: visible;
}

.banner p,
.trust-note {
    margin: 0;
}

.banner p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.trust-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 14px 88px;
    background: var(--navy);
}

.stat-card {
    min-height: 120px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    color: var(--green-soft);
    overflow: visible;
}
.stat-icon svg,
.icon-wrap svg,
.audience-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    overflow: visible;
}

.stat-card strong,
.stat-card span {
    color: #fff;
}

.stat-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.stat-card span {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.service-card,
.testimonial-card,
.audience-card,
.process-card {
    height: 100%;
    border-radius: var(--radius-lg);
}

.service-card,
.testimonial-card {
    padding: 26px 24px;
    background: var(--card);
    box-shadow: var(--shadow-md);
}

.service-card {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-card p,
.testimonial-card blockquote,
.audience-card p,
.process-card p {
    margin: 0;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.service-card .link {
    margin-top: auto;
    color: var(--teal);
    font-size: 16px;
    font-weight: 700;
}

.icon-wrap {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--surface-accent);
    color: var(--teal);
    font-size: 24px;
    font-weight: 800;
    overflow: visible;
}

.icon-wrap svg {
    width: 28px;
    height: 28px;
}

.section.dark .section-kicker {
    color: var(--green-soft);
}

.section.dark .section-title,
.section.dark .section-copy {
    color: #fff;
}

.audience-card {
    min-height: 220px;
    padding: 24px 20px;
    background: var(--navy-2);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audience-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    color: var(--teal);
    font-size: 22px;
    font-weight: 800;
    overflow: visible;
}

.audience-icon svg {
    width: 26px;
    height: 26px;
}

.audience-card p {
    white-space: pre-line;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
    color: #fff;
}

.lead-block {
    display: grid;
    grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.lead-copy,
.final-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-copy .section-kicker,
.final-copy .section-kicker {
    color: var(--green);
}

.lead-copy h2,
.final-copy h2 {
    margin: 0;
    font-size: 44px;
    line-height: 1.2em;
    letter-spacing: -0.03em;
}

.lead-copy p,
.final-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.46;
}

.lead-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 600;
}

.lead-form-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--navy);
}

.lead-form-card .field-box {
    background: rgba(255,255,255,0.08);
    color: #d6dee6;
}

.process-card {
    min-height: 220px;
    padding: 24px 20px;
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.process-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--green);
    font-size: 14px;
    line-height: 1.4;
}

.process-card p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.36;
    font-weight: 600;
    white-space: pre-line;
}

.testimonial-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card blockquote {
    color: var(--text);
    font-size: 18px;
    line-height: 1.44;
    font-weight: 500;
}

.areas {
    display: grid;
    gap: 16px;
    justify-items: center;
}

.area-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
}

.area-pill {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: var(--navy-2);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.final-shell {
    padding-top: 0;
    padding-bottom: 0;
}

.final-cta {
    display: block;
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 18px 88px 72px;
}

.final-card {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 40px 44px;
    border-radius: var(--radius-xl);
    background: var(--surface-soft);
}

.final-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    align-self: stretch;
}

.article-card .post-thumbnail img,
.feature-image img {
    width: 100%;
}

.newsletter-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: #fff;
}

.newsletter-card p {
    color: rgba(255,255,255,0.82);
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 18px;
}

.newsletter-form input {
    min-height: 56px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.wpcf7 form {
    display: grid;
    gap: 12px;
}

.wpcf7 form p {
    display: grid;
    gap: 12px;
    margin: 0;
}

.wpcf7 form br {
    display: none;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 0 18px;
    border: 0;
    border-radius: 18px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 15px;
    line-height: 56px;
    box-sizing: border-box;
}

.wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: inherit;
    opacity: 0.82;
    line-height: normal;
}

.wpcf7 textarea.wpcf7-form-control {
    height: auto;
    min-height: 160px;
    padding: 16px 18px;
    line-height: 1.45;
    resize: vertical;
}

.hero-card .wpcf7-form-control:not(.wpcf7-submit),
.contact-stack .wpcf7-form-control:not(.wpcf7-submit) {
    background: var(--surface-soft);
}

.lead-form-card .wpcf7-form-control:not(.wpcf7-submit) {
    background: #2b3950;
    color: #f3f7fa;
}

.lead-form-card .wpcf7-form-control::placeholder {
    color: rgba(243,247,250,0.9);
}

.lead-form-card .wpcf7 {
    margin: 0;
}

.lead-form-card .wpcf7-form-control-wrap {
    margin: 0;
}

.wpcf7-submit {
    border: 0;
    border-radius: var(--radius-pill);
    padding: 16px 24px;
    background: var(--green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(92, 160, 96, 0.2);
}

.wpcf7-spinner {
    margin: 0;
}

.hero-card .wpcf7 {
    margin-top: 8px;
}

.hero-card .wpcf7-submit,
.lead-form-card .wpcf7-submit {
    width: 100%;
}

.page-contact-hero .hero-card {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 28px 58px rgba(15, 23, 34, 0.22);
}

.page-contact-hero .hero-card h2,
.page-contact-hero .hero-card .tag {
    color: #fff;
}

.page-contact-hero .hero-card .tag {
    background: rgba(255, 255, 255, 0.08);
}

.page-contact-hero .hero-card .wpcf7-form-control:not(.wpcf7-submit) {
    background: #2a3950;
    color: #f3f7fa;
}

.page-contact-hero .hero-card .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: rgba(243, 247, 250, 0.92);
}

.page-contact-hero .hero-card .wpcf7-submit {
    margin-top: 8px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy.reveal-on-scroll.is-visible,
.hero-card.reveal-on-scroll.is-visible {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .btn,
    .btn-secondary,
    .reveal-on-scroll {
        transition: none;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .shell { padding-left: 36px; padding-right: 36px; }
    .hero, .grid-4, .content-layout, .contact-grid, .cta-panel, .stats-bar { grid-template-columns: 1fr 1fr; }
    .hero, .content-layout, .contact-grid, .cta-panel { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .hero-media-card,
    .hero-media-card img,
    .hero-side-card { min-height: 360px; }
    .stats,
    .final-cta { padding-left: 36px; padding-right: 36px; }
    .lead-block,
    .final-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .theme-switcher { display: none; }
    .shell { padding-left: 20px; padding-right: 20px; }
    .header { padding-top: 20px; padding-bottom: 12px; }
    .logo { width: 170px; height: 38px; }
    .nav-links { display: none; }
    .sub-menu { display: none; }
    .site-header {
        backdrop-filter: none;
    }
    .hero h1, .section-title { font-size: 38px; }
    .hero p.lead,
    .lead-copy p,
    .final-copy p { font-size: 16px; }
    .hero-actions, .cta-actions { flex-direction: column; }
    .grid-2, .grid-3, .grid-4, .field-grid.two, .stats-bar { grid-template-columns: 1fr; }
    .footer-columns { flex-direction: column; gap: 18px; }
    .cta-panel { padding: 30px 20px; }
    .hero-media-card,
    .hero-media-card img,
    .hero-side-card { min-height: 300px; }
    .media-card-overlay { padding: 22px; }
    .media-card-overlay h3 { font-size: 28px; }
    .service-pills { display: none; }
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 24px 20px;
        gap: 12px;
    }
    .service-card,
    .testimonial-card,
    .audience-card,
    .process-card {
        min-height: auto;
        height: auto;
        box-shadow: none;
    }
    .lead-copy h2,
    .final-copy h2 { font-size: 30px; }
    .final-cta { padding: 8px 20px 28px; }
    .final-card {
        gap: 16px;
        padding: 32px 20px;
        border-radius: 24px;
    }
    .final-image { display: none; }
    .newsletter-form { grid-template-columns: 1fr; }
}
