/* ============================================
   Mr Seni Subair - Consultant Obstetrician
   Refined Luxury Medical Aesthetic
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Light Theme */
    --color-gold: #C9A86C;
    --color-gold-light: #D4BC8E;
    --color-gold-dark: #A88B4A;

    --color-bg-primary: #FAF8F5;
    --color-bg-secondary: #FFFFFF;
    --color-bg-tertiary: #F5F1EB;
    --color-bg-accent: #F5E6E0;

    --color-text-primary: #1a2332;
    --color-text-secondary: #4A5568;
    --color-text-tertiary: #718096;
    --color-text-inverse: #FAF8F5;

    --color-border: rgba(26, 35, 50, 0.1);
    --color-border-light: rgba(26, 35, 50, 0.05);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(26, 35, 50, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.06);
    --shadow-lg: 0 8px 32px rgba(26, 35, 50, 0.08);
    --shadow-xl: 0 16px 48px rgba(26, 35, 50, 0.1);

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-slower: 600ms ease;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Dark Theme */
[data-theme="dark"] {
    --color-bg-primary: #0F1419;
    --color-bg-secondary: #1a2332;
    --color-bg-tertiary: #242D3D;
    --color-bg-accent: #2D3748;

    --color-text-primary: #FAF8F5;
    --color-text-secondary: #CBD5E0;
    --color-text-tertiary: #A0AEC0;
    --color-text-inverse: #1a2332;

    --color-border: rgba(250, 248, 245, 0.1);
    --color-border-light: rgba(250, 248, 245, 0.05);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ============================================
   Base Styles
   ============================================ */

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    transition: background-color var(--transition-slow), color var(--transition-slow);
    overflow-x: hidden;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

[data-theme="dark"] .grain-overlay {
    opacity: 0.05;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

address {
    font-style: normal;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-text-inverse);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

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

/* Section Styling */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.gold-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.section-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    color: var(--color-text-primary);
    margin-bottom: var(--space-xl);
}

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

.section-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-4xl);
}

.section-header .section-eyebrow {
    justify-content: center;
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    padding: var(--space-md) 0;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
}

[data-theme="dark"] .nav.scrolled {
    background: rgba(15, 20, 25, 0.85);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-links a:not(.nav-cta):hover {
    color: var(--color-text-primary);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-gold);
    color: var(--color-text-inverse) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--color-gold);
    background: var(--color-bg-tertiary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
        z-index: 100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        background: var(--color-bg-secondary);
        padding: var(--space-3xl);
        transition: right var(--transition-slow);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: var(--text-xl);
    }

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

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 168, 108, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 168, 108, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-tertiary) 100%);
}

[data-theme="dark"] .hero-gradient {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 168, 108, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 168, 108, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
}

.curve-path {
    fill: var(--color-bg-primary);
    opacity: 0.5;
}

.hero-content {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-5xl) var(--space-lg) var(--space-4xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-text {
    max-width: 700px;
}

/* Hero Images Carousel */
.hero-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(201, 168, 108, 0.1);
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: heroFade 8s infinite;
}

.hero-carousel-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-carousel-slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes heroFade {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl));
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-accent {
    color: var(--color-gold);
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.credentials {
    font-size: var(--text-base);
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
}

.hero-affiliation {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-rating {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-gold);
}

.trust-label {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeIn 1s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

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

.image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    inset: -20px -20px auto auto;
    width: 120px;
    height: 120px;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

.about-text {
    margin-bottom: var(--space-2xl);
}

.about-text .lead {
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-text p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.credentials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.credential {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.credential-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
}

.credential-icon svg {
    width: 100%;
    height: 100%;
}

.credential-text {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.memberships h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.memberships ul {
    list-style: none;
}

.memberships li {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.memberships li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--color-gold);
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   Services Section
   ============================================ */

.services {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-bg-tertiary);
}

.services-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 108, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 168, 108, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--color-bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   Video Section
   ============================================ */

.video-section {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-4xl);
    align-items: center;
}

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

.video-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.video-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--color-text-primary);
}

