/* Chiro.leadgenbud - Main stylesheet
   Palette: deep forest + sage + warm clay + cream
   Mood: calm, premium, organic geometry, breathing space
*/

:root {
    --c-ink: #0f1f1d;
    --c-ink-soft: #2a3a37;
    --c-paper: #f6f2ea;
    --c-paper-soft: #ede7d9;
    --c-line: rgba(15, 31, 29, 0.12);
    --c-line-soft: rgba(15, 31, 29, 0.06);

    --c-forest: #0f3b3a;
    --c-forest-2: #134e4a;
    --c-sage: #6f8f7d;
    --c-sage-soft: #b8cbb7;
    --c-moss: #3a5a40;
    --c-clay: #c18661;
    --c-clay-soft: #e7c9b3;
    --c-rust: #b95a2a;
    --c-stone: #8a8478;
    --c-cream: #faf6ee;
    --c-cream-2: #f0e8d6;
    --c-warning: #b95a2a;

    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-1: 0 1px 2px rgba(15, 31, 29, 0.06), 0 4px 12px rgba(15, 31, 29, 0.04);
    --shadow-2: 0 4px 8px rgba(15, 31, 29, 0.06), 0 18px 36px rgba(15, 31, 29, 0.08);
    --shadow-3: 0 12px 30px rgba(15, 31, 29, 0.12), 0 30px 80px rgba(15, 31, 29, 0.10);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1180px;
    --font-display: 'Nunito', 'Nunito Sans', system-ui, sans-serif;
    --font-body: 'Nunito', 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-paper);
    color: var(--c-ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms var(--ease);
}

a:hover {
    color: var(--c-clay);
}

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--c-ink);
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-sage);
    margin: 0 0 0.8em;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--c-sage-soft);
}

.lede {
    font-size: 1.12rem;
    color: var(--c-ink-soft);
    line-height: 1.6;
    max-width: 56ch;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.95em 1.6em;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--c-forest);
    color: var(--c-cream);
    box-shadow: var(--shadow-1);
}
.btn-primary:hover {
    background: var(--c-forest-2);
    color: var(--c-cream);
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
}

.btn-ghost {
    background: transparent;
    color: var(--c-ink);
    border-color: var(--c-line);
}
.btn-ghost:hover {
    background: var(--c-ink);
    color: var(--c-cream);
    border-color: var(--c-ink);
}

.btn-link {
    background: transparent;
    color: var(--c-forest);
    padding: 0.5em 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--c-sage-soft);
}
.btn-link:hover {
    color: var(--c-clay);
    border-color: var(--c-clay);
}

.btn-small { padding: 0.7em 1.1em; font-size: 0.85rem; }
.btn-large { padding: 1.1em 2em; font-size: 1rem; }

