/*
Theme Name: MedLux Medical
Theme URI: https://medluxmedical.ca
Author: MedLux Medical Clinic
Description: Custom theme for MedLux Medical Clinic - Comprehensive Family Medicine in Vancouver
Version: 1.0.0
Text Domain: medlux
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* PRIMARY -- light blue from logo */
    --blue: #b8ced4;
    --blue-light: #cddde2;
    --blue-dark: #9ab8c0;
    --blue-glow: rgba(184, 206, 212, 0.2);

    /* ACCENT -- muted warm gold (brushed brass) */
    --gold: #B5975A;
    --gold-light: #C7AC76;
    --gold-dark: #9A7E45;
    --gold-text: #8A7040; /* darker gold for WCAG AA on white */

    /* SECONDARY -- soft blue */
    --sky: #b8ced4;
    --sky-light: #d0e0e4;
    --sky-dark: #9ab8c0;

    /* NEUTRALS */
    --charcoal: #494949;
    --charcoal-dark: #333333;
    --charcoal-deeper: #2A2A2A;
    --grey-700: #555555;
    --grey-500: #666666;
    --grey-400: #999999;
    --grey-300: #B8B8B8;
    --grey-200: #D9D9D9;
    --grey-100: #EEEEEE;
    --grey-50: #F7F7F7;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --cool-white: #F0F7F8;
    --text-dark: #2D2D2D;
    --text-body: #666666;
    --text-muted: #888888;
}

/* ========================================
   RESET & BASE
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Figtree', sans-serif; color: var(--text-dark); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ========================================
   HEADER -- single bar: logo | address + contact | nav
   ======================================== */
header { position: sticky; top: 0; z-index: 100; background: var(--blue); border-bottom: none; box-shadow: 0 2px 12px rgba(0,0,0,0.08); overflow: visible; }
header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 20px; }
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 90px; width: auto; object-fit: contain; padding: 8px 0; }
.header-center { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 0; padding: 12px; text-align: center; }
.header-info-row { display: flex; align-items: center; justify-content: center; gap: 28px; }
.header-address { display: inline-flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 700; color: var(--charcoal-dark); letter-spacing: 0.2px; line-height: 1.5; text-align: left; white-space: nowrap; border-left: 1px solid rgba(0,0,0,0.18); padding-left: 28px; }
.header-address svg { width: 20px; height: 20px; color: var(--gold-text); flex-shrink: 0; }
.header-contact-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.header-contact-stack a, .header-contact-stack span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--charcoal-dark); line-height: 1.45; white-space: nowrap; }
.header-contact-stack svg { width: 15px; height: 15px; color: var(--gold-text); flex-shrink: 0; }
.header-contact-stack a:hover { color: var(--gold-dark); }
.header-right { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 10px; }
nav a { font-size: 13px; font-weight: 600; color: var(--white); background: var(--gold); padding: 10px 24px; border-radius: 50px; transition: all 0.2s; letter-spacing: 0.3px; }
nav a:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(181,151,90,0.25); }
nav a.active { background: var(--gold-dark); }
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 10px 24px; border-radius: 50px; font-weight: 600 !important; font-size: 13px; letter-spacing: 0.3px; }
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(181,151,90,0.25); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 101; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal-dark); margin: 5px 0; transition: all 0.3s; }

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--white); padding: 16px 36px; border-radius: 50px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(181,151,90,0.25); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--gold); padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 14px; border: 2px solid var(--gold); cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ========================================
   SECTIONS (shared)
   ======================================== */
.section { padding: 64px 0; }
.section-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold-text); font-weight: 600; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; }
.section-desc { font-size: 17px; color: var(--text-body); line-height: 1.7; max-width: 580px; }

/* ========================================
   PAGE HERO (about, services, contact)
   ======================================== */
