/* ════════════════════════════════════════════════════════════════════
   DR. RON ELLIOTT DMD — main.css
   ════════════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────────────────────────────── */
:root {
    --navy:       #1a2b4a;
    --blue:       #3a5fc8;
    --accent:     #4f6fe8;
    --white:      #ffffff;
    --off-white:  #f4f6fb;
    --gray:       #8a95a8;
    --text:       var(--navy);
    --navy-light: #253e72;
    --navy-dark:  #0f1c31;
    --blue-dark:  #2e4a8a;
    --gold:       #f5a623;
    --success:    #2d7a47;
    --success-bg: #eaf7ee;
    --success-border: #b3e5c5;
    --error:      #c0392b;
    --error-bg:   #fdf0f0;
    --error-border: #f5c6c6;
    --danger:     #e74c3c;
    --success-dark: #1a4d2e;
    --success-soft: #d6f0de;
    --success-soft-border: #a8d5b5;
    --success-muted: #5a9e72;
    --gold-bg:    #fff8e6;
    --gold-bg-hover: #fff0c2;
    --gold-border: #f5c842;
    --gold-border-hover: #e0a800;
    --gold-text:  #7a5400;
    --gold-muted: #a07020;
    --green-brand: #00a859;
    --pale-blue:  #edf1fb;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;
    --warning-text: #78350f;
    --warning-icon: #92400e;
    --orange:     #e67e22;
    --input-muted: #e2e6f0;
    --radius:     14px;
    --card-radius: var(--radius);
    --card-padding: 28px;
    --card-transition: var(--transition);
    --card-hover-shadow: var(--shadow);
    --shadow:     0 4px 24px rgba(26,43,74,0.10);
    --shadow-lg:  0 12px 48px rgba(26,43,74,0.14);
    --header-h:   72px;
    --transition: 0.22s ease;
}

/* ─────────────────────────────────────────────────────────
   GLOBAL LAYOUT SYSTEM
   ───────────────────────────────────────────────────────── */


.hp-inner,
.section-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 8%;
}

.hp-inner--narrow,
.section-inner--narrow { max-width: none; }
.hp-inner--wide,
.section-inner--wide   { max-width: none; }
.hp-inner--full,
.section-inner--full   { max-width: none; }

.full-width {
    width: 100%;
}
/* ── RESET / BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { color: inherit; }

/* ── UTILITIES ──────────────────────────────────────────────────────── */
.container { max-width: none; margin: 0 auto; padding: 0 8%; }

.skip-link {
    position: absolute; top: -100px; left: 8px; z-index: 999;
    background: var(--accent); color: white; padding: 8px 16px;
    border-radius: 0 0 8px 8px; font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────────────────── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); flex-shrink: 0; }

.section-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin: 10px 0 18px;
}
.section-badge--new-patients {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid rgba(4,120,87,0.18);
}
.section-badge--new-patients .drre-icon {
    width: 14px;
    height: 14px;
    stroke: #047857;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700; color: var(--navy); line-height: 1.2;
    margin-bottom: 18px;
}

.section-desc {
    color: var(--gray); font-size: 1rem; line-height: 1.8;
    max-width: 540px; margin-bottom: 28px;
}

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--accent); color: white;
    border-radius: 10px; padding: 14px 28px;
    font-size: 0.95rem; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 18px rgba(79,111,232,0.3);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(79,111,232,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--navy); color: var(--navy);
    border-radius: 10px; padding: 13px 26px;
    font-size: 0.95rem; font-weight: 600;
    text-decoration: none; background: white;
    transition: all var(--transition);
}
.btn-secondary:hover { background: var(--navy); color: white; }

.btn-white {
    display: inline-block;
    background: white; color: var(--accent);
    border-radius: 10px; padding: 16px 36px;
    font-size: 1rem; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

.btn-book {
    display: inline-block;
    background: var(--accent); color: white;
    border-radius: 8px; padding: 10px 22px;
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}
.btn-book:hover { background: var(--blue); transform: translateY(-1px); }

/* ── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,43,74,0.07);
    height: var(--header-h);
}
.header-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 5%;
    height: 100%; display: flex; align-items: center;
    justify-content: flex-start; gap: clamp(18px, 2.4vw, 32px);
}

/* Push phone + book now to the far right */
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Hamburger — always in DOM, shown on mobile via media query */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px; justify-content: center;
    background: none; border: none; cursor: pointer;
    padding: 8px; width: 40px; height: 40px;
    z-index: 300; position: relative; /* above overlay */
    margin-left: 8px; flex-shrink: 0;
}

/* Logo */
.site-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
}
.logo-icon {
    width: 38px; height: 38px; background: var(--accent);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.logo-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.2;
}
.logo-tagline {
    display: block;
    font-size: 0.62rem; font-weight: 400; color: var(--gray);
    letter-spacing: 0.05em; text-transform: uppercase;
}

/* Nav links */
.primary-nav { display: flex; }
.primary-nav .nav-menu {
    display: flex; align-items: center; gap: 1.8rem;
    list-style: none;
}
.primary-nav .nav-menu a {
    text-decoration: none; color: var(--navy);
    font-size: 0.88rem; font-weight: 500;
    transition: color var(--transition); white-space: nowrap;
}
.primary-nav .nav-menu a:hover,
.primary-nav .nav-menu .current-menu-item > a,
.primary-nav .nav-menu .current_page_item > a { color: var(--accent); }