.stat-value .star {
    color: var(--color-gold);
    font-size: var(--text-xl);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.video-wrapper {
    position: relative;
}

.video-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: var(--color-bg-tertiary);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.play-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    color: var(--color-text-inverse);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--color-gold-dark);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

@media (max-width: 968px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

/* ============================================
   Gallery / Carousel
   ============================================ */

.gallery {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.carousel {
    position: relative;
    width: 460px;
    height: 360px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    background: var(--color-bg-tertiary);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px var(--color-border-light);
    overflow: hidden;
}

[data-theme="dark"] .carousel {
    background: var(--color-bg-secondary);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--color-border);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform var(--transition-slower);
}

.carousel-slide {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    padding: var(--space-sm);
    overflow: hidden;
}

[data-theme="dark"] .carousel-slide {
    background: var(--color-bg-secondary);
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.carousel-caption {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    max-width: 90%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-fast);
    z-index: 10;
    border: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

[data-theme="dark"] .carousel-btn {
    background: rgba(36, 45, 61, 0.92);
    color: var(--color-text-primary);
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: var(--color-text-inverse);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn svg {
    width: 12px;
    height: 12px;
}

.carousel-prev {
    left: var(--space-xs);
}

.carousel-next {
    right: var(--space-xs);
}

.carousel-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 10;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.carousel-dot {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

.carousel-dot.active {
    background: var(--color-gold);
    width: 12px;
}

@media (max-width: 768px) {
    .carousel {
        width: 400px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .carousel {
        width: 320px;
        height: 260px;
        border-radius: var(--radius-sm);
    }

    .carousel-btn {
        width: 26px;
        height: 26px;
    }

    .carousel-btn svg {
        width: 11px;
        height: 11px;
    }

    .carousel-caption {
        padding: var(--space-xs) var(--space-sm);
        font-size: 11px;
        bottom: 20px;
    }

    .carousel-dot {
        width: 3px;
        height: 3px;
    }

    .carousel-dot.active {
        width: 10px;
    }
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-bg-tertiary);
}

.reviews-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 168, 108, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.doctify-widget {
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
}

.reviews-cta {
    text-align: center;
}

/* ============================================
   Fees Section
   ============================================ */

.fees {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
    align-items: start;
}

.fees-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.fees-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.fee-card {
    background: var(--color-bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    text-align: center;
}

.fee-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.fee-desc {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-lg);
}

.fee-price {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--color-gold);
}

.fee-card-highlight {
    background: var(--color-bg-tertiary);
    border-color: var(--color-gold);
}

.fee-card-highlight .btn {
    margin-top: var(--space-lg);
}

@media (max-width: 968px) {
    .fees-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* ============================================
   Locations Section
   ============================================ */

.locations {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-primary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.location-card {
    background: var(--color-bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.location-icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.location-icon svg {
    width: 100%;
    height: 100%;
}

.location-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
}

.location-detail {
    font-size: var(--text-sm);
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.location-card address {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gold);
}

.location-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.location-link:hover svg {
    transform: translate(4px, -4px);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
}

.contact-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(201, 168, 108, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

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

.contact-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    background: var(--color-bg-tertiary);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    color: var(--color-text-inverse);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-value {
    font-size: var(--text-base);
    font-weight: 500;
}

.contact-hours h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.contact-hours ul {
    list-style: none;
}

.contact-hours li {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.contact-hours li:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    background-size: 16px;
    padding-right: var(--space-3xl);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-bg-tertiary);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

[data-theme="dark"] .footer {
    background: var(--color-bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.footer-tagline {
    color: var(--color-gold) !important;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

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

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.footer-disclaimer {
    margin-top: var(--space-sm);
    font-size: var(--text-xs) !important;
}

/* Hero Images Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-carousel {
        max-width: 400px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    .hero-carousel {
        max-width: 340px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

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

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }

    .trust-item {
        text-align: left;
    }

    .trust-divider {
        display: none;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slower), transform var(--transition-slower);
}

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

/* Staggered animations */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .nav,
    .scroll-indicator,
    .carousel-btn,
    .carousel-dots,
    .theme-toggle,
    .grain-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        page-break-inside: avoid;
    }
}