.page-hero { background: var(--white); padding: 72px 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--grey-100); }
.page-hero::before { content: ''; position: absolute; top: -40%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero .section-tag { color: var(--gold-text); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; }
.page-hero p { font-size: 17px; color: var(--text-body); line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ========================================
   HOMEPAGE HERO
   ======================================== */
.hero { position: relative; overflow: hidden; padding: 0; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero-content-side { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 72px 48px; position: relative; z-index: 1; }
.hero-image-side { position: relative; overflow: hidden; }
.hero-image-side img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-overlay { display: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-glow); border: 1px solid var(--blue); padding: 8px 16px; border-radius: 100px; font-size: 12px; color: var(--gold-text); font-weight: 600; margin-bottom: 24px; letter-spacing: 0.5px; width: fit-content; }
.hero-badge-dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.3); } }
.hero-clinic-name { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--charcoal-dark); letter-spacing: 0.5px; margin-bottom: 10px; line-height: 1.15; }
.hero-tagline { font-family: 'Figtree', sans-serif; font-size: 22px; font-weight: 600; color: var(--charcoal); letter-spacing: 0.3px; margin-bottom: 24px; line-height: 1.3; }
.hero-tagline .hero-accent { color: var(--gold); font-weight: 700; }
.hero-sub { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 32px; max-width: 480px; font-weight: 400; }
.hero-trust { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--grey-200); display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-body); letter-spacing: 0.2px; }
.hero-trust-item svg { width: 16px; height: 16px; color: var(--gold); }

/* HERO CONTACT BOX */
.hero-contact-box { margin-top: 28px; text-align: center; background: var(--cool-white); border: 2px solid var(--blue); border-radius: 20px; padding: 28px 32px; width: 100%; max-width: 520px; }
.hero-contact-label { color: var(--text-dark); font-family: 'Figtree', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 16px; }
.hero-contact-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-contact-link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); background: var(--gold); padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 15px; user-select: text; cursor: pointer; letter-spacing: 0.3px; transition: all 0.25s; flex: 1; justify-content: center; min-width: 180px; }
.hero-contact-link:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(181,151,90,0.3); }
.hero-contact-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-waitlist-note { margin-top: 16px; font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

/* ========================================
   SERVICES GRID (homepage)
   ======================================== */
.services-overview { background: var(--white); padding: 64px 0; }
.services-header { text-align: center; margin-bottom: 48px; }
.services-header .section-desc { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: var(--white); border-radius: 16px; padding: 28px 20px; text-align: center; border: 1px solid var(--grey-100); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--blue); }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-glow); color: var(--charcoal-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--charcoal-dark); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-body); line-height: 1.5; }

/* ========================================
   PROCESS (homepage dark section)
   ======================================== */
.process { background: var(--blue); padding: 64px 0; }
.process .section-title { color: var(--charcoal-dark); }
.process .section-tag { color: var(--gold-text); }
.process .section-desc { color: var(--charcoal); opacity: 1; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.process-step { background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.7); border-radius: 16px; padding: 32px 24px; position: relative; transition: all 0.3s; }
.process-step:hover { background: rgba(255,255,255,0.75); border-color: var(--white); transform: translateY(-4px); }
.step-num { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: var(--gold); margin-bottom: 16px; line-height: 1; }
.process-step h3 { font-weight: 700; font-size: 18px; color: var(--charcoal-dark); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--charcoal); opacity: 1; line-height: 1.6; }
.step-line { position: absolute; top: 50%; right: -12px; width: 24px; height: 2px; background: rgba(0,0,0,0.15); }
.process-step:last-child .step-line { display: none; }

/* ========================================
   REVIEWS (homepage)
   ======================================== */
.reviews { background: var(--grey-50); padding: 64px 0; }
.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.reviews-score-block { display: flex; align-items: center; gap: 12px; }
.reviews-big-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.reviews-stars { display: flex; gap: 2px; color: #F59E0B; font-size: 18px; }
.reviews-count { font-size: 13px; color: var(--text-muted); }
.reviews-google-mark { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--grey-100); transition: all 0.3s; }
.review-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }
.review-g-icon { margin-bottom: 12px; }
.review-stars { display: flex; gap: 2px; color: #F59E0B; font-size: 14px; margin-bottom: 16px; }
.review-text { font-size: 15px; font-style: italic; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grey-200); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--grey-500); font-size: 14px; }
.review-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.reviews-screenshots { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; max-width: 1100px; margin: 0 auto; }
.review-screenshot { border-radius: 12px; overflow: hidden; border: 1px solid var(--grey-200); box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; }
.review-screenshot:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.review-screenshot img { width: 100%; height: auto; display: block; cursor: pointer; }

/* LIGHTBOX */
.lightbox-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 90vh; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.4); cursor: default; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 36px; font-weight: 300; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.reviews-cta { text-align: center; margin-top: 40px; }

/* ========================================
   TEAM (homepage)
   ======================================== */