/* Header actions */
.header-phone {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--navy); background: white;
    border: 1.5px solid rgba(26,43,74,0.12);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.88rem; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.header-phone svg { color: var(--accent); }
.header-phone:hover {
    color: var(--accent);
    border-color: rgba(79,111,232,0.35);
    box-shadow: 0 8px 22px rgba(26,43,74,0.08);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger-bar {
    display: block; width: 24px; height: 2px;
    background: var(--navy); border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}
.nav-toggle.is-open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay — slides in from right */
.mobile-nav-overlay {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 190;
    width: min(420px, 100vw);
    background: #ffffff;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -18px 0 60px rgba(10,18,34,0.18);
    overflow-y: auto;
}
.mobile-nav-overlay.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-close {
    position: absolute; top: 16px; right: 16px;
    background: var(--off-white); border: 1px solid rgba(26,43,74,0.08); cursor: pointer;
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); transition: background var(--transition), border-color var(--transition);
}
.mobile-nav-close:hover { background: white; border-color: rgba(79,111,232,0.25); }

.mobile-nav-logo {
    display: flex; align-items: center; gap: 10px;
    padding: 28px 72px 22px 24px;
    border-bottom: 1px solid rgba(26,43,74,0.08);
}
.mobile-nav-logo .logo-icon { width: 34px; height: 34px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-nav-logo span { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }

.mobile-nav { flex: 1; padding: 14px 16px 8px; }

.mobile-nav .mobile-menu {
    list-style: none;
}
.mobile-nav .mobile-menu li { border-bottom: 0; }
.mobile-nav .mobile-menu li:last-child { border-bottom: none; }
.mobile-nav .mobile-menu a {
    display: flex; align-items: center;
    min-height: 48px;
    color: var(--navy); font-size: 1rem;
    font-weight: 700; padding: 13px 14px; text-decoration: none;
    border-radius: 12px;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}
.mobile-nav .mobile-menu a:hover,
.mobile-nav .mobile-menu .current-menu-item > a,
.mobile-nav .mobile-menu .current_page_item > a {
    color: var(--accent); background: var(--pale-blue); transform: translateX(2px);
}

.mobile-nav-footer {
    position: sticky;
    bottom: 0;
    padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(26,43,74,0.08);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    display: flex; flex-direction: column; gap: 12px;
}
.mobile-nav-book {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent); color: white; border: none; cursor: pointer;
    border-radius: 12px; padding: 15px 20px;
    font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 800;
    box-shadow: 0 12px 28px rgba(79,111,232,0.26);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.mobile-nav-book:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 16px 32px rgba(79,111,232,0.3); }
.mobile-nav-phone {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px;
    color: var(--navy);
    background: var(--off-white);
    border: 1.5px solid rgba(26,43,74,0.1);
    border-radius: 12px;
    font-size: 0.95rem; font-weight: 800;
    text-decoration: none; transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.mobile-nav-phone svg { color: var(--accent); }
.mobile-nav-phone:hover { color: var(--accent); border-color: rgba(79,111,232,0.28); background: white; }

/* Mobile backdrop overlay (separate element to allow clicking behind panel) */
.mobile-nav-backdrop {
    position: fixed; inset: 0; z-index: 185;
    background: rgba(10,18,34,0.55);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
    margin-top: var(--header-h);
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: calc(70vh - var(--header-h));
    background: var(--off-white);
    position: relative; overflow: hidden;
}
.hero-bg-shape,
.hero-bg-shape2 {
    position: absolute; border-radius: 50%; pointer-events: none;
    background: rgba(79,111,232,0.06);
}
.hero-bg-shape  { top: -100px; left: -120px; width: 500px; height: 500px; }
.hero-bg-shape2 { bottom: -80px; left: 30%; width: 350px; height: 350px; }

.hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 80px 0;
    position: relative; z-index: 2;
}
.hero-left-inner {
    width: min(100%, 620px);
    margin-left: max(5vw, calc((100vw - 1180px) / 2));
    margin-right: 0;
    padding-left: 0;
    padding-right: clamp(24px, 4vw, 56px);
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(79,111,232,0.1); color: var(--accent);
    border-radius: 100px; padding: 6px 14px;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 24px; width: fit-content;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; color: var(--navy); font-style: italic;
    margin-bottom: 10px; opacity: 0.6;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15; font-weight: 700;
    color: var(--navy); margin-bottom: 18px;
}
.hero-title .highlight { color: var(--accent); }

.hero-welcome {
    font-size: 0.88rem; font-weight: 600; color: var(--navy);
    margin-bottom: 4px; opacity: 0.75;
}

.hero-sub {
    font-size: 1rem; color: var(--gray);
    line-height: 1.75; max-width: 420px; margin-bottom: 32px;
}

