/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a2e23;
    background-color: #faf8f4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1a3c2a;
    color: #faf8f4;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
    --green-950: #0d1f16;
    --green-900: #1a3c2a;
    --green-800: #1e4d35;
    --green-700: #256b47;
    --green-600: #2d8a5e;
    --green-500: #3a9b6e;
    --green-100: #d1e8d8;
    --green-50:  #eaf5ec;
    --cream:     #faf8f4;
    --cream-dark:#f0ece4;
    --warm-gray: #6b6560;
    --dark:      #1a1917;
    --white:     #ffffff;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(26, 60, 42, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 60, 42, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 60, 42, 0.12);
}

/* ===== UTILITY ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: var(--space-md);
}

.section__eyebrow--light {
    color: var(--green-100);
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: inherit;
    margin-bottom: var(--space-lg);
}

.section__title--light {
    color: var(--white);
}

.section__accent,
.hero__accent,
.section__accent,
.info-card__title {
    font-style: italic;
    font-weight: 400;
}

.section__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 560px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--green-900);
}

.nav__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--green-900);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
}

.nav__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav__logo-primary {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
}

.nav__logo-secondary {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--warm-gray);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__links a:not(.nav__cta) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-900);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.nav__links a:not(.nav__cta)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green-700);
    transition: width 0.3s ease;
}

.nav__links a:not(.nav__cta):hover {
    color: var(--green-700);
}

.nav__links a:not(.nav__cta):hover::after {
    width: 100%;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green-900);
    color: var(--white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
    background: var(--green-800);
    transform: translateY(-1px);
}

.nav__cta-icon {
    display: flex;
    align-items: center;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-900);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--cream);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
}

.hero__content {
    max-width: 540px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__eyebrow::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--green-700);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--green-900);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero__accent {
    color: var(--green-700);
}

.hero__subhead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--warm-gray);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(26, 60, 42, 0.1);
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero__trust-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.hero__trust-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green-900);
}

.hero__trust-link {
    color: var(--green-700);
    text-decoration: none;
    transition: color 0.2s;
}

.hero__trust-link:hover {
    color: var(--green-900);
    text-decoration: underline;
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(26, 60, 42, 0.15);
}

.hero__image {
    position: relative;
}

.hero__image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--green-100);
    border-radius: var(--radius-md);
    z-index: -1;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn__arrow {
    transition: transform 0.25s ease;
    font-size: 1.1em;
}

.btn:hover .btn__arrow {
    transform: translate(4px, 0);
}

.btn--primary {
    background: var(--green-900);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: transparent;
    color: var(--green-900);
    border: 1.5px solid rgba(26, 60, 42, 0.25);
}

.btn--ghost:hover {
    border-color: var(--green-900);
    background: rgba(26, 60, 42, 0.04);
}

.btn--light {
    background: var(--white);
    color: var(--green-900);
}

.btn--light:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== SERVICES ===== */
.services {
    padding: var(--space-5xl) 0;
    background: var(--cream);
}

.services__header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.services__header .section__subtitle {
    margin: 0 auto;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    border: 1px solid rgba(26, 60, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: var(--space-lg);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: var(--space-sm);
}

.service-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* ===== ABOUT ===== */
.about {
    padding: var(--space-5xl) 0;
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about__image-col {
    position: relative;
}

.about__image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__image-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 80px;
    height: 80px;
    background: var(--green-100);
    border-radius: var(--radius-sm);
    z-index: -1;
}

.about__content {
    max-width: 520px;
}

.about__body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--warm-gray);
    margin-bottom: var(--space-lg);
}

.about__values {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about__value {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--space-md);
}

.about__value-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-100);
    line-height: 1;
    padding-top: 0.25rem;
}

.about__value-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 0.25rem;
}

.about__value-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--warm-gray);
}

/* ===== PATIENT INFO ===== */
.patient-info {
    padding: var(--space-5xl) 0;
    background: var(--cream);
}

.patient-info__header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.patient-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    border: 1px solid rgba(26, 60, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card--accent {
    background: var(--green-900);
    border-color: transparent;
}

.info-card--accent .info-card__icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--green-100);
}

.info-card--accent .info-card__title {
    color: var(--white);
}

.info-card--accent .info-card__desc {
    color: rgba(255, 255, 255, 0.75);
}

.info-card--accent .info-card__phone {
    color: var(--green-100);
}

.info-card__icon {
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: var(--space-lg);
}

.info-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: var(--space-md);
}

.info-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-card__list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.9375rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(26, 60, 42, 0.06);
}

.info-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-card__day {
    color: var(--green-900);
    font-weight: 500;
}

.info-card__time {
    color: var(--warm-gray);
}

.info-card__address {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--green-900);
    margin-bottom: var(--space-sm);
}

.info-card__address a {
    color: var(--green-900);
    text-decoration: none;
    transition: color 0.2s;
}

.info-card__address a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

.info-card__note {
    font-size: 0.8125rem;
    color: var(--warm-gray);
}

.info-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

.info-card__phone {
    font-weight: 600;
    color: var(--green-700);
    text-decoration: none;
    transition: color 0.2s;
}

.info-card__phone:hover {
    color: var(--green-900);
    text-decoration: underline;
}

/* ===== CTA ===== */
.cta {
    padding: var(--space-5xl) 0;
    background: var(--green-900);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 155, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3xl);
}

.cta__text {
    flex: 1;
    max-width: 520px;
}

.cta__desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer__logo-mark {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
}

.footer__logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__label {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-lg);
}

.footer__contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__contact a:hover {
    color: var(--white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__grid {
        gap: var(--space-2xl);
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__grid {
        gap: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }
    
    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-2xl);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    }
    
    .nav__links.open {
        transform: translateX(0);
    }
    
    .nav__links a:not(.nav__cta) {
        font-size: 1.125rem;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-3xl);
    }
    
    .hero__content {
        max-width: 100%;
        order: 1;
    }
    
    .hero__image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero__headline {
        font-size: clamp(2.25rem, 8vw, 3.25rem);
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
    }
    
    .about__image-col {
        max-width: 480px;
    }
    
    .about__image-secondary {
        right: -10px;
        bottom: -20px;
    }
    
    .patient-info__grid {
        grid-template-columns: 1fr;
    }
    
    .cta__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta__text {
        max-width: 100%;
    }
    
    .cta__actions {
        justify-content: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .hero__trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .hero__trust-divider {
        display: none;
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .cta__actions {
        flex-direction: column;
        width: 100%;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