.team { background: var(--grey-50); padding: 24px 0 64px; }
.team-header { text-align: center; margin-bottom: 48px; }
.team-header .section-desc { margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.doc-card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--grey-100); transition: all 0.3s; }
.doc-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.doc-photo { width: 100%; height: 320px; background: linear-gradient(135deg, var(--grey-100), var(--grey-200)); overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.staff-grid { grid-template-columns: 1fr; max-width: 380px; }
.staff-grid .doc-photo { height: 360px; }
.staff-grid .doc-photo img { object-position: center top; }
.doc-photo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--blue); color: var(--charcoal-dark); font-family: 'Playfair Display', serif; font-size: 72px; font-weight: 700; letter-spacing: 4px; }
.doc-info { padding: 28px; }
.doc-info h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.doc-title { font-size: 14px; color: var(--gold-text); font-weight: 600; margin-bottom: 12px; }
.doc-info p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   CTA SECTION (shared)
   ======================================== */
.cta-section { background: var(--blue); padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); pointer-events: none; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--charcoal-dark); margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: var(--charcoal); opacity: 1; line-height: 1.7; max-width: 580px; margin: 0 auto; }
.cta-contact { display: flex; gap: 20px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-contact-btn { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); background: var(--white); padding: 16px 32px; border-radius: 50px; font-weight: 600; font-size: 17px; transition: all 0.2s; border: 2px solid rgba(181,151,90,0.25); }
.cta-contact-btn:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(181,151,90,0.25); }
span.cta-contact-btn { cursor: default; user-select: text; }
span.cta-contact-btn:hover { background: var(--white); color: var(--gold); transform: none; box-shadow: none; }
.cta-contact-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ========================================
   FOOTER
   ======================================== */
footer { background: var(--charcoal-deeper); padding: 72px 0 0; color: var(--grey-400); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand-text { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-brand-sub { font-size: 13px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--grey-400); margin-bottom: 24px; max-width: 300px; }
/* ========================================
   CLINIC GALLERY (homepage)
   ======================================== */
.clinic-gallery { background: var(--white); padding: 64px 0; }
.clinic-gallery-header { text-align: center; margin-bottom: 48px; }
.clinic-gallery-header .section-desc { margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; }
.gallery-grid-right { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item-main { min-height: 380px; }
.gallery-item-small { min-height: 182px; }
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 16px auto 0; }
.gallery-strip .gallery-item { aspect-ratio: 3 / 2; }
.services-gallery { background: var(--grey-50); padding: 0 0 96px; }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-main { min-height: 260px; }
  .gallery-item-small { min-height: 200px; }
  .gallery-strip { grid-template-columns: 1fr; }
  .services-gallery { padding: 0 0 64px; }
}

/* CPSBC verify link on doctor cards */
.doc-verify { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gold-text); font-weight: 600; margin-top: 8px; transition: color 0.2s; }
.doc-verify:hover { color: var(--gold-dark); }

/* Virtual care notice */
.virtual-care-notice { background: var(--cool-white); border: 1px solid var(--blue); border-radius: 12px; padding: 20px 24px; margin-top: 32px; font-size: 14px; color: var(--text-body); line-height: 1.7; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Contact page MSP note */
.contact-note { background: var(--cool-white); border: 1px solid var(--blue); border-radius: 12px; padding: 16px 20px; font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* Skip-to-main link */
.skip-link { position: absolute; left: -9999px; top: auto; z-index: 999; background: var(--gold); color: var(--white); padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.skip-link:focus { left: 50%; transform: translateX(-50%); top: 4px; }

/* Emergency bar */
.emergency-bar { background: var(--charcoal-dark); padding: 14px 0; text-align: center; font-size: 13px; color: var(--grey-300); }
.emergency-bar strong { color: #E74C3C; font-weight: 700; }
.emergency-bar a { color: var(--gold-light); font-weight: 600; transition: color 0.2s; }
.emergency-bar a:hover { color: var(--gold); }

/* Footer disclaimer */
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; margin-top: 8px; }
.footer-disclaimer p { font-size: 12px; color: var(--grey-500); line-height: 1.7; margin-bottom: 8px; }
.footer-disclaimer p:last-child { margin-bottom: 0; }

/* Legal pages */
.legal-content { padding: 96px 0; background: var(--white); }
.legal-text { max-width: 800px; margin: 0 auto; }
.legal-text h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--text-dark); margin: 40px 0 16px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 28px 0 12px; }
.legal-text p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.legal-text ul { margin: 0 0 16px 24px; list-style: disc; }
.legal-text li { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 8px; }
.legal-text a { color: var(--gold-text); font-weight: 600; transition: color 0.2s; }
.legal-text a:hover { color: var(--gold-dark); }
.footer-col h4 { font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; color: var(--grey-400); font-size: 14px; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-address { font-size: 13.5px; line-height: 1.65; color: var(--grey-400); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--grey-500); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--grey-500); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--grey-300); }