.hero-pillars { display: flex; gap: 18px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-pillar {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.82rem; font-weight: 600; color: var(--navy);
    position: relative;
}
.hero-pillar::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(79,111,232,0.12);
    flex-shrink: 0;
}
.hero-pillar::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    width: 7px;
    height: 4px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: translateY(-62%) rotate(-45deg);
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-award {
    margin-top: 36px; display: flex; align-items: center; gap: 12px;
    background: white; border-radius: 12px; padding: 14px 18px;
    box-shadow: var(--shadow); width: fit-content;
}
.hero-award-icon { font-size: 1.8rem; }
.hero-award-text { font-size: 0.8rem; }
.hero-award-text strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.85rem; }
.hero-award-text span  { color: var(--gray); }

.hero-right { position: relative; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(79,111,232,0.22) 50%, rgba(79,111,232,0.34) 100%);
    min-height: 500px;
}

.hero-overlay-card {
    position: absolute; bottom: 32px; left: 32px;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
    border-radius: 18px; padding: 26px 32px;
    box-shadow: var(--shadow-lg); max-width: 300px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}
.hero-overlay-card:hover { transform: translateY(-2px); box-shadow: 0 18px 60px rgba(26,43,74,0.22); }
.hero-overlay-card .stars { color: var(--gold); font-size: 1.3rem; margin-bottom: 8px; letter-spacing: 2px; }
.hero-overlay-card p    { font-size: 1.05rem; color: var(--navy); font-weight: 800; margin-bottom: 4px; }
.hero-overlay-card span { font-size: 0.88rem; color: var(--gray); font-weight: 600; }

/* Hero animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-left-inner > * { animation: fadeUp 0.6s ease both; }
.hero-left-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left-inner > *:nth-child(4) { animation-delay: 0.32s; }
.hero-left-inner > *:nth-child(5) { animation-delay: 0.40s; }
.hero-left-inner > *:nth-child(6) { animation-delay: 0.48s; }
.hero-left-inner > *:nth-child(7) { animation-delay: 0.56s; }

/* ── SVG ICONS ──────────────────────────────────────────────────────── */
.drre-icon {
    display: inline-block; vertical-align: middle;
    width: 20px; height: 20px; flex-shrink: 0;
}
.drre-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--gold);
    line-height: 1;
}
.drre-star-rating .drre-icon {
    width: 1em;
    height: 1em;
    color: currentColor;
    fill: currentColor;
    stroke: none;
}
.service-icon .drre-icon { width: 26px; height: 26px; color: var(--accent); }
.botox-feature-icon .drre-icon { width: 22px; height: 22px; color: var(--accent); }
.hero-badge .drre-icon { width: 13px; height: 13px; color: var(--accent); }

/* ── SERVICES STRIP ─────────────────────────────────────────────────── */
.services-strip {
    background: var(--navy);
    padding: 0 5%;
    display: flex; flex-wrap: wrap;
    justify-content: center;
}
.service-pill {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,0.65); font-size: 0.84rem; font-weight: 500;
    padding: 14px 18px;
    border-right: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap; transition: color var(--transition);
}
.service-pill [data-lucide] { width: 15px; height: 15px; stroke: rgba(255,255,255,0.4); flex-shrink: 0; }
.service-pill:last-child { border-right: none; }
.service-pill:hover { color: white; }
.service-pill:hover [data-lucide] { stroke: rgba(255,255,255,0.8); }

/* Mobile: hide strip entirely on very small screens, show as scrollable row */
@media (max-width: 640px) {
    .services-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 4%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .services-strip::-webkit-scrollbar { display: none; }
    .service-pill { border-right: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
}

/* ── SERVICES SECTION ───────────────────────────────────────────────── */
.section-services { padding: 88px 0; background: white; }
.section-header { max-width: 760px; }
.section-services .section-header { max-width: 980px; }
.section-services .section-desc { max-width: 820px; }

.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 52px;
}
.service-card {
    background: var(--off-white); border-radius: var(--card-radius);
    padding: var(--card-padding);
    border: 1.5px solid transparent;
    display: flex; flex-direction: column;
    transition: border-color var(--card-transition), background var(--card-transition), transform var(--card-transition), box-shadow var(--card-transition); cursor: default;
}
.service-card:hover {
    background: white; border-color: var(--accent);
    transform: translateY(-3px); box-shadow: var(--card-hover-shadow);
}
.service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(79,111,232,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.75; margin-bottom: 16px; }
.service-link { color: var(--accent); font-size: 0.85rem; font-weight: 700; text-decoration: none; margin-top: auto; display: inline-flex; align-items: center; }
.service-link:hover { text-decoration: underline; }


/* ── WHY CHOOSE SECTION ─────────────────────────────────────────────── */
.section-why { padding: 88px 0; background: var(--off-white); }
.section-header--center { margin: 0; text-align: left; }
.section-header--center .section-desc { margin-left: 0; margin-right: 0; }
.why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 52px;
}
.why-card {
    background: white;
    border: 1.5px solid rgba(26,43,74,0.07);
}
.why-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(79,111,232,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.why-card-icon .drre-icon { width: 22px; height: 22px; color: var(--accent); }
.why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.why-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.7; }