/* Site header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 242, 234, 0.78);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--c-line-soft);
    transition: box-shadow 220ms var(--ease);
}
.site-header.is-stuck {
    box-shadow: 0 6px 18px rgba(15, 31, 29, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--c-ink);
}
.brand:hover { color: var(--c-ink); }
.brand-logo {
    display: block;
    height: 48px;
    width: auto;
    transition: transform 240ms ease, opacity 240ms ease;
}
.brand:hover .brand-logo { transform: translateY(-1px); opacity: 0.92; }
@media (max-width: 640px) {
    .brand-logo { height: 40px; }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    padding: 0.55em 0.9em;
    border-radius: var(--radius-pill);
    color: var(--c-ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 180ms var(--ease), color 180ms var(--ease);
}
.nav-link:hover {
    background: var(--c-paper-soft);
    color: var(--c-ink);
}
.nav-cta {
    padding: 0.65em 1.1em;
    margin-left: 6px;
    border-radius: var(--radius-pill);
    background: var(--c-ink);
    color: var(--c-cream);
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.nav-cta:hover {
    background: var(--c-forest);
    color: var(--c-cream);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 7vw, 100px);
    overflow: hidden;
    background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-cream) 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}
.hero-orb--a {
    width: 460px; height: 460px;
    top: -120px; left: -160px;
    background: radial-gradient(circle, var(--c-sage-soft), transparent 60%);
}
.hero-orb--b {
    width: 520px; height: 520px;
    bottom: -200px; right: -200px;
    background: radial-gradient(circle, var(--c-clay-soft), transparent 60%);
    opacity: 0.4;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--c-line-soft) 1px, transparent 1px);
    background-size: calc(100% / 12) 100%;
    opacity: 0.5;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, black 25%, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 25%, black 75%, transparent 100%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.hero-title {
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 1.2rem;
}
.hero-title-accent {
    color: var(--c-clay);
    font-style: italic;
    font-weight: 400;
    display: block;
}

.hero-lede {
    font-size: 1.12rem;
    color: var(--c-ink-soft);
    max-width: 52ch;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    color: var(--c-ink-soft);
    font-size: 0.88rem;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-sage);
    display: inline-block;
}

/* Hero card */
.hero-card {
    position: relative;
}
.hero-card-inner {
    background: var(--c-cream);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 28px 28px 22px;
    box-shadow: var(--shadow-3);
    position: relative;
    overflow: hidden;
}
.hero-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-sage) 0%, var(--c-clay) 100%);
}
.hero-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-stone);
}
.hero-card-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-sage);
    box-shadow: 0 0 0 0 rgba(111, 143, 125, 0.6);
    animation: chiro-pulse 2.4s ease-in-out infinite;
}
@keyframes chiro-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(111, 143, 125, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(111, 143, 125, 0); }
}
.hero-card-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-line-soft);
}
.hero-card-row:last-of-type {
    border-bottom: 0;
}
.hero-card-label {
    color: var(--c-ink-soft);
    font-size: 0.9rem;
}
.hero-card-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--c-forest);
    letter-spacing: -0.01em;
}
.hero-card-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 56px;
    margin-top: 18px;
}
.hero-card-bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--c-sage) 0%, var(--c-forest) 100%);
    border-radius: 3px 3px 0 0;
    height: var(--h, 50%);
    opacity: 0.85;
    transition: height 800ms var(--ease);
}
.hero-card-caption {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--c-stone);
    text-align: center;
    font-style: italic;
}

/* Trust strip */
.trust-strip {
    background: var(--c-forest);
    color: var(--c-cream);
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid var(--c-forest-2);
    border-bottom: 1px solid var(--c-forest-2);
}
.trust-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: chiro-marquee 38s linear infinite;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}
@keyframes chiro-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section head */
.section-head {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 60px);
    text-align: center;
}
.section-head .lede {
    margin: 0 auto;
}

/* Approach */
.approach {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-paper);
}
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
.approach-intro h2 {
    margin-bottom: 1.2rem;
}
.approach-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.approach-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--c-line);
}
.approach-item:last-child {
    border-bottom: 1px solid var(--c-line);
}
.approach-num {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--c-clay);
    letter-spacing: 0.04em;
    padding-top: 4px;
}
.approach-item h3 {
    margin: 0 0 0.4em;
    font-size: 1.25rem;
}
.approach-item p {
    margin: 0;
    color: var(--c-ink-soft);
    font-size: 0.98rem;
}

/* Services */
.services {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-cream);
    position: relative;
}
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, var(--c-sage-soft) 0, transparent 35%),
        radial-gradient(circle at 80% 80%, var(--c-clay-soft) 0, transparent 35%);
    opacity: 0.18;
    pointer-events: none;
}

.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.service-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--c-sage);
    transition: width 280ms var(--ease);
}
.service-card[data-tone="moss"]::after { background: var(--c-moss); }
.service-card[data-tone="clay"]::after { background: var(--c-clay); }
.service-card[data-tone="stone"]::after { background: var(--c-stone); }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--c-sage-soft);
}
.service-card:hover::after { width: 6px; }

.service-num {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--c-stone);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.service-card h3 {
    margin: 0 0 0.6em;
    font-size: 1.4rem;
}
.service-card p {
    color: var(--c-ink-soft);
    margin-bottom: 1.2em;
}
.service-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 18px;
}
.service-card li {
    font-size: 0.88rem;
    color: var(--c-ink-soft);
    position: relative;
    padding-left: 18px;
}
.service-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.65em;
    width: 8px; height: 1px;
    background: var(--c-sage);
}

