*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0f2b4c;
    --midnight-light: #1a3d6b;
    --midnight-dark: #091e36;
    --mint: #7ecfc0;
    --mint-light: #b8e6d9;
    --mint-lighter: #e8f5f1;
    --mint-pale: #f4faf8;
    --cream: #fafcfc;
    --white: #ffffff;
    --text-dark: #1a2a3a;
    --text-medium: #4a5a6a;
    --text-light: #6a7a8a;
    --shadow-sm: 0 2px 8px rgba(15, 43, 76, 0.06);
    --shadow-md: 0 8px 30px rgba(15, 43, 76, 0.1);
    --shadow-lg: 0 20px 60px rgba(15, 43, 76, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 600;
}

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;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--midnight);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 16px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 252, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(126, 207, 192, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 252, 252, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--midnight);
}

.logo-icon {
    color: var(--mint);
}

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

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--midnight);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight-dark);
    border-color: var(--mint);
}

.btn-primary:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 207, 192, 0.4);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--midnight);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--midnight);
    border-color: var(--white);
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--midnight-dark) 0%, var(--midnight) 50%, var(--midnight-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(126, 207, 192, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    color: var(--cream);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(126, 207, 192, 0.15);
    border: 1px solid rgba(126, 207, 192, 0.3);
    color: var(--mint-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.15;
}

.hero-headline em {
    color: var(--mint);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
}

.trust-item svg {
    color: var(--mint);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    width: 420px;
    height: 540px;
    box-shadow: var(--shadow-lg);
}

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 43, 76, 0.3) 100%);
    border-radius: var(--radius-xl);
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-card .float-card-icon {
    width: 48px;
    height: 48px;
    background: var(--mint-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    flex-shrink: 0;
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-text strong {
    font-size: 0.9375rem;
    color: var(--midnight);
}

.float-card-text span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.float-card-secondary {
    bottom: 40px;
    left: -30px;
    animation-delay: 1s;
}

.float-card-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--midnight);
}

.float-card-label {
    font-size: 0.8125rem;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    color: var(--cream);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* SECTION LABELS */
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 12px;
}

.section-label-light {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--midnight);
    margin-bottom: 16px;
}

.section-title-light {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 600px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(126, 207, 192, 0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--mint-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(126, 207, 192, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--mint-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--mint);
    color: var(--midnight-dark);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 10px;
}

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

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

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    height: 560px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

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

.about-content {
    max-width: 480px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

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

.about-features {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 32px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
}

.about-features li svg {
    color: var(--mint);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

/* NEW PATIENTS */
.new-patients {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--midnight-dark) 0%, var(--midnight) 100%);
    position: relative;
    overflow: hidden;
}

.new-patients::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(126, 207, 192, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.new-patients-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.new-patients-content .section-title-light {
    margin-bottom: 20px;
}

.new-patients-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 36px;
}

.new-patients-text a {
    color: var(--mint);
    font-weight: 600;
}

.new-patients-text a:hover {
    color: var(--mint-light);
}

.new-patients-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.new-patients-steps li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(126, 207, 192, 0.2);
    border: 1px solid rgba(126, 207, 192, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--mint);
    flex-shrink: 0;
}

.step-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Form */
.new-patients-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.new-patients-form h3 {
    font-size: 1.5rem;
    color: var(--midnight);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(15, 43, 76, 0.12);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(126, 207, 192, 0.15);
}

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

.form-privacy {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px 16px;
}

.form-success svg {
    color: var(--mint);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* CTA / CONTACT */
.cta {
    padding: 100px 0;
    background: var(--cream);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-content {
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
}

.cta-content .section-title-light {
    color: var(--midnight);
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 36px;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: auto;
}

.cta-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-contact-item:hover {
    transform: translateX(4px);
}

.cta-contact-icon {
    width: 48px;
    height: 48px;
    background: var(--mint-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight);
    flex-shrink: 0;
    transition: var(--transition);
}

.cta-contact-item:hover .cta-contact-icon {
    background: var(--mint);
}

.cta-contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}

.cta-contact-item span {
    font-size: 1rem;
    color: var(--midnight);
    font-weight: 500;
}

.cta-map {
    min-height: 400px;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    overflow: hidden;
}

/* FOOTER */
.footer {
    background: var(--midnight-dark);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--mint);
}

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

.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--mint);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* MOBILE MENU OVERLAY */
.nav-menu.mobile-open {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 252, 252, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 24px;
}

.nav-menu.mobile-open a {
    font-size: 1.25rem;
    color: var(--midnight);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-image-main {
        width: 340px;
        height: 440px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-sub {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-content {
        max-width: 100%;
    }

    .new-patients-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-map {
        min-height: 300px;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }

    .cta-content {
        padding: 48px 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-image-main {
        width: 280px;
        height: 360px;
    }

    .hero-float-card {
        display: none;
    }

    .services {
        padding: 72px 0;
    }

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

    .about {
        padding: 72px 0;
    }

    .about-image-stack {
        height: 400px;
    }

    .new-patients {
        padding: 72px 0;
    }

    .new-patients-form-wrapper {
        padding: 28px;
    }

    .cta {
        padding: 72px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .about-image-stack {
        height: 320px;
    }

    .about-img-main {
        width: 80%;
        height: 75%;
    }

    .about-img-accent {
        width: 60%;
        height: 55%;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