/* ── HOMEPAGE REVIEWS ───────────────────────────────────────────────── */
.section-reviews { padding: 88px 0; background: var(--pale-blue); }
.hp-reviews-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-top: 36px;
}
.hp-review-card {
    background: var(--off-white);
    border: 1.5px solid rgba(26,43,74,0.07);
}
.hp-review-card p { font-size: 0.9rem; color: var(--navy); line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.hp-hg-widget {
    display: inline-flex; align-items: center; gap: 16px;
    background: var(--gold-bg); border: 1.5px solid var(--gold-border);
    border-radius: var(--card-radius); padding: 18px 24px;
    text-decoration: none; margin: 28px 0 36px;
    transition: background var(--transition), transform var(--transition);
}
.hp-hg-widget:hover { background: var(--gold-bg-hover); transform: translateY(-1px); }

.review-platform-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0 34px;
}
.review-platform-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1.5px solid rgba(26,43,74,0.08);
    border-radius: var(--card-radius);
    padding: 16px 18px;
    text-decoration: none;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.review-platform-badge:first-child {
    border-color: rgba(79,111,232,0.25);
    box-shadow: 0 4px 22px rgba(26,43,74,0.08);
}
.review-platform-badge:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.review-platform-info { flex: 1; min-width: 0; }
.review-platform-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; line-height: 1; margin-bottom: 4px; }
.review-platform-info strong { display: block; color: var(--navy); font-size: 0.9rem; font-weight: 800; }
.review-platform-info span { display: block; color: var(--gray); font-size: 0.78rem; }
.review-platform-cta { color: var(--accent); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}
.review-author { display: block; font-size: 0.84rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.review-source { display: block; font-size: 0.74rem; color: var(--accent); font-weight: 700; }

.service-card,
.why-card,
.botox-feature,
.review-card,
.hp-review-card {
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    transition: border-color var(--card-transition), background var(--card-transition), transform var(--card-transition), box-shadow var(--card-transition);
}
.service-card:hover,
.why-card:hover,
.botox-feature:hover,
.review-card:hover,
.hp-review-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
}

/* ── SPLIT SECTION ──────────────────────────────────────────────────── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; }

.split-img {
    display: flex; align-items: center; justify-content: center;
    min-height: 440px; font-size: 5rem;
    position: relative; overflow: hidden;
}
.split-img--sleep {
    background: var(--off-white);
}
.split-img--sleep .drre-icon { color: var(--accent); opacity: 0.25; }

.split-content {
    padding: 88px 0;
    display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.split-content-inner { max-width: 620px; margin: 0; }
.split-content .section-label { color: rgba(255,255,255,0.5); }
.split-content .section-label::before { background: rgba(255,255,255,0.3); }
.split-content .section-title { color: white; }
.split-content .section-desc  { color: rgba(255,255,255,0.7); }
.split-content .btn-primary   { background: white; color: var(--accent); box-shadow: none; }
.split-content .btn-primary:hover { background: var(--off-white); }


/* ── CARD CONSISTENCY (SAFE) ─────────────────────────────────────── */
.service-card,
.team-card,
.award-card,
.edu-card {
    display: flex;
    flex-direction: column;
}

/* ── BOTOX SECTION ──────────────────────────────────────────────────── */
.botox-section { padding: 88px 0; background: white; }
.botox-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }

.botox-card {
    background: transparent; border-radius: 0;
    padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.botox-feature {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--off-white);
    border: 1.5px solid rgba(26,43,74,0.07);
    min-height: 100%;
}
.botox-feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(79,111,232,0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.botox-feature h4 { font-size: 0.93rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.botox-feature p  { font-size: 0.83rem; color: var(--gray); line-height: 1.65; }

/* ── AWARD SECTION ──────────────────────────────────────────────────── */
.award-section {
    background: var(--off-white);
    padding: 88px 0;
}
.award-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.award-content p {
    font-size: 0.9rem; color: var(--gray); line-height: 1.8; margin-bottom: 14px;
}
.award-content p strong { color: var(--navy); }

.award-badge-big {
    background: white; border: 2px solid rgba(26,43,74,0.1);
    border-radius: 20px; padding: 48px 40px; text-align: center;
    box-shadow: 0 8px 32px rgba(26,43,74,0.1);
}
.award-badge-big > svg {
    width: 56px; height: 56px; color: var(--gold); margin-bottom: 16px;
}
.award-badge-big h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; margin-bottom: 12px; color: var(--navy);
}
.award-badge-big p { font-size: 0.84rem; color: var(--gray); line-height: 1.7; }
.award-badge-stars {
    margin-top: 16px; font-size: 1.5rem; color: var(--gold); letter-spacing: 3px;
}

.award-accolades { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.award-accolade-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: white; border-radius: 12px; padding: 14px 18px;
    border: 1px solid rgba(26,43,74,0.08); box-shadow: 0 2px 8px rgba(26,43,74,0.06);
}
.award-accolade-item > svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.award-accolade-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.award-accolade-item span  { font-size: 0.82rem; color: var(--gray); }

/* ── HOMEPAGE OFFICE & MAP ──────────────────────────────────────────── */
.hp-office-section { padding: 88px 0; background: var(--pale-blue); }
.hp-office-inner   { display: flex; flex-direction: column; gap: 32px; }
.hp-office-header  { max-width: 680px; }
.map-placeholder   {
    width: 100%; height: 420px; border-radius: 20px;
    background: rgba(26,43,74,0.06); border: 1.5px solid rgba(26,43,74,0.1);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; color: var(--gray);
}
.map-placeholder .drre-icon { width: 36px; height: 36px; color: var(--accent); }
.map-placeholder p { font-size: 0.9rem; color: var(--navy); font-weight: 500; }

/* ── BLOG ───────────────────────────────────────────────────────────── */
.blog-layout { padding: 60px 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--off-white); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { display: block; aspect-ratio: 4/3; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card-body { padding: 24px; }
.post-meta { font-size: 0.78rem; color: var(--gray); margin-bottom: 10px; }
.post-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.post-title a { text-decoration: none; color: var(--navy); }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 0.87rem; color: var(--gray); line-height: 1.7; margin-bottom: 14px; }
.pagination { margin-top: 48px; text-align: center; }

/* ── PAGE CONTENT ───────────────────────────────────────────────────── */
.page-content-wrap { padding: 60px 0; }
.page-content { max-width: 780px; }
.page-content h2,h3,h4 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 28px 0 12px; }
.page-content p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }

