:root {
    --midnight: #0a1628;
    --midnight-light: #1a2d4a;
    --mint: #4ecdc4;
    --mint-light: #7eddd7;
    --mint-pale: #e8f8f6;
    --mint-50: #f0faf9;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 6px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

*, *::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: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

.text-mint {
    color: var(--mint);
}

.text-midnight {
    color: var(--midnight);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
    box-shadow: 0 4px 16px rgba(78, 205, 196, 0.35);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(78, 205, 196, 0.45);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--midnight);
}

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

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

.main-nav a:not(.btn) {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:not(.btn):hover {
    color: var(--midnight);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--midnight);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(10, 22, 40, 0.72) 50%,
        rgba(10, 22, 40, 0.60) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(78, 205, 196, 0.15);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: var(--radius-full);
    color: var(--mint-light);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

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

.section-tag.light {
    color: var(--mint-light);
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Services */
.services {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--midnight);
}

.service-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* About */
.about {
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--mint-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

.about-content .section-tag {
    text-align: left;
}

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

.about-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
}

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

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

/* Patient Info */
.patient-info {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-light) 100%);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.info-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 16px;
}

.info-card h3 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* Contact */
.contact {
    background: var(--mint-pale);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 56px;
}

.contact-desc {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

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

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--gray-800);
    transition: all 0.2s ease;
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
    color: var(--midnight);
}

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

.form-success p {
    font-size: 16px;
    font-weight: 500;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
    background: var(--midnight);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

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

.footer-contact a {
    font-size: 15px;
    color: var(--mint);
    font-weight: 500;
}

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

.footer-contact p {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .main-nav a:not(.btn) {
        font-size: 17px;
    }
    
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-img-wrapper img {
        height: 350px;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-content .btn {
        margin: 8px auto 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
}

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