/* SMS Shield — Premium SaaS design system */

/* === Design tokens === */
:root {
    /* Brand palette */
    --color-primary: #0b3d2e;
    --color-primary-deep: #092a1f;
    --color-primary-mid: #155c44;

    /* Header */
    --color-header: #ffffff;
    --color-header-border: rgba(11, 61, 46, 0.1);

    /* Light surface system (post-hero) */
    --surface-0: #ffffff;
    --surface-1: #f7faf8;
    --surface-2: #eef4f1;
    --surface-border: rgba(11, 61, 46, 0.1);

    /* Text */
    --text-primary: #0f1a14;
    --text-secondary: #4a5c52;
    --text-muted: #7a8c82;
    --text-inverse: #ffffff;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(11, 61, 46, 0.06);
    --shadow-sm: 0 2px 8px rgba(11, 61, 46, 0.08);
    --shadow-md: 0 8px 24px rgba(11, 61, 46, 0.1);

    /* Radii (post-hero cards only) */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Spacing */
    --section-gap: clamp(60px, 8vw, 80px);
    --section-gap-sm: clamp(40px, 5vw, 56px);
    --col-padding: clamp(20px, 3vw, 32px);
    --col-padding-mobile: 20px;
    --container: 1120px;

    /* Typography */
    --font-body: "Open Sans", system-ui, sans-serif;
    --font-heading: "Montserrat", system-ui, sans-serif;

    /* Green gradients (hero / CTA only — do not use on light sections) */
    --color-hero-top: #107a5c;
    --color-hero-bottom: #061f17;
    --gradient-hero: linear-gradient(180deg, var(--color-hero-top) 0%, var(--color-primary) 42%, var(--color-primary-deep) 78%, var(--color-hero-bottom) 100%);
    --gradient-primary: linear-gradient(160deg, var(--color-primary-mid) 0%, var(--color-primary) 50%, var(--color-primary-deep) 100%);

    /* Legacy tokens kept for hero/stats backward compat */
    --color-text: #222222;
    --color-text-inverse: #ffffff;
    --color-muted: #9aa8a0;
    --color-muted-on-light: #4a554f;
    --color-divider: rgba(255, 255, 255, 0.08);
    --color-divider-dark: rgba(11, 61, 46, 0.08);
    --color-accent: #f5f5f5;
    --color-bg: #0f1a14;
    --color-bg-elevated: #111816;
    --gradient-primary-soft: linear-gradient(165deg, #0d4534 0%, var(--color-primary) 35%, var(--color-primary-deep) 100%);
}

/* === Reset & base === */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee__track { animation: none !important; }
    .section { opacity: 1 !important; transform: none !important; }
}

body, main {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    background: var(--surface-0);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .heading {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: 0.85; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--color-primary);
    color: var(--text-inverse);
    padding: 0.5rem 1rem;
    z-index: 200;
}
.skip-link:focus { left: 1rem; outline: 2px solid var(--text-inverse); outline-offset: 2px; }

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}
.container.narrow { width: min(100% - 2.5rem, 760px); }


/* === Section system === */
.section {
    padding: var(--section-gap) 0;
}

.section--tight { padding: 1.5rem 0; }
.section--sm { padding: var(--section-gap-sm) 0; }

/* Light surfaces */
.section--light { background: var(--surface-0); color: var(--text-primary); }
.section--muted { background: var(--surface-1); color: var(--text-primary); }
.section--tinted { background: var(--surface-2); color: var(--text-primary); }

/* Legacy aliases — keep for backward compat (point to light) */
.section--dark { background: var(--surface-0); color: var(--text-primary); }
.section--elevated { background: var(--surface-1); color: var(--text-primary); }
.section--accent { background: var(--surface-1); color: var(--text-primary); }

/* Green sections (hero, stats, CTA — intentionally dark) */
.section--primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
}

/* Section header */
.section__header {
    max-width: 680px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section__header--left { margin-inline: 0; text-align: left; }

.section__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(11, 61, 46, 0.07);
    border: 1px solid rgba(11, 61, 46, 0.12);
    padding: 0.3em 0.85em;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section__header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.section__intro {
    color: var(--text-secondary);
    margin: 0 auto;
    font-size: 1.05rem;
    max-width: 60ch;
    line-height: 1.6;
}

/* Dark-section overrides */
.section--primary .section__header h2,
.section--primary .section__intro { color: var(--text-inverse); }
.section--primary .section__eyebrow {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
}

/* === Column/card grid === */
.columns {
    display: grid;
    gap: 24px;
}

.columns--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
    .columns--3, .columns--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .columns--2, .columns--3, .columns--4 { grid-template-columns: 1fr; }
}