/* Results */
.results {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-forest);
    color: var(--c-cream);
}
.results .section-head h2 { color: var(--c-cream); }
.results .section-head .eyebrow { color: var(--c-sage-soft); border-color: var(--c-sage); }
.results .lede { color: rgba(246, 242, 234, 0.78); }

.results-inner {
    position: relative;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.result-card {
    background: rgba(246, 242, 234, 0.05);
    border: 1px solid rgba(246, 242, 234, 0.12);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform 320ms var(--ease), background 320ms var(--ease);
}
.result-card:hover {
    transform: translateY(-3px);
    background: rgba(246, 242, 234, 0.08);
}
.result-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 0.4em;
    color: var(--c-cream);
    line-height: 1;
}
.result-label {
    font-size: 0.95rem;
    color: rgba(246, 242, 234, 0.86);
    margin-bottom: 0.8em;
}
.result-foot {
    font-size: 0.8rem;
    color: var(--c-sage-soft);
    margin: 0;
    font-style: italic;
}
.results-disclaimer {
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--c-sage-soft);
    text-align: center;
    font-style: italic;
}

/* Process */
.process {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-paper);
}
.process-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px; left: 6%; right: 6%;
    height: 1px;
    background: var(--c-sage-soft);
    z-index: 0;
}
.process-step {
    position: relative;
    padding: 0 12px;
    text-align: center;
    z-index: 1;
}
.process-step::before {
    content: '';
    display: block;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--c-paper);
    border: 2px solid var(--c-sage);
    margin: 28px auto 22px;
    transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.process-step:hover::before {
    background: var(--c-clay);
    border-color: var(--c-clay);
    transform: scale(1.15);
}
.process-tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c-clay);
    margin-bottom: 8px;
}
.process-step h3 {
    font-size: 1.15rem;
    margin: 0 0 0.5em;
}
.process-step p {
    font-size: 0.9rem;
    color: var(--c-ink-soft);
    margin: 0;
}

/* Testimonial */
.testimonial {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-cream);
    text-align: center;
}
.testimonial-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--c-clay);
    margin: 0 0 0.2em;
    font-style: italic;
}
.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.35;
    color: var(--c-ink);
    margin: 0 0 1.2em;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-style: italic;
}
.quote-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--c-ink-soft);
}
.quote-name { font-weight: 600; }
.quote-role { font-size: 0.88rem; color: var(--c-stone); }

/* FAQ */
.faq {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-paper);
}
.faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
.faq-grid .section-head {
    text-align: left;
    margin: 0;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-item {
    background: var(--c-cream);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 18px 22px;
    transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.faq-item[open] {
    border-color: var(--c-sage-soft);
    box-shadow: var(--shadow-1);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--c-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--c-clay);
    transition: transform 220ms var(--ease);
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    content: '–';
    transform: rotate(0deg);
}
.faq-item p {
    margin: 0.8em 0 0;
    color: var(--c-ink-soft);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* Contact form */
.contact {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--c-forest);
    color: var(--c-cream);
}
.contact-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
.contact-copy h2 { color: var(--c-cream); }
.contact-copy .eyebrow { color: var(--c-sage-soft); border-color: var(--c-sage); }
.contact-copy p { color: rgba(246, 242, 234, 0.86); }
.contact-points {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(246, 242, 234, 0.9);
    font-size: 0.95rem;
}
.contact-points .dot { background: var(--c-clay); }

.contact-form {
    background: var(--c-cream);
    color: var(--c-ink);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-shadow: var(--shadow-3);
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field-wide {
    grid-column: 1 / -1;
}
.field label {
    font-size: 0.82rem;
    color: var(--c-ink-soft);
    font-weight: 500;
}
.field input,
.field textarea {
    font-family: var(--font-body);
    font-size: 0.96rem;
    padding: 0.75em 0.9em;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--c-paper);
    color: var(--c-ink);
    transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-sage);
    background: var(--c-cream);
}
.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}
.contact-form .btn-primary {
    grid-column: 1 / -1;
    justify-self: start;
}
.contact-feedback {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-forest);
}
.contact-feedback.is-error { color: var(--c-warning); }

