/* ============ DESIGN TOKENS ============ */
:root {
    --bg:           #ffffff;
    --bg-alt:       #f6f7fb;
    --bg-dark:      #0f172a;
    --text:         #0f172a;
    --text-soft:    #475569;
    --text-mute:    #94a3b8;
    --text-light:   #e2e8f0;
    --accent:       #2563eb;
    --accent-soft:  #dbeafe;
    --accent-deep:  #1e40af;
    --border:       #e5e7eb;
    --border-soft:  #eef0f4;
    --radius:       14px;
    --radius-sm:    8px;
    --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:       0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg:    0 12px 40px rgba(15, 23, 42, 0.10);
    --maxw:         1120px;
    --maxw-narrow:  760px;
}

/* ============ RESET ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

p { margin: 0; }

/* ============ LAYOUT ============ */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.container.narrow { max-width: var(--maxw-narrow); }
.container.center { text-align: center; }

.section {
    padding: 112px 0;
    border-top: 1px solid var(--border-soft);
}

.section-alt { background: var(--bg-alt); }

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-dark .section-title,
.section-dark .section-lead,
.section-dark .section-eyebrow.light,
.section-dark .section-note.light { color: var(--text-light); }

/* ============ NAV ============ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}

.logo-mark {
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    margin-right: 2px;
}

.logo-word { color: var(--text); }

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 15px;
}

.nav-links a {
    color: var(--text-soft);
    transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: var(--text);
    color: white !important;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

/* ============ HERO ============ */
.hero {
    padding: 140px 0 120px;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
        var(--bg);
    text-align: center;
}

.eyebrow,
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-eyebrow.light { color: #93c5fd; }

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 19px;
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--text);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--text);
    transform: translateY(-1px);
}

/* ============ SECTION HEADINGS ============ */
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px;
    max-width: 760px;
}

.section-lead {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 680px;
    margin-bottom: 56px;
}

.section-note {
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-mute);
}

.container.center .section-title,
.container.center .section-lead { margin-left: auto; margin-right: auto; }

/* ============ CARDS ============ */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-alt .card { background: white; }

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.6;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.card-meta {
    margin-top: 14px;
    font-size: 13px !important;
    color: var(--text-mute) !important;
    font-weight: 500;
}

/* ============ STEPS ============ */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step {
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--text);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 15px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-soft);
    font-size: 15px;
}

/* ============ STATS DASHBOARD ============ */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.stat:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: #94a3b8;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ============ ABOUT ============ */
.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: center;
}

.about-photo {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--text-mute);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.about-text {
    color: var(--text-soft);
    margin-bottom: 16px;
    font-size: 16.5px;
}

/* ============ PRICING ============ */
.pricing-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 28px;
    box-shadow: var(--shadow);
    margin-top: 16px;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-soft);
    gap: 16px;
}

.pricing-row:last-child { border-bottom: 0; }

.pricing-label {
    font-weight: 500;
    color: var(--text);
}

.pricing-value {
    color: var(--text-soft);
    font-size: 15px;
    text-align: right;
}

/* ============ CONTACT ============ */
.intake-form {
    margin-top: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.field-opt {
    font-weight: 400;
    color: var(--text-mute);
}

.field input,
.field textarea {
    font-family: inherit;
    font-size: 15.5px;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea { resize: vertical; min-height: 120px; }

/* honeypot field, hidden from real users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-submit {
    align-self: flex-start;
    border: none;
    margin-top: 4px;
}

.form-status {
    font-size: 14.5px;
    margin: 0;
    min-height: 1em;
}

.form-status.is-success { color: var(--accent-deep); font-weight: 500; }
.form-status.is-error { color: #b91c1c; font-weight: 500; }

.or-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0 22px;
    color: var(--text-mute);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.or-divider::before,
.or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.book-btn {
    display: inline-block;
    text-align: center;
}

.contact-alt {
    margin-top: 22px;
    font-size: 14.5px;
    color: var(--text-soft);
}

.contact-alt a {
    color: var(--accent);
    font-weight: 500;
}

.contact-alt a:hover { text-decoration: underline; }

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .form-submit { align-self: stretch; text-align: center; }
}

/* ============ FOOTER ============ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-soft);
    background: var(--bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-meta {
    color: var(--text-mute);
    font-size: 13px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .cards-3,
    .stats {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section { padding: 80px 0; }

    .hero { padding: 96px 0 80px; }

    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .nav-links a:not(.nav-cta) { display: none; }
}