.col {
    padding: var(--col-padding);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: var(--surface-0);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.col:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

@media (max-width: 768px) { .col { padding: var(--col-padding-mobile); } }

.col--dark,
.col--light { background: var(--surface-0); color: var(--text-primary); }

.col__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(11, 61, 46, 0.07);
    border: 1px solid rgba(11, 61, 46, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: 1.1rem;
    line-height: 0;
    flex-shrink: 0;
}
.col__icon svg { width: 24px; height: 24px; }

.col__title {
    margin: 0 0 0.6rem;
    font-size: 1.08rem;
    color: var(--text-primary);
}

.col__body {
    margin: 0 0 1.1rem;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 42ch;
}

.col__cta {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--color-primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}
.col__cta::after { content: "→"; }
.col__cta:hover { opacity: 0.75; text-decoration: underline; }


/* === Services page (two-column rows) === */
.section--services-page {
    background: var(--surface-1);
    padding-top: var(--section-gap-sm);
    padding-bottom: var(--section-gap);
}

.services-page__stack {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.service-block { margin: 0; }

.service-block__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.service-block__col {
    min-width: 0;
    padding: var(--col-padding);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-block__col--content {
    background: var(--surface-0);
    color: var(--text-primary);
}

.service-block__col--list {
    background: var(--surface-1);
    color: var(--text-primary);
    border-left: 1px solid var(--surface-border);
}

.service-block__title {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    color: var(--color-primary);
    line-height: 1.3;
}

.service-block__text {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.97rem;
}
.service-block__text:last-child { margin-bottom: 0; }

.service-block__list-title {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    opacity: 0.7;
}

.service-block__list {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.service-block__list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.1rem;
    border-bottom: 1px solid var(--surface-border);
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.service-block__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 6px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}
.service-block__list li:last-child { border-bottom: 0; }

.service-block__layout:has(.service-block__col--content:only-child) {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .service-block__layout { grid-template-columns: 1fr; }
    .service-block__col { padding: var(--col-padding-mobile); }
    .service-block__col--list {
        border-left: 0;
        border-top: 1px solid var(--surface-border);
    }
}


/* === Navigation === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header--scrolled {
    background: var(--surface-0);
    border-bottom-color: var(--color-header-border);
    box-shadow: var(--shadow-sm);
}

/* Non-hero pages: always solid */
.page-contact .site-header,
.page-about .site-header,
.page-services .site-header {
    background: var(--surface-0);
    border-bottom-color: var(--color-header-border);
    box-shadow: var(--shadow-xs);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}
.brand:hover { opacity: 1; }

.brand__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: transparent;
}

.brand__text { display: flex; flex-direction: column; }

.brand__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand__tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.2;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.nav-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* 3-bar hamburger → X */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar--mid {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.site-nav__link {
    display: block;
    padding: 0.45rem 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}
.site-nav__link:hover, .site-nav__link:focus-visible {
    color: var(--color-primary);
    background: rgba(11, 61, 46, 0.06);
    opacity: 1;
}
.site-nav__link.is-active {
    color: var(--color-primary);
    font-weight: 700;
}

.site-nav__link--cta {
    background: var(--color-primary) !important;
    color: var(--text-inverse) !important;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    margin-left: 0.5rem;
}
.site-nav__link--cta:hover {
    background: var(--color-primary-mid) !important;
    color: var(--text-inverse) !important;
    opacity: 1;
}
.site-nav__link--cta.is-active { background: var(--color-primary) !important; }

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: var(--surface-0);
        border-bottom: 1px solid var(--surface-border);
        box-shadow: var(--shadow-md);
        display: none;
        animation: navSlideIn 0.2s ease;
    }
    .site-nav.is-open { display: block; }
    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0.1rem;
    }
    .site-nav__link {
        padding: 0.75rem 0.85rem;
        font-size: 1rem;
    }
    .site-nav__link--cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }
}

@keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* === HERO — DO NOT MODIFY === */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: var(--section-gap) 0;
    background: var(--gradient-hero);
    background-color: var(--color-primary);
    color: var(--text-inverse);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 30, 22, 0.72) 0%,
        rgba(11, 61, 46, 0.55) 100%
    );
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
}

.hero__eyebrow, .hero__badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 1.25rem;
}

.hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
    color: var(--text-inverse);
}

.hero__title-line { display: block; }
.hero__title-line--accent { color: rgba(255, 255, 255, 0.85); }

.hero__sub {
    color: var(--color-muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
    max-width: 52ch;
    margin: 0 0 1.75rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.hero__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.88rem;
    color: var(--color-muted);
}
.hero__trust li::before { content: "— "; opacity: 0.5; }
/* === END HERO === */


/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.btn--lg { padding: 13px 30px; font-size: 0.9rem; }

/* Hero buttons (white bg, no radius override needed — set via hero context) */
.btn--primary { background: var(--text-inverse); color: var(--color-primary); border-color: var(--text-inverse); }
.btn--outline { background: transparent; color: var(--text-inverse); border-color: rgba(255,255,255,0.45); }
.btn--outline:hover { color: var(--text-inverse); }
.btn--ghost { background: transparent; color: var(--text-inverse); border-color: rgba(255,255,255,0.35); }

/* Stand-alone light-surface buttons */
.btn--on-light { background: var(--color-primary); color: var(--text-inverse); border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.btn--on-light:hover { background: var(--color-primary-mid); opacity: 1; }
.btn--on-light-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--on-light-outline:hover { background: rgba(11,61,46,0.06); opacity: 1; }


/* === Marquee === */
.marquee {
    background: var(--surface-2);
    border-block: 1px solid var(--surface-border);
    overflow: hidden;
}

.marquee--content {
    background: var(--surface-2);
    border-block-color: var(--surface-border);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    padding: 0.9rem 0;
}

.marquee__item {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.marquee__sep {
    color: var(--color-primary);
    opacity: 0.3;
    font-size: 0.5rem;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* === Stats === */
.section--stats { padding: var(--section-gap) 0; }

.stats-band {
    background: var(--gradient-primary);
    background-color: var(--color-primary);
    color: var(--text-inverse);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 64px) 0;
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.stats-band__inner { position: relative; z-index: 1; }

.stats-band__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.stats-band__header--eyebrow-only { margin-bottom: 2rem; }

.stats-band__eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin: 0 0 0.65rem;
}

.stats-band__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--text-inverse);
}

.stats-band__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.1);
}

@media (max-width: 900px) { .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats-band__grid { grid-template-columns: 1fr; } }

.stats-band__item {
    padding: var(--col-padding);
    background: rgba(0, 0, 0, 0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.2s ease;
}
.stats-band__item:hover { background: rgba(0, 0, 0, 0.22); }

.stats-band__item:nth-child(1) { border-top: 3px solid rgba(255,255,255,0.5); }
.stats-band__item:nth-child(2) { border-top: 3px solid rgba(255,255,255,0.3); }
.stats-band__item:nth-child(3) { border-top: 3px solid rgba(255,255,255,0.3); }
.stats-band__item:nth-child(4) { border-top: 3px solid rgba(255,255,255,0.5); }

.stats-band__icon { color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; line-height: 0; }
.stats-band__icon svg { width: 28px; height: 28px; }

.stats-band__value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 0 0 0.35rem;
    color: var(--text-inverse);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stats-band__label {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    max-width: 16ch;
}


/* === Process steps === */
.section--process { background: var(--surface-1); }

.process {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 768px) { .process { grid-template-columns: 1fr; gap: 16px; } }

.process__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    padding: var(--col-padding);
    background: var(--surface-0);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    align-items: start;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease;
}
.process__item:hover { box-shadow: var(--shadow-sm); }

.process__num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-primary);
    opacity: 0.6;
    line-height: 1;
    min-width: 2rem;
    text-align: right;
}

.process__title { margin: 0 0 0.3rem; font-size: 1rem; color: var(--text-primary); }
.process__body { margin: 0; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }


/* === Quote === */
.section--quote {
    background: var(--color-primary);
    color: var(--text-inverse);
}

