/* ============================================
   Darrell Quirici Inc — Medical & Health Site
   Fresh, airy, pastel tones with charcoal + coral
   ============================================ */

/* --- Custom Properties --- */
:root {
    /* Coral palette */
    --coral-50: #FFF5F3;
    --coral-100: #FFE8E4;
    --coral-200: #FFD0C8;
    --coral-300: #FFAA9C;
    --coral-400: #FF7E6A;
    --coral-500: #E8735A;
    --coral-600: #D45A42;
    --coral-700: #B84430;
    --coral-800: #9A382A;
    --coral-900: #7E2D23;
    
    /* Charcoal palette */
    --charcoal-50: #FAFAFA;
    --charcoal-100: #F0F0F0;
    --charcoal-200: #E0E0E0;
    --charcoal-300: #BDBDBD;
    --charcoal-400: #9E9E9E;
    --charcoal-500: #757575;
    --charcoal-600: #616161;
    --charcoal-700: #484848;
    --charcoal-800: #2D2D2D;
    --charcoal-900: #1A1A1A;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FDFCFA;
    
    /* Fonts */
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* 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;
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 45, 45, 0.06), 0 1px 2px rgba(45, 45, 45, 0.04);
    --shadow-md: 0 4px 16px rgba(45, 45, 45, 0.08), 0 2px 4px rgba(45, 45, 45, 0.04);
    --shadow-lg: 0 12px 40px rgba(45, 45, 45, 0.12), 0 4px 12px rgba(45, 45, 45, 0.06);
    --shadow-xl: 0 24px 60px rgba(45, 45, 45, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal-800);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--coral-700);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
    color: var(--charcoal-700);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral-500);
    color: var(--white);
    border-color: var(--coral-500);
    box-shadow: 0 4px 14px rgba(232, 115, 90, 0.35);
}

.btn-primary:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 115, 90, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-300);
}

.btn-ghost:hover {
    border-color: var(--coral-500);
    color: var(--coral-600);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--coral-600);
    border-color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--coral-700);
}

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

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

.btn-ghost-sm {
    background: transparent;
    color: var(--coral-600);
    border: 1px solid var(--coral-200);
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-ghost-sm:hover {
    background: var(--coral-50);
    border-color: var(--coral-400);
}

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

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 45, 45, 0.06);
    transition: box-shadow var(--transition-base);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--charcoal-900);
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--coral-500);
    border-radius: var(--radius-sm);
    position: relative;
    flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
    content: '';
    position: absolute;
    background: var(--white);
    border-radius: 1px;
}

.logo-mark::before {
    top: 50%;
    left: 8px;
    right: 8px;
    height: 3px;
    transform: translateY(-50%);
}

.logo-mark::after {
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 3px;
    transform: translateX(-50%);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal-900);
}

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

.nav-links a {
    color: var(--charcoal-700);
    font-size: 0.925rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--coral-600);
}

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

.nav-cta {
    background: var(--coral-500);
    color: var(--white) !important;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    font-size: 0.875rem !important;
}

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

.nav-cta:hover {
    background: var(--coral-600);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal-800);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--charcoal-800);
    left: 0;
    transition: all var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--coral-50) 50%, #FFF8F6 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(232, 115, 90, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--white);
    border: 1px solid var(--coral-200);
    color: var(--coral-700);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-headline .highlight {
    color: var(--coral-500);
    position: relative;
}

.hero-subheadline {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--charcoal-600);
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--charcoal-600);
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    max-width: 520px;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 5/6;
}

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

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral-200);
    border-radius: 50%;
    opacity: 0.4;
    z-index: -1;
}

.hero-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    max-width: 280px;
    border: 1px solid rgba(45, 45, 45, 0.05);
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.hero-card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--charcoal-700);
}

.hero-card-text strong {
    display: block;
    color: var(--charcoal-900);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--off-white);
    line-height: 0;
}

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