/* ========================================
   ABOUT PAGE -- Our Clinic Section
   ======================================== */
.what-is { padding: 96px 0; background: var(--white); }
.what-is-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.what-is-content .section-title { margin-bottom: 24px; }
.what-is-content p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.what-is-img { border-radius: 20px; overflow: hidden; }
.what-is-img img { width: 100%; height: auto; border-radius: 20px; }

/* ========================================
   ABOUT PAGE -- Feature Cards (Why Choose Us)
   ======================================== */
.features { padding: 96px 0; background: var(--grey-50); }
.features-header { text-align: center; margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: var(--white); border-radius: 20px; padding: 40px 32px; border: 1px solid var(--grey-100); transition: all 0.3s; text-align: center; }
.feature-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(184,206,212,0.1); transform: translateY(-4px); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-glow); color: var(--charcoal-dark); margin-bottom: 20px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   ABOUT PAGE -- Our Approach (dark section)
   ======================================== */
.how-works { padding: 96px 0; background: var(--blue); }
.how-works-header { text-align: center; margin-bottom: 48px; }
.how-works .section-tag { color: var(--gold-text); }
.how-works .section-title { color: var(--charcoal-dark); }
.how-works-content { max-width: 800px; margin: 0 auto; }
.how-works-content p { font-size: 17px; color: var(--charcoal); opacity: 1; line-height: 1.8; margin-bottom: 20px; text-align: center; }
.how-works-highlight { background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.7); border-radius: 16px; padding: 32px 40px; margin-top: 40px; }
.how-works-highlight p { font-size: 18px; color: var(--charcoal-dark); font-weight: 500; line-height: 1.7; margin-bottom: 0; font-style: italic; }

/* ========================================
   ABOUT PAGE -- What Sets Us Apart (Benefits)
   ======================================== */
.benefits { padding: 96px 0; background: var(--white); }
.benefits-header { text-align: center; margin-bottom: 56px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.benefit-item { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--grey-50); border-radius: 16px; border: 1px solid var(--grey-100); transition: all 0.3s; }
.benefit-item:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(184,206,212,0.08); }
.benefit-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.benefit-icon svg { width: 22px; height: 22px; color: var(--charcoal-dark); stroke: var(--charcoal-dark); fill: none; stroke-width: 2; }
.benefit-text h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.benefit-text p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   SERVICES PAGE -- Service Categories
   ======================================== */
.access-steps { padding: 96px 0; background: var(--white); }
.access-steps .container > .section-tag,
.access-steps .container > .section-title { text-align: center; }
.access-steps .container > .section-title { margin-bottom: 56px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { background: var(--grey-50); border-radius: 20px; padding: 40px 32px; text-align: center; border: 1px solid var(--grey-100); transition: all 0.3s; position: relative; }
.step-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(184,206,212,0.1); transform: translateY(-4px); }
.step-card-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--charcoal-dark); font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.step-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }
.step-connector { display: none; }

/* ========================================
   SERVICES PAGE -- Detailed Service Cards
   ======================================== */
.procedure { padding: 96px 0; background: var(--grey-50); }
.procedure-header { text-align: center; margin-bottom: 56px; }
.procedure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.procedure-card { background: var(--white); border-radius: 20px; padding: 36px 28px; border: 1px solid var(--grey-100); transition: all 0.3s; }
.procedure-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }
.procedure-card-step { display: inline-block; background: var(--blue); color: var(--charcoal-dark); padding: 6px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.procedure-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.procedure-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   FAQ Section
   ======================================== */
.aftercare { padding: 96px 0; background: var(--white); }
.aftercare-header { text-align: center; margin-bottom: 56px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--grey-100); border-radius: 16px; margin-bottom: 16px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: var(--blue); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text-dark); background: var(--white); transition: background 0.2s; }
.faq-question:hover { background: var(--grey-50); }
.faq-question svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { padding: 0 28px 24px; max-height: 500px; }
.faq-answer p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ========================================
   CONTACT PAGE -- Contact Content
   ======================================== */