.section--quote .quote {
    margin: 0 auto;
    max-width: 760px;
    padding: 0;
    border: 0;
}

.quote__text {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    position: relative;
}
.quote__text::before {
    content: "\201C";
    font-size: 3em;
    font-style: normal;
    color: rgba(255,255,255,0.25);
    line-height: 0;
    vertical-align: -0.45em;
    margin-right: 0.1em;
}


/* === Prose / rich text === */
.prose-block { background: var(--surface-0); }
.prose-block .container { max-width: 760px; }
.prose-block h2 { margin-top: 0; color: var(--text-primary); font-size: clamp(1.6rem, 3vw, 2rem); }
.prose-block p { color: var(--text-secondary); line-height: 1.7; font-size: 1.02rem; }

.section--dark.prose-block { background: var(--surface-0); }
.section--dark.prose-block h2 { color: var(--text-primary); }
.section--dark.prose-block p { color: var(--text-secondary); }


/* === Sectors === */
.section--sectors { background: var(--surface-1); }

.sector-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sector-grid__item {
    padding: 0.5rem 1rem;
    background: var(--surface-0);
    color: var(--text-secondary);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 400;
    transition: background 0.15s ease, color 0.15s ease;
}
.sector-grid__item:hover {
    background: rgba(11, 61, 46, 0.06);
    color: var(--color-primary);
    border-color: rgba(11, 61, 46, 0.2);
}


/* === CTA band === */
.cta-band {
    background: var(--gradient-primary);
    background-color: var(--color-primary);
    color: var(--text-inverse);
}

.cta-band h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text-inverse);
}

.cta-band p {
    margin: 0;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cta-band .btn--primary { background: var(--text-inverse); color: var(--color-primary); }
.cta-band .btn--outline { border-color: rgba(255,255,255,0.45); color: var(--text-inverse); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.35); color: var(--text-inverse); }


/* === FAQ === */
.faq { border-top: 1px solid var(--surface-border); }
.faq__item { border-bottom: 1px solid var(--surface-border); }

.faq__question {
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--text-primary);
    border: 0;
    padding: 1.2rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.15s ease;
}
.faq__question:hover { color: var(--color-primary); }
.faq__question::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.faq__question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 0 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.97rem;
}


/* === Contact === */
/* ============================================================
   CONTACT PAGE — isoft-style split layout (upgraded)
   ============================================================ */

.contact-section {
    background: var(--surface-1);
}

/* Two-column split: info panel | form card */
.contact-split {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
@media (max-width: 1060px) { .contact-split { grid-template-columns: 320px 1fr; } }
@media (max-width: 860px)  { .contact-split { grid-template-columns: 1fr; } }

/* ── Left branded panel ── */
.contact-panel {
    background: linear-gradient(160deg, #0b3d2e 0%, #0d4f3c 50%, #072b20 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}
.contact-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-panel__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0 0 0.6rem;
}

.contact-panel__heading {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 0.9rem;
    white-space: pre-line;
}

.contact-panel__sub {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    margin: 0 0 2rem;
}

.contact-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    flex: 1;
}

.contact-panel__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-panel__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}
.contact-panel__icon svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,0.85);
}

.contact-panel__item span:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.contact-panel__item strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}
.contact-panel__item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.contact-panel__item a:hover { color: #fff; text-decoration: underline; }

/* Map inside panel */
.contact-panel__map {
    margin-top: 1.75rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
    line-height: 0;
}
.contact-panel__map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

/* ── Right form card ── */
.contact-form-card {
    background: #fff;
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
}
@media (max-width: 560px) {
    .contact-panel  { padding: 2rem 1.25rem; }
    .contact-form-card { padding: 1.75rem 1.25rem; }
}

.contact-form-card__header { margin-bottom: 1.5rem; }
.contact-form-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
}
.contact-form-card__note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Success state */
.contact-form-success {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #eef7f2;
    border: 1px solid #b7ddc8;
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.93rem;
    color: #1a5c37;
}
.contact-form-success__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #2d8c55;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-form-success__icon svg { width: 16px; height: 16px; stroke: #fff; }
.contact-form-success strong { display: block; font-weight: 700; margin-bottom: 0.2rem; }
.contact-form-success p { margin: 0; }