/* ── CONTACT PAGE ───────────────────────────────────────────────────── */
.contact-hero { margin-top: var(--header-h); background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); color: white; padding: 88px 0; }
.contact-hero .section-label { color: rgba(255,255,255,0.5); }
.contact-hero .section-label::before { background: rgba(255,255,255,0.25); }
.contact-hero .section-title { color: white; }
.contact-hero .section-desc { color: rgba(255,255,255,0.65); }

.contact-section { padding: 88px 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }

.contact-form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.form-note { font-size: 0.87rem; color: var(--gray); margin-bottom: 28px; }

.form-message { border-radius: 10px; padding: 14px 18px; font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; }
.form-message.success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.form-message.error   { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .wpcf7,
.contact-form .wpcf7 form {
    width: 100%;
}
.contact-form .wpcf7 form,
.book-now-form .wpcf7 form {
    display: flex;
    flex-direction: column;
}
.contact-form .wpcf7 p,
.book-now-form .wpcf7 p {
    margin: 0 0 18px;
}
.contact-form .wpcf7-form-control-wrap,
.book-now-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.contact-form .wpcf7 label,
.book-now-form .wpcf7 label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}
.contact-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea,
.book-now-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.book-now-form .wpcf7 select,
.book-now-form .wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(26,43,74,0.15);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.contact-form .wpcf7 input:focus,
.contact-form .wpcf7 select:focus,
.contact-form .wpcf7 textarea:focus,
.book-now-form .wpcf7 input:focus,
.book-now-form .wpcf7 select:focus,
.book-now-form .wpcf7 textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79,111,232,0.1);
}
.contact-form .wpcf7 input.wpcf7-not-valid,
.contact-form .wpcf7 select.wpcf7-not-valid,
.contact-form .wpcf7 textarea.wpcf7-not-valid,
.book-now-form .wpcf7 input.wpcf7-not-valid,
.book-now-form .wpcf7 select.wpcf7-not-valid,
.book-now-form .wpcf7 textarea.wpcf7-not-valid {
    border-color: var(--danger);
}
.contact-form .wpcf7-not-valid-tip,
.book-now-form .wpcf7-not-valid-tip {
    color: var(--danger);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 6px;
}
.contact-form .wpcf7-list-item,
.book-now-form .wpcf7-list-item {
    margin-left: 0;
}
.contact-form .wpcf7-checkbox .wpcf7-list-item label,
.book-now-form .wpcf7-checkbox .wpcf7-list-item label {
    flex-direction: row;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    font-weight: 500;
}
.contact-form .wpcf7 input[type="checkbox"],
.book-now-form .wpcf7 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}
.contact-form .wpcf7-submit,
.book-now-form .wpcf7-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border: 0;
    border-radius: 100px;
    background: var(--accent);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-form .wpcf7-submit:hover,
.book-now-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    background: var(--accent-dark);
    box-shadow: 0 12px 28px rgba(79,111,232,0.28);
}
.contact-form .wpcf7-submit:disabled,
.book-now-form .wpcf7-submit:disabled {
    cursor: not-allowed;
    opacity: 0.68;
    transform: none;
    box-shadow: none;
}
.contact-form .wpcf7-spinner,
.book-now-form .wpcf7-spinner {
    margin: 12px auto 0;
}
.contact-form .wpcf7-response-output,
.book-now-form .wpcf7-response-output {
    border-radius: 10px;
    margin: 18px 0 0;
    padding: 12px 14px;
    font-size: 0.88rem;
}
.contact-form .cf7ic,
.book-now-form .cf7ic {
    margin: 2px 0 18px;
    padding: 14px;
    border: 1px solid rgba(26,43,74,0.12);
    border-radius: 10px;
    background: var(--off-white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group label span { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid rgba(26,43,74,0.15);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    color: var(--text); background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79,111,232,0.1);
}
.form-group input.is-invalid,
.form-group textarea.is-invalid { border-color: var(--danger); }

.form-checkbox .checkbox-label {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; font-size: 0.9rem; color: var(--navy);
}
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--accent); }