/* Footer */
.site-footer {
    background: var(--c-ink);
    color: rgba(246, 242, 234, 0.86);
    padding: 0;
}
.footer-cta-band {
    background: var(--c-cream);
    color: var(--c-ink);
    padding: 56px clamp(20px, 4vw, 40px);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid var(--c-sage-soft);
}
.footer-cta-band h2 {
    color: var(--c-ink);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 0.4em;
    font-weight: 400;
}
.footer-cta-band p {
    margin: 0;
    color: var(--c-ink-soft);
}
.footer-cta-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.footer-cta-actions .btn-ghost {
    color: var(--c-cream);
    border-color: rgba(246, 242, 234, 0.3);
}
.footer-cta-actions .btn-ghost:hover {
    background: var(--c-cream);
    color: var(--c-forest);
    border-color: var(--c-cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 0 40px;
}
.footer-col h4 {
    color: var(--c-cream);
    font-size: 0.78rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    margin-bottom: 1em;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}
.footer-col li a {
    color: rgba(246, 242, 234, 0.72);
    transition: color 180ms var(--ease);
}
.footer-col li a:hover { color: var(--c-clay-soft); }
.footer-blurb {
    font-size: 0.9rem;
    color: rgba(246, 242, 234, 0.7);
    max-width: 32ch;
    margin: 1em 0 0;
}
.footer-contact { font-size: 0.9rem; }
.footer-newsletter {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.footer-newsletter input {
    flex: 1;
    min-width: 0;
    padding: 0.6em 0.8em;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(246, 242, 234, 0.18);
    background: rgba(246, 242, 234, 0.06);
    color: var(--c-cream);
    font-family: var(--font-body);
    font-size: 0.88rem;
}
.footer-newsletter input::placeholder { color: rgba(246, 242, 234, 0.4); }
.footer-newsletter input:focus { outline: none; border-color: var(--c-clay); }
.footer-newsletter .btn-primary { background: var(--c-clay); color: var(--c-ink); }
.footer-newsletter .btn-primary:hover { background: var(--c-clay-soft); color: var(--c-ink); }
.footer-newsletter-feedback { flex: 1 0 100%; margin: 0; font-size: 0.82rem; color: var(--c-sage-soft); }

.footer-bar {
    border-top: 1px solid rgba(246, 242, 234, 0.08);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(246, 242, 234, 0.5);
}
.footer-bar p { margin: 0; }
.footer-bar ul {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-bar a { color: rgba(246, 242, 234, 0.6); }
.footer-bar a:hover { color: var(--c-clay-soft); }

/* Responsive */
@media (max-width: 960px) {
    .hero-inner,
    .approach-grid,
    .contact-inner,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .service-grid,
    .footer-grid,
    .footer-cta-band {
        grid-template-columns: 1fr 1fr;
    }
    .process-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .process-timeline::before { display: none; }
    .result-grid { grid-template-columns: 1fr 1fr; }
    .site-nav { display: none; }
    .site-nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        background: var(--c-paper);
        padding: 16px clamp(20px, 4vw, 40px);
        border-bottom: 1px solid var(--c-line);
        align-items: stretch;
        gap: 4px;
    }
    .site-nav.is-open .nav-link,
    .site-nav.is-open .nav-cta {
        padding: 12px 16px;
        text-align: left;
    }
    .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
    .service-grid,
    .result-grid,
    .footer-grid,
    .footer-cta-band,
    .process-timeline {
        grid-template-columns: 1fr;
    }
    .contact-form { grid-template-columns: 1fr; padding: 24px; }
    .header-inner { padding: 14px clamp(20px, 4vw, 40px); }
    .hero-card-inner { padding: 22px; }
    .brand-sub { display: none; }
}

/* ============== PAGE HERO (contact, thanks) ============== */
.page-hero {
    padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
    background: var(--c-sand);
    border-bottom: 1px solid var(--c-line);
}
.page-hero .eyebrow { color: var(--c-rust); }
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    max-width: 18ch;
    margin: 0 0 18px;
}
.page-lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.6;
    color: var(--c-ink-2);
    max-width: 60ch;
    margin: 0;
}