/* Form rows / fields */
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
@media (max-width: 580px) { .contact-form__row { grid-template-columns: 1fr; } }

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.cf-field__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.cf-field__input {
    border: 1.5px solid #d6ddd9;
    border-radius: var(--radius-sm);
    background: #fafbfa;
    color: var(--text-primary);
    padding: 0.68rem 0.9rem;
    font: inherit;
    font-size: 0.93rem;
    line-height: 1.5;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.cf-field__input::placeholder { color: #a8b4ae; }
.cf-field__input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.08);
}
select.cf-field__input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7875' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
textarea.cf-field__input { resize: vertical; min-height: 120px; }

.cf-field__input--short { max-width: 110px; }
.cf-field__hint { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* CAPTCHA field highlight */
.cf-field--captcha {
    background: #f5fbf7;
    border: 1px solid #c3dece;
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin-top: 0.15rem;
}
.cf-field--captcha .cf-field__label { color: var(--text-primary); }

/* Submit button */
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.5rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}
.contact-form__submit svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-form__submit:hover {
    background: #0d4f3c;
    box-shadow: 0 4px 16px rgba(11,61,46,0.22);
    transform: translateY(-1px);
}
.contact-form__submit:active { transform: translateY(0); }

/* Form styling */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.field label {
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
    border-radius: var(--radius-sm);
    border: 1.5px solid #d1d9d4;
    background: var(--surface-0);
    color: var(--text-primary);
    padding: 0.7rem 0.9rem;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.1);
}