.btn-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* Contact info sidebar */
.info-card {
    background: var(--off-white); border-radius: var(--radius);
    padding: 28px; margin-bottom: 20px;
}
.info-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 20px; }
.info-card h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.info-row:last-child { margin-bottom: 0; }
.info-icon { font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.info-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); margin-bottom: 3px; }
.info-value { font-size: 0.9rem; color: var(--navy); font-weight: 500; text-decoration: none; }
a.info-value:hover { color: var(--accent); }

.info-card--award { text-align: center; }
.info-award-icon { font-size: 2.5rem; margin-bottom: 10px; }
.info-card--award p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-top: 8px; }

.info-card--assoc ul { list-style: none; }
.info-card--assoc li { font-size: 0.85rem; color: var(--gray); padding: 6px 0; border-bottom: 1px solid rgba(26,43,74,0.06); }
.info-card--assoc li:last-child { border-bottom: none; }

.contact-office { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 28px); }
.contact-map-wrap {
    width: 100%; height: 480px; border-radius: 20px; overflow: hidden;
    background: rgba(26,43,74,0.06); box-shadow: var(--shadow-lg);
    border: 1.5px solid rgba(26,43,74,0.08);
}
.contact-map-wrap iframe { width: 100%; height: 100%; display: block; }
.contact-info-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    background: var(--off-white); border-radius: 16px; padding: 20px 24px;
    border: 1.5px solid rgba(26,43,74,0.07);
}
.contact-info-item {
    display: flex; gap: 12px; align-items: flex-start;
}
.contact-info-item .drre-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.73rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gray); margin-bottom: 3px; }
.contact-info-item a,
.contact-info-item span,
.contact-info-item address { font-size: 0.88rem; color: var(--navy); font-weight: 700; text-decoration: none; font-style: normal; line-height: 1.4; }
.contact-info-item a:hover { color: var(--accent); }
.contact-map-cta { display: flex; gap: 12px; }
.contact-map-cta .btn-secondary,
.contact-map-cta .btn-primary { display: inline-flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); }

.footer-top {
    padding: 64px 8% 48px;
    display: grid; grid-template-columns: 1.6fr 2fr; gap: 60px;
}
.footer-brand { }
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: white;
    font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700;
    margin-bottom: 14px;
}
.footer-brand > p { font-size: 0.84rem; line-height: 1.8; max-width: 260px; margin-bottom: 20px; }
.footer-contact-info { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; }
.footer-contact-row a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-contact-row a:hover { color: white; }
.footer-contact-icon { width: 14px; height: 14px; color: rgba(255,255,255,0.4); flex-shrink: 0; margin-top: 1px; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
    color: white; font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 6px; }
.footer-col a,
.footer-nav a {
    display: block; color: rgba(255,255,255,0.5);
    font-size: 0.84rem; text-decoration: none;
    transition: color var(--transition); padding: 2px 0;
}
.footer-col a:hover,
.footer-nav a:hover { color: white; }
.footer-nav { list-style: none; }
.footer-nav li + li { margin-top: 6px; }

.footer-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 32px; grid-column: 1/-1; }
.footer-widget-title { color: white; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 8%; display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; }
.footer-associations { color: rgba(255,255,255,0.35); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid  { grid-template-columns: 1fr 1fr; }
    .about-section  { grid-template-columns: 1fr; gap: 40px; }
    .about-photo    { min-height: 300px; }
    .botox-grid     { grid-template-columns: 1fr; gap: 40px; }
    .award-grid     { grid-template-columns: 1fr; }
    .footer-top     { grid-template-columns: 1fr; gap: 40px; }
    .footer-cols    { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── HOMEPAGE: DR. ELLIOTT BIO SECTION ─────────────────────────────── */
.hp-about-section { padding: 88px 0; background: white; overflow: hidden; }

.hp-about-inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
}

/* Photo column */
.hp-about-photo {
    position: relative;
}
.hp-about-photo .about-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: var(--shadow-lg);
}
.about-photo-placeholder {
    width: 100%; aspect-ratio: 1;
    background: var(--off-white);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
}
.about-photo-placeholder .drre-icon { color: var(--gray); opacity: 0.4; }

/* Floating trust badge on photo */
.hp-about-float-badge {
    position: absolute;
    bottom: -18px; right: -18px;
    background: white;
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 8px 32px rgba(26,43,74,0.14);
    border: 1.5px solid rgba(26,43,74,0.07);
    text-align: center;
    min-width: 160px;
}
.hp-about-float-badge-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 4px; }
.hp-about-float-badge strong { display: block; font-size: 0.82rem; color: var(--navy); font-weight: 700; }
.hp-about-float-badge span   { font-size: 0.74rem; color: var(--gray); }

/* Content column */
.hp-about-content { position: relative; }