/* ============== FOOTER CONTACT CTA ============== */
.footer-contact-cta {
    display: inline-block;
    margin-top: 14px;
    color: var(--c-rust);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}
.footer-contact-cta:hover { border-bottom-color: var(--c-rust); }

/* ============== PRICING ============== */
.pricing {
    padding: clamp(70px, 9vw, 110px) 0;
    background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-cream) 100%);
    position: relative;
}

.pricing::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-line) 30%, var(--c-line) 70%, transparent);
}

.pricing-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 60px);
}

.pricing-head .lede { margin: 0 auto; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 2.5vw, 28px);
    max-width: 980px;
    margin: 0 auto;
}

.pricing-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1180px;
}

.pricing-card {
    position: relative;
    background: var(--c-cream-2);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3.5vw, 40px);
    box-shadow: var(--shadow-1);
    transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--c-sage-soft);
}

.pricing-card--featured {
    background: var(--c-forest);
    border-color: var(--c-forest);
    color: var(--c-cream);
    transform: translateY(-8px);
    box-shadow: var(--shadow-3);
}

.pricing-card--featured:hover {
    transform: translateY(-12px);
    border-color: var(--c-clay);
}

.pricing-flag {
    position: absolute;
    top: -14px;
    right: clamp(20px, 2.5vw, 32px);
    background: var(--c-clay);
    color: var(--c-cream);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-1);
}

.pricing-tier {
    margin-bottom: 18px;
}

.pricing-kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-sage);
    margin-bottom: 8px;
}

.pricing-card--featured .pricing-kicker { color: var(--c-clay-soft); }

.pricing-name {
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    font-weight: 500;
    margin: 0;
    color: inherit;
}

.pricing-pitch {
    color: var(--c-ink-soft);
    line-height: 1.6;
    margin: 0 0 28px;
    font-size: 0.98rem;
}

.pricing-card--featured .pricing-pitch { color: var(--c-sage-soft); }

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
    color: inherit;
}

.pricing-currency {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--c-clay);
    align-self: flex-start;
    margin-top: 0.5em;
}

.pricing-card--featured .pricing-currency { color: var(--c-clay-soft); }

.pricing-value {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 3.4rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-card--featured .pricing-value { color: var(--c-cream); }

.pricing-period {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--c-stone);
    font-weight: 500;
    margin-left: 4px;
}

.pricing-card--featured .pricing-period { color: var(--c-sage-soft); }

.pricing-fine {
    font-size: 0.85rem;
    color: var(--c-stone);
    margin: 0 0 28px;
    font-style: italic;
}

.pricing-card--featured .pricing-fine { color: var(--c-sage-soft); }

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.pricing-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-top: 1px solid var(--c-line-soft);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--c-ink-soft);
}

.pricing-card--featured .pricing-list li {
    border-color: rgba(250, 246, 238, 0.12);
    color: var(--c-cream);
}

.pricing-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--c-sage);
    font-weight: 600;
    width: 18px;
    text-align: center;
}

.pricing-card--featured .pricing-list li::before { color: var(--c-clay-soft); }

.pricing-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pricing-card--featured .pricing-cta {
    background: var(--c-clay);
    color: var(--c-cream);
    border-color: var(--c-clay);
}

.pricing-card--featured .pricing-cta:hover {
    background: var(--c-clay-soft);
    color: var(--c-forest);
    border-color: var(--c-clay-soft);
}

.pricing-foot {
    text-align: center;
    max-width: 680px;
    margin: clamp(36px, 4.5vw, 48px) auto 0;
    color: var(--c-stone);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
    .pricing-card--featured { transform: none; }
    .pricing-card--featured:hover { transform: translateY(-4px); }
}
