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

:root {
    --navy: #0f1f3d;
    --navy-light: #1a2d4f;
    --navy-dark: #091428;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-pale: #f5ecd3;
    --cream: #faf8f4;
    --cream-dark: #f2ede4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(15, 31, 61, 0.06);
    --shadow-md: 0 8px 30px rgba(15, 31, 61, 0.1);
    --shadow-lg: 0 16px 50px rgba(15, 31, 61, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--navy);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

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

.btn--outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

/* ===== Section Shared ===== */
.section__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.section__divider {
    margin: 20px 0 28px;
    color: var(--gold);
}

.section__header--centered {
    text-align: center;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0);
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 31, 61, 0.08);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: color var(--transition);
}

.header.scrolled .header__logo {
    color: var(--navy);
}

.header__logo-icon {
    flex-shrink: 0;
}

.header__logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    position: relative;
}

.header.scrolled .header__nav-link {
    color: var(--text-medium);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

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

.header__nav-link:hover {
    color: var(--gold);
}

.header.scrolled .header__nav-link:hover {
    color: var(--gold);
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gold);
    padding: 8px 16px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    transition: all var(--transition);
}

.header__cta:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.header.scrolled .header__cta {
    color: var(--gold);
    border-color: var(--gold);
}

/* Mobile menu button */
.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.header__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.header.scrolled .header__menu-btn span {
    background: var(--navy);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9, 20, 40, 0.72) 0%,
        rgba(15, 31, 61, 0.65) 50%,
        rgba(9, 20, 40, 0.80) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
    text-align: center;
}

.hero__eyebrow {
    color: var(--gold);
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero__headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1.2s;
}

.hero__scroll svg {
    animation: bounce 2s infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(15, 31, 61, 0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-pale);
}

.service-card__icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.75;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

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

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
}

.about__content {
    padding: 16px 0;
}

.about__text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-dark);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== Patient Care ===== */
.patient-care {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.patient-care::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.patient-care::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.06);
}

.patient-care .section__eyebrow {
    color: var(--gold);
}

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

.patient-care .section__subtitle {
    color: rgba(255,255,255,0.65);
}

.patient-care .section__divider {
    color: var(--gold);
    margin: 20px auto 28px;
}

.patient-care__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.care-step {
    text-align: center;
    padding: 32px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--transition);
}

.care-step:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.care-step__number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.care-step h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 10px;
}

.care-step p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 31, 61, 0.04);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-pale);
}

.testimonial-card__quote {
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 20px;
}

.testimonial-card__author {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 32px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail__icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-detail__value {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-detail__value--link {
    color: var(--navy);
    font-weight: 500;
}

.contact-detail__value--link:hover {
    color: var(--gold);
}

/* Contact Form */
.contact__form-wrap {
    background: var(--cream);
    border-radius: 8px;
    padding: 40px;
    border: 1px solid var(--cream-dark);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--navy);
}

.form-group {
    margin-bottom: 20px;
}

.form-group__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group__input,
.form-group__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: border-color var(--transition);
    outline: none;
}

.form-group__input:focus,
.form-group__textarea:focus {
    border-color: var(--gold);
}

.form-group__textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #e8f5e9;
    border-radius: 4px;
    color: #2e7d32;
    font-size: 0.9375rem;
    margin-top: 16px;
}

.form-success svg {
    flex-shrink: 0;
}

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

/* ===== Map Section ===== */
.map-section {
    position: relative;
    height: 300px;
}

.map-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9, 20, 40, 0.85), rgba(9, 20, 40, 0.5));
    display: flex;
    align-items: center;
}

.map-section__content {
    max-width: 480px;
}

.map-section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 12px;
}

.map-section__text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-dark);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

.footer__logo svg {
    color: var(--gold);
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

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

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--gold);
    font-weight: 500;
}

.footer__phone:hover {
    color: var(--gold-light);
}

.footer__contact p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--white);
    padding: 12px 24px;
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--gold);
}

.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 28px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all var(--transition);
}

.mobile-menu__cta:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .patient-care__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about__inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }
    .header__menu-btn {
        display: flex;
    }
    .header__inner {
        padding: 16px 20px;
    }
    .hero {
        min-height: 600px;
    }
    .hero__headline {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .services__grid {
        grid-template-columns: 1fr;
    }
    .about__inner {
        grid-template-columns: 1fr;
    }
    .about__image img {
        height: 350px;
    }
    .about__image-accent {
        top: -12px;
        right: -12px;
        width: 80px;
        height: 80px;
    }
    .about__stats {
        gap: 24px;
    }
    .patient-care__grid {
        grid-template-columns: 1fr;
    }
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact__form-wrap {
        padding: 28px;
    }
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .map-section {
        height: 240px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    .container {
        padding: 0 16px;
    }
    .services,
    .about,
    .patient-care,
    .testimonials,
    .contact {
        padding: 72px 0;
    }
    .about__stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat {
        flex: 0 0 calc(50% - 10px);
    }
}