.hp-about-since {
    position: absolute;
    top: -16px; right: 0;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    color: rgba(26,43,74,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hp-about-quote {
    background: var(--off-white);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin: 20px 0 24px;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.75;
}
.hp-about-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 600;
    color: var(--accent);
}

/* Stats bar */
.hp-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--off-white);
    border-radius: 14px;
    border: 1.5px solid rgba(26,43,74,0.07);
    overflow: hidden;
    margin: 28px 0;
}
.hp-stat-box {
    text-align: center;
    padding: 18px 12px;
    border-right: 1px solid rgba(26,43,74,0.07);
}
.hp-stat-box:last-child { border-right: none; }
.hp-stat-box .num {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.hp-stat-box .label {
    font-size: 0.72rem;
    color: var(--gray);
    font-weight: 500;
    line-height: 1.4;
}

/* Verify badges row */
.hp-about-verify-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--off-white);
    border: 1.5px solid rgba(26,43,74,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    flex: 1; min-width: 0;
}
.license-badge:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(79,111,232,0.12);
}
.license-badge-icon {
    width: 32px; height: 32px;
    background: rgba(79,111,232,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.license-badge-icon .drre-icon { width: 16px; height: 16px; color: var(--accent); }
.license-badge-text { flex: 1; min-width: 0; }
.license-badge-text strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.license-badge-text span   { font-size: 0.72rem; color: var(--gray); }
.license-badge-arrow .drre-icon { width: 14px; height: 14px; color: var(--gray); flex-shrink: 0; }

.healthgrades-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-bg);
    border: 1.5px solid var(--gold-border);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
    flex: 1; min-width: 0;
}
.healthgrades-badge:hover { background: var(--gold-bg-hover); border-color: var(--gold-border-hover); }
.google-badge { background: white; border-color: rgba(79,111,232,0.25); }
.google-badge:hover { background: var(--off-white); border-color: var(--accent); }
.google-badge .hg-logo { background: #4285f4; }
.hg-stars { color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }
.hg-text { flex: 1; min-width: 0; }
.hg-text strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.hg-text span   { font-size: 0.72rem; color: var(--gray); }
.hg-logo {
    background: #00b388;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}


/* ── HOMEPAGE: SLEEP SPLIT POINTS ──────────────────────────────────── */
.sleep-split-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 28px;
}
.sleep-split-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.sleep-split-point .drre-icon { width: 16px; height: 16px; color: #34d399; flex-shrink: 0; }
.sleep-split-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 16px;
}
.sleep-split-stat {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 14px 12px;
    background: rgba(255,255,255,0.08);
}
.sleep-split-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}
.sleep-split-stat span {
    display: block;
    color: rgba(255,255,255,0.72);
    font-size: 0.74rem;
    line-height: 1.45;
}
.sleep-split-compare {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
}
.sleep-split-compare-item {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    align-items: start;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 10px;
}
.sleep-split-compare-item strong {
    color: white;
    font-size: 0.84rem;
}
.sleep-split-compare-item span {
    color: rgba(255,255,255,0.72);
    font-size: 0.84rem;
    line-height: 1.55;
}
.sleep-split-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.split-content .sleep-split-actions .btn-secondary {
    color: white;
    border-color: rgba(255,255,255,0.45);
    background: transparent;
}
.split-content .sleep-split-actions .btn-secondary:hover {
    background: white;
    color: var(--accent);
    border-color: white;
}


/* ── HOMEPAGE: REVIEW STARS + HG WIDGET ───────────────────────────── */
.review-stars { color: var(--gold); font-size: 0.88rem; margin-bottom: 10px; }

