/* ===== 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', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a2332;
    background: #ffffff;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ===== Utility ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: #0A2342; color: #fff; padding: .75rem 1.5rem;
    border-radius: 0 0 8px 8px; z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== Typography ===== */
.section-eyebrow {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1B998B;
    margin-bottom: .75rem;
}
.section-eyebrow-light { color: #34D4B5; }
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0A2342;
    margin-bottom: 1rem;
}
.section-title-light { color: #ffffff; }
.section-subtitle {
    font-size: 1.125rem;
    color: #4A5568;
    max-width: 640px;
    line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 600; border-radius: 8px;
    padding: .875rem 1.75rem;
    font-size: .9375rem;
    transition: background .2s, color .2s, transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: #1B998B; color: #ffffff;
    box-shadow: 0 4px 14px rgba(27,153,139,.35);
}
.btn-primary:hover { background: #168074; box-shadow: 0 6px 20px rgba(27,153,139,.45); }
.btn-outline-primary {
    background: transparent; color: #0A2342;
    border: 2px solid #0A2342;
}
.btn-outline-primary:hover { background: #0A2342; color: #fff; }
.btn-outline-light {
    background: transparent; color: #ffffff;
    border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover { background: #ffffff; color: #0A2342; border-color: #fff; }
.btn-light {
    background: #ffffff; color: #0A2342;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.btn-light:hover { background: #f0faf8; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10,35,66,.08);
    box-shadow: 0 1px 8px rgba(10,35,66,.06);
}
.header-inner {
    display: flex; align-items: center;
    padding-top: 1rem; padding-bottom: 1rem;
    gap: 1rem;
}
.logo {
    display: flex; align-items: center; gap: .625rem;
    flex-shrink: 0;
}
.logo-icon { color: #1B998B; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 700; font-size: 1rem; color: #0A2342; letter-spacing: -.01em; }
.logo-tagline { font-size: .6875rem; color: #4A5568; letter-spacing: .02em; }
.logo-light .logo-name { color: #ffffff; }
.logo-light .logo-tagline { color: rgba(255,255,255,.7); }
.logo-light .logo-icon { color: #34D4B5; }

.main-nav {
    display: flex; align-items: center;
    margin-left: auto; gap: .25rem;
}
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list a {
    padding: .5rem 1rem; border-radius: 6px;
    font-size: .9375rem; font-weight: 500;
    color: #4A5568; transition: color .15s, background .15s;
}
.nav-list a:hover { color: #0A2342; background: rgba(10,35,66,.05); }
.nav-cta {
    margin-left: .75rem;
    padding: .625rem 1.25rem;
    font-size: .875rem;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column; justify-content: center;
    width: 44px; height: 44px;
    margin-left: auto; border-radius: 8px;
    transition: background .15s;
}
.mobile-menu-btn:hover { background: rgba(10,35,66,.05); }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 22px; height: 2px;
    background: #0A2342; border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.hamburger { position: relative; margin: 0 auto; }
.hamburger::before { content: ''; position: absolute; top: -7px; left: 0; }
.hamburger::after { content: ''; position: absolute; top: 7px; left: 0; }
.mobile-menu-btn[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-menu-btn[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: #0A2342;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .35;
}
.hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,35,66,.92) 0%, rgba(10,35,66,.75) 50%, rgba(27,153,139,.4) 100%);
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(52,212,181,.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 1;
    padding: 6rem 1.5rem;
    max-width: 780px;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8125rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: #34D4B5; margin-bottom: 1.25rem;
    background: rgba(52,212,181,.12);
    padding: .5rem 1rem; border-radius: 100px;
    border: 1px solid rgba(52,212,181,.25);
}
.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700; line-height: 1.15;
    color: #ffffff; margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255,255,255,.8);
    line-height: 1.7; max-width: 600px;
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .8125rem; font-weight: 500;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    padding: .5rem 1rem; border-radius: 100px;
    backdrop-filter: blur(4px);
}

/* ===== Services ===== */
.services { padding: 6rem 0; background: #F7FAFC; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: #ffffff;
    border: 1px solid rgba(10,35,66,.07);
    border-radius: 12px;
    padding: 2rem;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10,35,66,.1);
    border-color: rgba(27,153,139,.25);
}
.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #E6FAF7, #D1F2EB);
    border-radius: 12px; margin-bottom: 1.25rem;
    color: #1B998B;
}
.service-card h3 {
    font-size: 1.125rem; font-weight: 700;
    color: #0A2342; margin-bottom: .625rem;
}
.service-card p { font-size: .9375rem; color: #4A5568; line-height: 1.65; }

/* ===== About ===== */
.about { padding: 6rem 0; background: #ffffff; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
    width: 100%; height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(10,35,66,.15);
    display: block;
}
.about-image-accent {
    position: absolute; bottom: -24px; right: -24px;
    width: 200px; height: 200px;
    background: linear-gradient(135deg, #1B998B, #34D4B5);
    border-radius: 16px; z-index: -1;
    opacity: .2;
}
.about-content .section-title { margin-top: .25rem; }
.about-body {
    font-size: 1.0625rem; color: #4A5568;
    line-height: 1.75; margin-bottom: 1.25rem;
}
.about-values { margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem .75rem; }
.value-item {
    display: flex; align-items: center; gap: .625rem;
    font-size: .9375rem; font-weight: 500; color: #0A2342;
}
.value-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #E6FAF7; border-radius: 8px;
    color: #1B998B; flex-shrink: 0;
}
.about-content .btn { margin-top: .5rem; }

/* ===== Patient Info ===== */
.patient-info { padding: 6rem 0; background: #F7FAFC; }
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.info-card {
    background: #ffffff;
    border: 1px solid rgba(10,35,66,.07);
    border-radius: 12px;
    padding: 2.25rem;
    transition: transform .25s, box-shadow .25s;
}
.info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,35,66,.08); }
.info-card-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0A2342, #1A3A5C);
    border-radius: 12px; margin-bottom: 1.25rem;
    color: #34D4B5;
}
.info-card h3 {
    font-size: 1.125rem; font-weight: 700;
    color: #0A2342; margin-bottom: 1rem;
}
.hours-list li {
    display: flex; justify-content: space-between;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(10,35,66,.06);
    font-size: .9375rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list span:first-child { color: #4A5568; }
.hours-list span:last-child { font-weight: 600; color: #0A2342; }
.location {
    font-style: normal;
    font-size: 1.0625rem; font-weight: 600;
    color: #0A2342; line-height: 1.6;
    margin-bottom: .5rem;
}
.location-note { font-size: .875rem; color: #4A5568; }
.info-body { font-size: .9375rem; color: #4A5568; line-height: 1.7; }
.info-body a { color: #1B998B; font-weight: 600; }
.info-body a:hover { text-decoration: underline; }

/* ===== CTA ===== */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: #0A2342;
}
.cta-bg { position: absolute; inset: 0; }
.cta-img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,35,66,.95) 0%, rgba(10,35,66,.8) 100%);
}
.cta-content {
    position: relative; z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-text {
    font-size: 1.125rem; color: rgba(255,255,255,.8);
    line-height: 1.7; margin-bottom: 2.5rem;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ===== Contact ===== */
.contact { padding: 6rem 0; background: #ffffff; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.contact-intro {
    font-size: 1.0625rem; color: #4A5568;
    line-height: 1.7; 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-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: #E6FAF7; border-radius: 10px;
    color: #1B998B; flex-shrink: 0;
}
.contact-detail strong {
    display: block; font-size: .8125rem;
    text-transform: uppercase; letter-spacing: .06em;
    color: #4A5568; margin-bottom: .25rem;
}
.contact-detail a, .contact-detail span {
    font-size: 1rem; color: #0A2342; font-weight: 600;
}
.contact-detail a:hover { color: #1B998B; }

/* Form */
.contact-form-wrap {
    background: #F7FAFC;
    border: 1px solid rgba(10,35,66,.07);
    border-radius: 16px;
    padding: 2.5rem;
}
.contact-form h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem; font-weight: 700;
    color: #0A2342; margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .875rem; font-weight: 600;
    color: #0A2342; margin-bottom: .375rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: .875rem 1rem;
    border: 1.5px solid rgba(10,35,66,.15);
    border-radius: 8px;
    background: #ffffff;
    color: #0A2342;
    font-size: .9375rem;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #1B998B;
    box-shadow: 0 0 0 3px rgba(27,153,139,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #A0AEC0; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice {
    font-size: .8125rem; color: #4A5568;
    margin-top: 1rem; text-align: center;
}
.form-success {
    text-align: center; padding: 2rem;
}
.form-success .success-icon { color: #1B998B; margin-bottom: 1rem; }
.form-success h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem; color: #0A2342; margin-bottom: .75rem;
}
.form-success p { color: #4A5568; margin-bottom: 1.5rem; }

/* ===== Footer ===== */
.site-footer {
    background: #0A2342;
    color: rgba(255,255,255,.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-desc { font-size: .9375rem; line-height: 1.7; margin-top: 1rem; max-width: 300px; }
.footer-links h4, .footer-contact h4 {
    font-size: .8125rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: #34D4B5; margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
    font-size: .9375rem; color: rgba(255,255,255,.65);
    transition: color .15s;
}
.footer-links a:hover { color: #ffffff; }
.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li {
    display: flex; align-items: flex-start; gap: .625rem;
    font-size: .9375rem;
}
.footer-contact-list svg { color: #34D4B5; flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,.65); transition: color .15s; }
.footer-contact-list a:hover { color: #ffffff; }
.footer-bottom {
    display: flex; flex-direction: column;
    align-items: flex-start; gap: .5rem;
    padding: 1.5rem 0;
    font-size: .8125rem; color: rgba(255,255,255,.4);
}
.footer-disclaimer { font-size: .75rem; }

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: 0;
        width: min(320px, 85vw); height: 100vh;
        background: #ffffff;
        flex-direction: column; align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -8px 0 40px rgba(10,35,66,.15);
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; gap: .25rem; margin-bottom: 1rem; }
    .nav-list a { padding: .75rem 1rem; font-size: 1rem; }
    .nav-cta { margin-left: 0; text-align: center; justify-content: center; }
    
    .hero { min-height: auto; }
    .hero-content { padding: 4rem 1.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-badges { gap: .5rem; }
    
    .services, .about, .patient-info, .cta, .contact { padding: 4rem 0; }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { order: -1; max-width: 500px; margin: 0 auto; }
    .about-image-accent { display: none; }
    .about-values { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
    .contact-form-wrap { padding: 1.5rem; }
}

/* ===== Reduced Motion ===== */
@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; }
}
