/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1b3626;
    background: #fcfdfb;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ─── FOCUS ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: .5rem 1rem;
    background: #2d5a3d;
    color: #f0f5f1;
    font-size: .875rem;
    z-index: 200;
    border-radius: 0 0 .5rem .5rem;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid #3d7a43; outline-offset: 2px; border-radius: 2px; }

/* ─── TYPOGRAPHY ─── */
body-lg { font-size: 1.125rem; line-height: 1.75; }
.body { font-size: 1rem; line-height: 1.75; }
.body--muted { color: #5a7d65; }
.body-sm { font-size: .9375rem; line-height: 1.65; }
.body--muted-light { color: #a3c4a8; }

/* ─── SECTION TAG ─── */
.section-tag {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #3d7a43;
    margin-bottom: .75rem;
}
.section-tag--light { color: #a3c4a8; }

/* ─── SECTION TITLE ─── */
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    color: #1b3626;
}
.section-title--light { color: #f0f5f1; }

/* ─── SECTION SPACING ─── */
.section { padding: 6rem 0; }
.section--light { background: #fcfdfb; }
.section--cream { background: #f8faf6; }
.section--forest { background: #2d5a3d; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94);
}
.reveal[data-revealed="false"] {
    opacity: 0;
    transform: translateY(24px);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
}

/* ─── NAVBAR ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(252, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.08);
    transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(45, 90, 61, 0.08); }
.site-header .mx-auto { padding-top: 1rem; padding-bottom: 1rem; }

.nav-logo { display: flex; flex-direction: column; align-items: flex-start; }
.nav-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    border-radius: 4px;
    transition: background .2s;
}
.nav-menu-btn:hover { background: rgba(45, 90, 61, 0.06); }
.nav-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #2d5a3d;
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s;
    transform-origin: center;
}
.nav-menu-btn[aria-expanded="true"] .nav-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] .nav-line:nth-child(2) { opacity: 0; }
.nav-menu-btn[aria-expanded="true"] .nav-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
    border-top: 1px solid transparent;
}
.mobile-menu.open {
    max-height: 400px;
    border-top-color: rgba(45, 90, 61, 0.08);
}
.mobile-menu-link {
    display: block;
    padding: .75rem 1.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: #1b3626;
    transition: color .2s;
}
.mobile-menu-link:hover { color: #3d7a43; }

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(160deg, #13261c 0%, #1b3626 30%, #2d5a3d 60%, #3d7a43 85%, #5e9d62 100%);
    overflow: hidden;
}
.hero-grain {
    position: absolute;
    inset: 0;
    opacity: .035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2rem;
}
.hero-label-line {
    display: block;
    width: 32px;
    height: 1px;
    background: rgba(163, 196, 168, 0.5);
}
.hero-title { margin-bottom: 1.5rem; }
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    line-height: 1.8;
    color: #a3c4a8;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 1.75rem;
    background: #f0f5f1;
    color: #1b3626;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .04em;
    border-radius: 100px;
    transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-arrow { transition: transform .2s; }
.btn-primary:hover .btn-arrow { transform: translate(3px, -3px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 1.75rem;
    background: transparent;
    color: #dce8df;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .04em;
    border: 1px solid rgba(220, 232, 223, 0.3);
    border-radius: 100px;
    transition: border-color .25s, background .25s, transform .2s;
}
.btn-secondary:hover { border-color: rgba(220, 232, 223, 0.7); background: rgba(255,255,255,.06); transform: translateY(-1px); }
.btn-phone { opacity: .8; }

.hero-meta {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.hero-meta-item { text-align: center; }
.hero-meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(163, 196, 168, 0.3);
}

/* ─── SERVICE CARDS ─── */
.service-card { background: #f8faf6; transition: background .25s; }
.service-card:hover .service-card-inner { background: #fff; }
.service-card-inner {
    padding: 2rem;
    height: 100%;
    transition: background .25s;
}
.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3d7a43;
    margin-bottom: 1.25rem;
}
.service-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1b3626;
    margin-bottom: .5rem;
}

/* ─── APPROACH CARDS ─── */
.approach-card {
    padding: 2.5rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 2px;
    transition: background .25s, border-color .25s;
}
.approach-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.approach-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(163, 196, 168, 0.4);
    line-height: 1;
    margin-bottom: 1rem;
}
.approach-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f0f5f1;
    margin-bottom: .75rem;
}

/* ─── PATIENT INFO ─── */
.patient-info-item { padding-bottom: 1rem; border-bottom: 1px solid rgba(45, 90, 61, 0.1); }
.patient-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.patient-info-label {
    display: block;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #3d7a43;
    margin-bottom: .25rem;
}

/* ─── CONTACT ─── */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 90, 61, 0.2);
    border-radius: 50%;
    color: #2d5a3d;
    margin-top: .125rem;
}
.contact-item-label {
    display: block;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #3d7a43;
    margin-bottom: .25rem;
}
.contact-item-value {
    font-size: 1rem;
    font-weight: 400;
    color: #1b3626;
    line-height: 1.6;
}
.contact-item-value:hover { color: #3d7a43; }

/* ─── CONTACT FORM ─── */
.contact-form {
    background: #fff;
    border: 1px solid rgba(45, 90, 61, 0.1);
    border-radius: 4px;
    padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2d5a3d;
    margin-bottom: .375rem;
}
.form-input {
    width: 100%;
    padding: .75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    font-weight: 300;
    color: #1b3626;
    background: #f8faf6;
    border: 1px solid rgba(45, 90, 61, 0.15);
    border-radius: 4px;
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.form-input::placeholder { color: #a3b8a8; }
.form-input:focus { outline: none; border-color: #3d7a43; background: #fff; box-shadow: 0 0 0 3px rgba(61, 122, 67, 0.08); }
.form-input:invalid:not(:placeholder-shown) { border-color: #c0392b; }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    background: #2d5a3d;
    color: #f0f5f1;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .06em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background .25s, transform .15s;
}
.btn-submit:hover { background: #234731; }
.btn-submit:active { transform: scale(.99); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.btn-submit-loader { display: none; }
.btn-submit.loading .btn-submit-text { display: none; }
.btn-submit.loading .btn-submit-loader { display: flex; align-items: center; justify-content: center; }

.form-success, .form-error {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 1rem;
    border-radius: 4px;
    font-size: .875rem;
    margin-top: 1rem;
}
.form-success { background: #f0f5f1; color: #1b3626; border: 1px solid #dce8df; }
.form-error { background: #fdf2f2; color: #7d2b2b; border: 1px solid #f5d5d5; }

/* ─── FOOTER ─── */
.footer {
    background: #13261c;
    padding: 4rem 0 2rem;
}
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-link {
    font-size: .8125rem;
    font-weight: 300;
    color: #5a7d65;
    transition: color .2s;
}
.footer-link:hover { color: #a3c4a8; }
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-top: 2rem;
}
.footer-bottom a { color: #5a7d65; }

/* ─── RESPONSIVE ─── */
@media (min-width: 640px) {
    .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
    .section { padding: 4rem 0; }
    .hero { padding: 7rem 1.25rem 3rem; }
    .hero-meta { flex-direction: column; gap: 1rem; }
    .hero-meta-divider { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
}