.field small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.form .btn--on-light {
    width: 100%;
    justify-content: center;
    padding: 0.875rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.banner {
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
}
.banner--success { background: #eef7f1; color: #1a5c37; border-left-color: #2d8c55; }
.banner--error { background: #fef2f2; color: #7c2d2d; border-left-color: #d45c5c; }

/* Required field markers */
.field__required {
    color: var(--color-primary);
    font-weight: 700;
    margin-left: 0.1em;
}
.field__required-note {
    color: var(--color-primary);
    font-weight: 700;
}

/* Math CAPTCHA field */
.field--captcha {
    padding: 1rem;
    background: #f0faf4;
    border: 1px solid #c8e6d2;
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
}
.field--captcha label {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}
.field__captcha-note {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
}


/* === Bullet / numbered lists === */
.bullet-columns {
    columns: 2;
    gap: 2rem;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
@media (max-width: 720px) { .bullet-columns { columns: 1; } }

.numbered {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.numbered__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: var(--col-padding);
    background: var(--surface-0);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.numbered__num {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
    font-size: 1.1rem;
}

.numbered__title { margin: 0 0 0.3rem; font-size: 1.02rem; color: var(--text-primary); }
.numbered__body { margin: 0; color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; }


/* === Services section (homepage) === */
.section--services { background: var(--surface-1); }
.section--services .section__header h2 { color: var(--text-primary); }
.section--services .section__intro { color: var(--text-secondary); }

.services-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: var(--col-padding);
    background: var(--surface-0);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.service-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.1rem;
    color: var(--color-primary);
    background: rgba(11, 61, 46, 0.07);
    border: 1px solid rgba(11, 61, 46, 0.12);
    border-radius: var(--radius-sm);
    line-height: 0;
    flex-shrink: 0;
}
.service-item__icon svg { width: 26px; height: 26px; }

.service-item__title { margin: 0 0 0.65rem; font-size: 1.1rem; color: var(--text-primary); }

.service-item__body {
    margin: 0 0 1.25rem;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.service-item__cta {
    margin-top: auto;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}
.service-item__cta::after { content: "→"; }
.service-item__cta:hover { opacity: 0.75; text-decoration: underline; }


/* === WhatsApp widget (erfolgguide-style) === */
/* Wrapper — anchored bottom-right */
.wa-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Collapsed trigger tab — "Open chat" pill */
.wa-widget__trigger {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.1rem 0.6rem 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}
.wa-widget__trigger:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.wa-widget__trigger svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Expanded chat card — hidden by default */
.wa-widget__card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    width: 320px;
    overflow: hidden;
    /* hidden state */
    opacity: 0;
    transform: scale(0.92) translateY(10px);
    pointer-events: none;
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.wa-widget__card.wa-open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Card header */
.wa-widget__card-header {
    background: #075e54;
    padding: 1rem 1rem 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-widget__card-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    flex-shrink: 0;
    color: #fff;
}
.wa-widget__card-avatar svg { width: 24px; height: 24px; }

.wa-widget__card-info { flex: 1; min-width: 0; }
.wa-widget__card-name {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wa-widget__card-status {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.wa-widget__card-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.75);
    padding: 0.2rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 4px;
    transition: color 0.15s;
    line-height: 0;
}
.wa-widget__card-close:hover { color: #fff; }
.wa-widget__card-close svg { width: 18px; height: 18px; }

/* Card body — welcome bubble */
.wa-widget__card-body {
    background: #e5ddd5;
    padding: 1.1rem 1rem 1rem;
    position: relative;
}

.wa-widget__card-greeting {
    font-size: 0.78rem;
    color: #555;
    font-weight: 700;
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wa-widget__card-bubble {
    background: #fff;
    border-radius: 0 8px 8px 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    max-width: 95%;
    display: inline-block;
}
.wa-widget__card-bubble::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    border: 8px solid transparent;
    border-right-color: #fff;
    border-top-width: 0;
}
.wa-widget__card-bubble p {
    margin: 0;
    font-size: 0.88rem;
    color: #333;
    line-height: 1.55;
}

/* Action row */
.wa-widget__card-actions {
    padding: 0.85rem 1rem;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.65rem;
}

.wa-widget__card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s ease, opacity 0.15s;
    white-space: nowrap;
}
.wa-widget__card-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.wa-widget__card-btn--wa {
    background: #25d366;
    color: #fff;
}
.wa-widget__card-btn--wa:hover { background: #1da851; opacity: 1; color: #fff; }

@media (max-width: 600px) {
    .wa-widget { bottom: 0.85rem; right: 0.85rem; }
    .wa-widget__card { width: calc(100vw - 1.75rem); max-width: 320px; }
}


/* === Footer === */
.site-footer {
    background: var(--surface-0);
    color: var(--text-primary);
    border-top: 3px solid var(--color-primary);
}

/* Pre-footer CTA strip */
.site-footer__cta {
    background: var(--gradient-primary);
    background-color: var(--color-primary);
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.site-footer__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer__cta-heading {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-inverse);
}

.site-footer__cta-sub {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
}

.site-footer__cta .btn--primary {
    background: var(--text-inverse);
    color: var(--color-primary);
    border-color: var(--text-inverse);
    white-space: nowrap;
    flex-shrink: 0;
}
.site-footer__cta .btn--primary:hover { opacity: 0.9; }

/* Footer body */
.site-footer__body {
    padding: clamp(40px, 6vw, 64px) 0 clamp(24px, 4vw, 40px);
    border-bottom: 1px solid var(--surface-border);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

@media (max-width: 1000px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
}
@media (max-width: 540px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Brand column */
.site-footer__col--brand {}

.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    margin-bottom: 1rem;
}
.site-footer__brand-link:hover { opacity: 0.85; }

.site-footer__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.site-footer__brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.site-footer__tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 30ch;
    margin: 0 0 0.75rem;
}

.site-footer__blurb {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 34ch;
    margin: 0;
}

/* Column headings */
.site-footer__col-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 1rem;
}

/* Nav links */
.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.site-footer__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.15s ease;
    display: inline-block;
}
.site-footer__links a:hover { color: var(--color-primary); opacity: 1; text-decoration: none; }

/* Contact list */
.site-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.site-footer__contact-row a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.site-footer__contact-row a:hover { color: var(--color-primary); opacity: 1; }

.site-footer__contact-row--hours { align-items: flex-start; }

.site-footer__contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-primary);
    opacity: 0.7;
}

/* Bottom bar */
.site-footer__bottom {
    background: var(--surface-1);
    padding: 1.1rem 0;
    /* Safe padding for WhatsApp widget on mobile */
    padding-bottom: clamp(1.1rem, 5vw, 1.25rem);
}

@media (max-width: 600px) {
    .site-footer__bottom { padding-bottom: 5rem; }
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer__copy {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.site-footer__region {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Legacy compat — keep for any stray anchor colours */
.site-footer a { text-decoration: none; }
.site-footer a:hover { opacity: 0.85; }


/* === Page 404 === */
.page-404 {
    background: var(--surface-1);
    color: var(--text-primary);
    min-height: 50vh;
    padding: var(--section-gap) 0;
}
.page-404 .btn--primary { background: var(--color-primary); color: var(--text-inverse); border-color: var(--color-primary); }


/* === Scroll-reveal animation (only when JS is active) === */
/* Hidden state: no transition here — prevents fade-out on class add */
.js-reveal .section:not(.hero):not(.section--stats):not(.marquee):not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
}
/* Visible state: transition fires as sections enter viewport */
.js-reveal .section.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}


/* === Legacy class aliases === */
.card-grid { display: contents; }
.card, .feature, .mvv-card { display: contents; }


/* ======================================================
   ADMIN (keep as-is — separate from public brand surface)
   ====================================================== */
.admin-body {
    background: #f0f2f0;
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
}
.admin-body h1, .admin-body h2 { font-family: var(--font-heading); font-weight: 700; }

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-nav {
    border-right: 1px solid #dde3dd;
    padding: 1.25rem;
    background: #fff;
}
.admin-nav a { display: block; padding: 0.45rem 0.25rem; color: var(--text-secondary); text-decoration: none; }
.admin-nav a:hover { color: var(--color-primary); opacity: 1; }

.admin-main { padding: 1.5rem clamp(1rem, 3vw, 2rem); }

.admin-card {
    border: 1px solid #dde3dd;
    border-radius: 4px;
    padding: 1rem;
    background: #fff;
    box-shadow: none;
}

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
    border-bottom: 1px solid #dde3dd;
    padding: 0.55rem 0.35rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.admin-form label { display: block; margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-secondary); }
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.55rem;
    border-radius: 0;
    border: 1px solid #ccc;
    background: #fff;
    color: var(--text-primary);
    font: inherit;
}
.admin-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.admin-body .btn--primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); border-radius: 4px; }
.btn-danger { background: #a83a3a; border-color: #8b2e2e; color: #fff; border-radius: 4px; }
.stack { display: flex; flex-direction: column; gap: 0.75rem; }
.admin-body .banner--success { background: #eef7f1; color: #1a5c37; }
.admin-body .banner--error { background: #fef2f2; color: #7c2d2d; }


/* === Admin login page === */
.admin-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-1);
}
@media (max-width: 760px) { .admin-login-page { grid-template-columns: 1fr; } }

.admin-login__panel {
    background: var(--gradient-primary);
    background-color: var(--color-primary);
    color: var(--text-inverse);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(2rem, 6vw, 4rem);
    position: relative;
    overflow: hidden;
}
@media (max-width: 760px) { .admin-login__panel { display: none; } }

.admin-login__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(255,255,255,0.07) 0%, transparent 70%);
}