.contact-content { padding: 96px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-card { background: var(--grey-50); border-radius: 20px; padding: 36px 32px; border: 1px solid var(--grey-100); display: flex; gap: 20px; align-items: flex-start; transition: all 0.3s; }
.contact-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(184,206,212,0.08); }
.contact-card-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.contact-card-icon svg { width: 24px; height: 24px; color: var(--charcoal-dark); stroke: var(--charcoal-dark); fill: none; stroke-width: 2; }
.contact-card-text h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-card-text p { font-size: 16px; color: var(--text-body); line-height: 1.7; }
.contact-card-text a { color: var(--gold-text); font-weight: 600; transition: color 0.2s; }
.contact-card-text a:hover { color: var(--gold-dark); }

/* CLINIC IMAGE */
.clinic-image { border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.clinic-image img { width: 100%; height: auto; display: block; }
.clinic-image-stack { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }

/* MAP */
.map-section { padding: 0 0 96px; background: var(--white); }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid var(--grey-100); }
.map-wrap iframe { width: 100%; height: 450px; border: none; display: block; }

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(51,51,51,0.98); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 18px; font-weight: 600; color: var(--white); background: var(--gold); padding: 14px 40px; border-radius: 50px; transition: all 0.2s; text-align: center; min-width: 220px; }
.mobile-nav a:hover { background: var(--gold-dark); }
.mobile-nav-close { position: absolute; top: 20px; right: 24px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-nav-close span { display: block; width: 28px; height: 2px; background: var(--white); }
.mobile-nav-close span:first-child { transform: rotate(45deg) translateY(1px); }
.mobile-nav-close span:last-child { transform: rotate(-45deg) translateY(-1px); }

/* ========================================
   RESPONSIVE -- 1024px
   ======================================== */
@media (max-width: 1024px) {
    /* Header: two rows inside the one blue bar */
    header .container { flex-wrap: wrap; row-gap: 0; }
    .header-right { order: 2; }
    .header-center { order: 3; flex: 0 0 100%; width: 100%; padding: 0 0 14px; }
    nav a, .nav-cta { padding: 9px 18px; font-size: 12.5px; }

    /* Homepage */
    .hero-split { grid-template-columns: 1fr; }
    .hero-content-side { padding: 64px 32px; }
    .hero-image-side { min-height: 360px; }
    .hero-clinic-name { font-size: 34px; }
    .hero-tagline { font-size: 20px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .step-line { display: none; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-screenshots { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }

    /* About */
    .what-is-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .benefits-grid { grid-template-columns: 1fr; }

    /* Services */
    .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .procedure-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   RESPONSIVE -- 768px
   ======================================== */
@media (max-width: 768px) {
    nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: none; }
    .header-center { padding: 0 0 12px; gap: 5px; }
    .header-address { font-size: 15px; }
    .header-address svg { width: 16px; height: 16px; }
    .header-info-row { gap: 12px; }
    .header-address { font-size: 13px; padding-left: 12px; gap: 7px; }
    .header-address svg { width: 15px; height: 15px; }
    .header-contact-stack { gap: 3px; }
    .header-contact-stack a, .header-contact-stack span { font-size: 12.5px; gap: 6px; }
    .header-contact-stack svg { width: 13px; height: 13px; }
    .logo-img { height: 70px; }
    .section-title { font-size: 30px; }
    .container { padding: 0 20px; }

    /* Homepage */
    .hero-split { grid-template-columns: 1fr; }
    .hero-content-side { padding: 48px 20px; }
    .hero-image-side { min-height: 280px; }
    .hero-contact-link { flex: unset; min-width: unset; width: 100%; }
    .hero-clinic-name { font-size: 28px; }
    .hero-tagline { font-size: 18px; }
    .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
    .section { padding: 64px 0; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero-contact-links { flex-direction: column; align-items: stretch; }
    .hero-contact-link { justify-content: center; }
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
    .reviews-header { flex-direction: column; align-items: flex-start; }

    .reviews-screenshots { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

    /* Page Hero */
    .page-hero { padding: 48px 0; }
    .page-hero h1 { font-size: 34px; }

    /* About */
    .what-is, .features, .how-works, .benefits { padding: 64px 0; }
    .how-works-highlight { padding: 24px; }

    /* Services */
    .access-steps, .procedure, .aftercare { padding: 64px 0; }

    /* Contact */
    .contact-content { padding: 64px 0; }
    .map-section { padding: 0 0 64px; }
    .map-wrap iframe { height: 320px; }

    /* Shared */
    .cta-contact { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
