:root {
    --navy: #1a365d;
    --navy-light: #2a4a7f;
    --navy-dark: #0f2440;
    --gold: #d4af37;
    --gold-light: #e8c95a;
    --gold-dark: #b8962e;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --white: #ffffff;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --border: #e2d8c8;
    --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 54, 93, 0.1);
    --shadow-lg: 0 10px 40px rgba(26, 54, 93, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
}

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

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

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

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}

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

.logo-text {
    letter-spacing: -0.02em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 4px 0;
}

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

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

.nav-list a:hover {
    color: var(--navy);
}

.nav-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--navy-dark) !important;
}

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

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
    display: block;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

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

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-title em {
    color: var(--gold-dark);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

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

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

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

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

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

.hero-image {
    position: relative;
}

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

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

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

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

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

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

.service-card {
    background: var(--cream);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--navy);
    color: var(--gold);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

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

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

.about-image-group {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--navy);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.experience-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

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

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

.about-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.value-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.value-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

.patient-card {
    background: var(--cream);
    padding: 36px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.patient-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.patient-card-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.patient-card-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 36px;
    line-height: 1.8;
}

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

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

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

.contact-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.6;
}

.contact-value a {
    color: var(--navy);
}

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

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

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

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.form-success p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

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

.footer-brand .logo:hover {
    color: var(--gold);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-legal {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .patients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper img {
        height: 350px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-secondary {
        right: 20px;
        bottom: -20px;
        width: 180px;
    }
    
    .about-image-secondary img {
        height: 140px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .patients-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
