/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a3a2a;
    background-color: #FBF9F4;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ─── Typography ─── */
.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #059669;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.2;
    color: #064e3b;
    margin-bottom: 1.5rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-emerald {
    background-color: #064e3b;
    color: #FBF9F4;
    border-color: #064e3b;
}

.btn-emerald:hover {
    background-color: #052e16;
    border-color: #052e16;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(6, 78, 59, 0.25);
}

.btn-white {
    background-color: #ffffff;
    color: #064e3b;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-white:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-ghost-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(251, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav-brand {
    display: block;
    line-height: 1.1;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3a2a;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #059669;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #059669;
}

.nav-link:hover::after {
    width: 100%;
}

/* ─── Mobile Menu ─── */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #064e3b;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 44, 34, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background-color: #FBF9F4;
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1a3a2a;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu-link:hover {
    color: #059669;
    padding-left: 0.5rem;
}

.mobile-menu-divider {
    height: 1px;
    background-color: rgba(6, 78, 59, 0.15);
    margin: 0.5rem 0;
}

.mobile-menu-phone {
    color: #059669;
    font-weight: 500;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(
        135deg,
        #022c22 0%,
        #064e3b 25%,
        #059669 55%,
        #10b981 75%,
        #34d399 100%
    );
    overflow: hidden;
    padding: 8rem 1.5rem 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(2, 44, 34, 0.4) 0%,
        transparent 60%
    ),
    radial-gradient(
        ellipse at 70% 30%,
        rgba(16, 185, 129, 0.3) 0%,
        transparent 50%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(251, 249, 244, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(251, 249, 244, 0.6);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.hero-title .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(251, 249, 244, 0.75);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(251, 249, 244, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Intro Strip ─── */
.intro-strip {
    background-color: #064e3b;
    padding: 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.intro-item {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(251, 249, 244, 0.08);
}

.intro-item:last-child {
    border-right: none;
}

.intro-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(251, 249, 244, 0.35);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(251, 249, 244, 0.8);
    max-width: 320px;
    margin: 0 auto;
}

/* ─── About ─── */
.about {
    padding: 8rem 0;
    background-color: #FBF9F4;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-left {
    position: sticky;
    top: 8rem;
    align-self: start;
}

.about-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-image {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 1.25rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(6, 78, 59, 0.12);
}

.about-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: #1a3a2a;
}

.about-value svg {
    color: #059669;
    flex-shrink: 0;
}

/* ─── Services ─── */
.services {
    padding: 8rem 0;
    background-color: #F7F3EB;
}

.services-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.services-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: #FBF9F4;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 2px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: rgba(6, 78, 59, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(6, 78, 59, 0.06);
    margin-bottom: 1.5rem;
    color: #059669;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #064e3b;
    color: #FBF9F4;
}

.service-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: #064e3b;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #6b7280;
}

/* ─── Patients ─── */
.patients {
    padding: 8rem 0;
    background-color: #FBF9F4;
}

.patients-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.patients-content {
    order: 1;
}

.patients-image {
    order: 2;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

.patients-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patients-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.patient-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
}

.patient-row:first-child {
    padding-top: 0;
}

.patient-row-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #064e3b;
    align-self: start;
    padding-top: 0.15rem;
}

.patient-row-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

/* ─── Contact ─── */
.contact {
    padding: 8rem 0;
    background-color: #F7F3EB;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail svg {
    color: #059669;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: #1a3a2a;
    line-height: 1.6;
}

/* ─── Contact Form ─── */
.contact-form-wrapper {
    background-color: #FBF9F4;
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 2px;
    padding: 2.5rem;
}

.contact-form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #064e3b;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #1a3a2a;
    background-color: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.15);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 1rem;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.form-success.visible {
    display: flex;
}

.form-success svg {
    color: #059669;
}

.form-success-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #064e3b;
}

.form-success-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 320px;
}

/* ─── Footer ─── */
.footer {
    background-color: #022c22;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(251, 249, 244, 0.08);
    margin-bottom: 2rem;
}

.footer-brand {
    line-height: 1.1;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(251, 249, 244, 0.5);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: rgba(251, 249, 244, 0.9);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(251, 249, 244, 0.35);
}

.footer-address {
    font-size: 0.8rem;
    color: rgba(251, 249, 244, 0.35);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .about-layout,
    .patients-layout,
    .contact-layout {
        gap: 3rem;
    }
}

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

    .intro-item {
        border-right: none;
        border-bottom: 1px solid rgba(251, 249, 244, 0.08);
        padding: 2rem 1.5rem;
    }

    .intro-item:last-child {
        border-bottom: none;
    }

    .about-layout,
    .patients-layout {
        grid-template-columns: 1fr;
    }

    .about-left {
        position: static;
    }

    .patients-content {
        order: 2;
    }

    .patients-image {
        order: 1;
        aspect-ratio: 4/3;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .patients-list {
        order: 1;
    }

    .patient-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1.25rem 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about,
    .services,
    .patients,
    .contact {
        padding: 5rem 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem 1.5rem;
    }
}