.admin-login__panel-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--text-inverse);
    margin: 0 0 0.75rem;
    position: relative;
}

.admin-login__panel-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 34ch;
    position: relative;
}

.admin-login__form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(2rem, 6vw, 4rem);
}

.admin-login__box {
    width: 100%;
    max-width: 420px;
}

.admin-login__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.admin-login__logo img { width: 36px; height: 36px; object-fit: contain; }
.admin-login__logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }

.admin-login__title { font-size: 1.5rem; margin: 0 0 0.4rem; color: var(--text-primary); }
.admin-login__sub { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 2rem; }

.admin-login__field { margin-bottom: 1.1rem; }
.admin-login__label { display: block; font-size: 0.85rem; font-weight: 700; font-family: var(--font-heading); color: var(--text-primary); margin-bottom: 0.35rem; }

.admin-login__input-wrap { position: relative; }
.admin-login__input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid #d1d9d4;
    border-radius: var(--radius-sm);
    background: var(--surface-0);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.admin-login__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11,61,46,0.1);
}
.admin-login__pw-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.2rem;
    display: flex;
    align-items: center;
}
.admin-login__pw-toggle:hover { color: var(--text-primary); }

.admin-login__submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-primary);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.admin-login__submit:hover { background: var(--color-primary-mid); }
.admin-login__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.admin-login__back { margin-top: 1.25rem; text-align: center; font-size: 0.88rem; }
.admin-login__back a { color: var(--color-primary); text-decoration: none; }
.admin-login__back a:hover { text-decoration: underline; opacity: 1; }