/* ============================================
   Section Shared Styles
   ============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--coral-600);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-600);
    line-height: 1.75;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-4xl) 0 var(--space-3xl);
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(45, 45, 45, 0.06);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--coral-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-600);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--coral-500);
    color: var(--white);
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.925rem;
    color: var(--charcoal-600);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

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

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

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 8/10;
}

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

.about-image-accent {
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 200px;
    height: 200px;
    background: var(--coral-100);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.7;
}

.about-stat-card {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(45, 45, 45, 0.05);
}

.about-stat-card .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-600);
}

.about-stat-card .stat-label {
    font-size: 0.825rem;
    color: var(--charcoal-500);
}

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

.about-text {
    font-size: 1rem;
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: var(--coral-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-600);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal-900);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--charcoal-600);
    line-height: 1.5;
}

/* ============================================
   Patient Info Section
   ============================================ */
.patient-info {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--coral-50) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.info-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(45, 45, 45, 0.06);
    transition: all var(--transition-base);
}

.info-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-block-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.info-block h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: var(--space-md);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--charcoal-700);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--charcoal-100);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li span:first-child {
    color: var(--charcoal-600);
    font-weight: 500;
}

.info-list li span:last-child {
    color: var(--charcoal-800);
    font-weight: 600;
}

.info-address {
    font-size: 0.95rem;
    color: var(--charcoal-800);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.info-phone a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coral-600);
}

.info-note {
    font-size: 0.825rem;
    color: var(--charcoal-500);
    margin-top: var(--space-sm);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--charcoal-800) 0%, var(--charcoal-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232, 115, 90, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
}

.cta-content {
    flex: 1;
    max-width: 600px;
}

.cta-headline {
    color: var(--white);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    margin-bottom: var(--space-md);
}

.cta-text {
    color: var(--charcoal-300);
    font-size: 1.05rem;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

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

.contact-text {
    font-size: 1rem;
    color: var(--charcoal-600);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--coral-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-600);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal-500);
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
    font-size: 0.95rem;
    color: var(--charcoal-800);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--coral-600);
}

/* Contact Form */
.contact-form-area {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid rgba(45, 45, 45, 0.06);
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    color: var(--charcoal-900);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--charcoal-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal-800);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral-400);
    box-shadow: 0 0 0 3px rgba(232, 115, 90, 0.12);
}

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

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

.form-privacy {
    font-size: 0.8rem;
    color: var(--charcoal-400);
    text-align: center;
    margin-top: var(--space-md);
}

/* Success message */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success h4 {
    font-size: 1.4rem;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--charcoal-900);
}

.form-success p {
    color: var(--charcoal-600);
    margin-bottom: var(--space-lg);
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
    background: var(--charcoal-100);
}

.map-container {
    height: 380px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.7) brightness(1.05);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--charcoal-900);
    color: var(--charcoal-300);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    color: var(--charcoal-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-nav-title {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav a {
    color: var(--charcoal-400);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--coral-400);
}

.footer-contact address {
    font-size: 0.9rem;
    color: var(--charcoal-400);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--charcoal-400);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: 0.825rem;
    color: var(--charcoal-500);
}

.footer-disclaimer {
    font-size: 0.775rem !important;
    color: var(--charcoal-600) !important;
    max-width: 500px;
    text-align: right;
}

/* ============================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* JS will add .revealed to these */
    .reveal-up {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: var(--space-2xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        gap: var(--space-2xl);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-top > :first-child {
        grid-column: 1 / -1;
    }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px var(--space-xl) var(--space-xl);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }
    
    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: var(--space-sm) 0;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-cta {
        text-align: center;
        margin-top: var(--space-md);
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 26, 26, 0.4);
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-bottom: var(--space-2xl);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding-top: var(--space-xl);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-card {
        left: 10px;
        bottom: 20px;
    }
    
    .hero-wave svg {
        height: 50px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-area {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-stat-card {
        right: 10px;
        bottom: 16px;
    }
    
    /* Patient Info */
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        max-width: 100%;
    }
    
    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-top > :first-child {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-card {
        position: relative;
        left: 0;
        bottom: 0;
        max-width: 100%;
        margin-top: var(--space-lg);
    }
    
    .hero-image-wrapper {
        max-width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