.hg-widget-stars { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.hg-widget-info  { display: flex; flex-direction: column; gap: 2px; }
.hg-widget-info strong { font-size: 0.95rem; font-weight: 700; color: var(--gold-text); }
.hg-widget-info span   { font-size: 0.8rem; color: var(--gold-muted); }
.hg-widget-link { font-size: 0.84rem; font-weight: 600; color: var(--gold-text); margin-left: auto; white-space: nowrap; }

/* review author line */
.hp-review-card .review-author { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.hp-review-card .review-source { font-size: 0.74rem; color: var(--gray); margin-top: 2px; }


@media (max-width: 1024px) {
    .primary-nav    { display: none; }
    .header-phone   { display: none; }
    .btn-book       { display: none; }
    .nav-toggle     { display: flex; margin-left: auto; }
    .header-actions { margin-left: 0; gap: 0; }
    .hp-reviews-grid { grid-template-columns: repeat(2, 1fr); }

    .site-header {
        height: var(--header-h);
    }

    .header-inner {
        padding: 0 18px;
        gap: 12px;
    }

    .site-logo,
    .logo-text {
        min-width: 0;
    }

    .logo-name {
        max-width: calc(100vw - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logo-tagline {
        display: none;
    }

    .nav-toggle {
        width: 48px;
        height: 48px;
        padding: 12px;
        border-radius: 12px;
        background: var(--off-white);
        border: 1px solid rgba(26,43,74,0.08);
    }

    .mobile-nav-overlay {
        inset: 0;
        width: 100vw;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        box-shadow: none;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
    }

    .mobile-nav-overlay.is-open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .mobile-nav-close {
        top: calc(14px + env(safe-area-inset-top));
        right: 18px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .mobile-nav-logo {
        min-height: 78px;
        padding: calc(16px + env(safe-area-inset-top)) 78px 16px 20px;
        border-bottom: 1px solid rgba(26,43,74,0.08);
    }

    .mobile-nav-logo .logo-icon {
        width: 40px;
        height: 40px;
    }

    .mobile-nav-logo span {
        font-size: 1.08rem;
    }

    .mobile-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 22px 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav .mobile-menu,
    .mobile-nav .nav-menu {
        width: min(100%, 360px);
        display: flex;
        flex-direction: column;
        gap: 12px;
        list-style: none;
    }

    .mobile-nav .mobile-menu .sub-menu,
    .mobile-nav .nav-menu .sub-menu {
        display: none;
    }

    .mobile-nav .mobile-menu a,
    .mobile-nav .nav-menu a {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        padding: 14px 18px;
        border-radius: 14px;
        background: var(--off-white);
        color: var(--navy);
        font-size: 1.06rem;
        font-weight: 800;
        line-height: 1.2;
        text-align: center;
        box-shadow: inset 0 0 0 1px rgba(26,43,74,0.06);
    }

    .mobile-nav .mobile-menu a:hover,
    .mobile-nav .mobile-menu a:focus-visible,
    .mobile-nav .mobile-menu .current-menu-item > a,
    .mobile-nav .mobile-menu .current_page_item > a,
    .mobile-nav .nav-menu a:hover,
    .mobile-nav .nav-menu a:focus-visible,
    .mobile-nav .nav-menu .current-menu-item > a,
    .mobile-nav .nav-menu .current_page_item > a {
        color: white;
        background: var(--navy);
        transform: none;
        outline: none;
    }

    .mobile-nav-footer {
        position: sticky;
        bottom: 0;
        padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
        gap: 10px;
        border-top: 1px solid rgba(26,43,74,0.08);
        background: rgba(255,255,255,0.98);
        box-shadow: 0 -12px 34px rgba(26,43,74,0.08);
    }

    .mobile-nav-book {
        min-height: 56px;
        border-radius: 14px;
        background: var(--accent);
        color: white;
        font-size: 1.06rem;
        font-weight: 900;
        letter-spacing: 0;
        box-shadow: 0 14px 34px rgba(79,111,232,0.34);
    }

    .mobile-nav-book:hover,
    .mobile-nav-book:focus-visible {
        background: var(--blue);
        transform: none;
        outline: none;
    }

    .mobile-nav-phone {
        min-height: 48px;
        border-radius: 14px;
        background: transparent;
        color: var(--navy);
        border: 1.5px solid rgba(26,43,74,0.12);
        font-size: 0.96rem;
        font-weight: 700;
        opacity: 0.86;
    }

    .mobile-nav-phone:hover,
    .mobile-nav-phone:focus-visible {
        background: var(--off-white);
        color: var(--navy);
        outline: none;
    }
}

@media (min-width: 1025px) {
    .mobile-nav-overlay,
    .mobile-nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        row-gap: 0;
    }
    .hero-left {
        padding: 26px 0 22px;
    }
    .hero-left-inner {
        width: 100%;
        margin-left: 0;
        padding-left: 5%;
        padding-right: 5%;
    }
    .hero-right {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    .hero-img,
    .hero-img-placeholder {
        display: block;
        height: 100%;
        min-height: 0;
    }
    .hero-overlay-card {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
        padding: 18px 20px;
    }
    .contact-hero {
        padding: 52px 0 48px;
    }

    .split-section  { grid-template-columns: 1fr; }
    .split-img      { min-height: 220px; }
    .split-content  { padding: 64px 0; }
    .sleep-split-stats { grid-template-columns: 1fr; }
    .sleep-split-compare-item { grid-template-columns: 1fr; gap: 4px; }

    .services-grid, .why-grid { grid-template-columns: 1fr; }
    .review-platform-badges { grid-template-columns: 1fr; }

    .hp-about-inner         { grid-template-columns: 1fr; gap: 40px; }
    .hp-about-since         { font-size: 4rem; top: -8px; }
    .hp-about-float-badge   { right: 8px; bottom: -12px; }
    .hp-about-stats         { grid-template-columns: repeat(2, 1fr); }
    .hp-about-verify-badges { flex-direction: column; }
    .license-badge,
    .healthgrades-badge     { flex: unset; width: 100%; }

    .contact-grid       { grid-template-columns: 1fr; }
    .contact-office     { position: static; }
    .contact-info-strip { grid-template-columns: 1fr; }
    .form-row           { grid-template-columns: 1fr; }

    .footer-cols    { grid-template-columns: 1fr 1fr; }
    .footer-bottom  { flex-direction: column; text-align: center; }

    section { padding: 64px 0; }
    .about-section, .section-services, .botox-section, .award-section, .cta-section { padding: 64px 0; }
    .botox-card { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-pillars   { gap: 12px; }
    .hero-btns      { flex-direction: column; }
    .hp-reviews-grid { grid-template-columns: 1fr; }
    .about-stats    { grid-template-columns: 1fr 1fr; }
    .footer-cols    { grid-template-columns: 1fr; }
    .posts-grid     { grid-template-columns: 1fr; }
}
