/* ==========================================================================
   EZPHLEB — Tampa Bay Concierge Mobile Phlebotomy Prototype (v8.0 CRO & A11y)
   Brand Foundation: Deep Medical Navy (#0F1C2E) · Clinical Blue (#0066CC) ·
   EZPHLEB Primary Conversion Red (#C0392B) · Warm Neutral Alabaster (#FAF9F6)
   Progressive Enhancement · Zero Horizontal Overflow · WCAG-Conscious Contrast
   ========================================================================== */

:root {
  /* EZPHLEB Brand Palette */
  --bg-linen: #FAF9F6;          /* Warm neutral alabaster background */
  --bg-sand: #F2F5F8;           /* Soft clinical neutral-blue tint */
  --bg-sand-deep: #E5ECF3;      /* Secondary surface & active tray */
  --bg-paper: #FFFFFF;          /* Pure white card surface */
  --bg-glass: rgba(250, 249, 246, 0.92);
  --bg-glass-strong: rgba(255, 255, 255, 0.95);

  /* Brand Core Colors */
  --brand-navy: #0F1C2E;        /* Deep medical navy */
  --brand-navy-mid: #1A2E45;
  --brand-blue: #0066CC;        /* Primary Clinical Trust Blue for CTAs */
  --brand-blue-hover: #004E9E;  /* Darker clinical blue hover state */
  --brand-blue-soft: #EBF3FA;
  --brand-red: #C0392B;         /* Reserved only for EZPHLEB logo wordmark */
  --brand-teal: #0F6E56;        /* Supporting status green */
  --brand-teal-bg: #ECFDF5;

  /* Ink Hierarchy */
  --ink-primary: #0F1C2E;
  --ink-secondary: #435365;
  --ink-muted: #64748B;

  /* Typography */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii & Restrained Borders */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --rule-light: 1px solid rgba(15, 28, 46, 0.09);
  --rule-strong: 1px solid rgba(15, 28, 46, 0.16);

  /* Restrained Clinical Shadows */
  --shadow-soft: 0 4px 18px rgba(15, 28, 46, 0.06);
  --shadow-sheet: 0 12px 36px rgba(15, 28, 46, 0.09);
  --shadow-luxury: 0 20px 52px rgba(15, 28, 46, 0.12);

  /* Fast, Accessible Transitions (150ms–250ms) */
  --transition-fast: 180ms cubic-bezier(0.2, 0, 0, 1);
  --transition-base: 240ms cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-linen);
  color: var(--ink-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

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

/* Visible Keyboard Focus Across All Interactive Elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--brand-navy);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

/* Anchor Offset for Sticky Header */
section[id] {
  scroll-margin-top: 104px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, .editorial-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: break-word;
}

p {
  max-width: 65ch;
  overflow-wrap: break-word;
}

/* ==========================================================================
   1. STICKY HEADER & NAVIGATION (Desktop, Tablet <=1080px, Mobile)
   ========================================================================== */
.warm-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: var(--rule-light);
  transition: box-shadow var(--transition-base);
}

.warm-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.warm-nav-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 28px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  min-height: 44px;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  white-space: nowrap;
}

.brand-name span {
  color: var(--brand-red);
}

.brand-location-tag {
  font-size: 0.74rem;
  color: var(--ink-secondary);
  font-weight: 500;
  white-space: nowrap;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand-navy);
  background: rgba(15, 28, 46, 0.05);
}

.nav-links a.nav-lang-es {
  color: var(--brand-blue);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: var(--rule-strong);
  background: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-navy);
  white-space: nowrap;
}

.nav-phone:hover {
  border-color: var(--brand-navy);
  background: var(--bg-sand);
}

.nav-phone-short,
.nav-book-short {
  display: none;
}

/* Mobile Menu Toggle Button */
.menu-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: var(--rule-strong);
  background: #FFFFFF;
  color: var(--brand-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle-btn[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle-btn[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Dropdown Drawer */
.mobile-nav-drawer {
  display: none;
  background: #FFFFFF;
  border-bottom: var(--rule-strong);
  box-shadow: var(--shadow-sheet);
  padding: 16px 24px 24px;
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 4px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--brand-navy);
  border-bottom: var(--rule-light);
}

.mobile-nav-list li:last-child a {
  border-bottom: none;
}

.mobile-nav-cta-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: var(--rule-light);
}

/* ==========================================================================
   BUTTONS — Luxury Editorial & Apple-Style CTA System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  position: relative;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base),
    color var(--transition-base);
}

.btn-sm {
  min-height: 44px;
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* Official Primary CTA: Azul Petróleo Clínico (#1E4E68 → #133549) + Apple Luxury Pill */
.btn-primary {
  background: linear-gradient(180deg, #1E4E68 0%, #133549 100%);
  color: #FAF9F6;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px -4px rgba(19, 53, 73, 0.3),
    0 2px 6px rgba(15, 28, 46, 0.12);
}

.btn-primary::after {
  content: "→";
  font-size: 0.95em;
  opacity: 0.85;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #245B78 0%, #174058 100%);
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 26px -4px rgba(19, 53, 73, 0.36),
    0 4px 10px rgba(15, 28, 46, 0.14);
}

.btn-primary:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--brand-navy);
  border-color: rgba(15, 28, 46, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 14px rgba(15, 28, 46, 0.05);
}

.btn-outline:hover {
  background: #FFFFFF;
  border-color: rgba(15, 28, 46, 0.38);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 28, 46, 0.09);
}

/* ==========================================================================
   2. EDITORIAL HEALTHCARE HERO + FRAMED CLINICAL PHOTO STAGE
   ========================================================================== */
.hero-warm {
  position: relative;
  padding: 52px 0 64px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(243, 240, 234, 0.9) 0%, #FAF9F6 65%);
}

.hero-warm .container {
  position: relative;
  z-index: 2;
}

.hero-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 44px;
}

.hero-content-ambient {
  max-width: 580px;
  min-width: 0;
}

.hero-photo-stage {
  position: relative;
  min-width: 0;
}

.hero-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 28, 46, 0.1);
  background: var(--bg-sand);
  box-shadow:
    0 24px 48px -12px rgba(15, 28, 46, 0.14),
    0 4px 12px rgba(15, 28, 46, 0.06);
}

.hero-photo-frame picture {
  display: block;
  width: 100%;
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

.hero-photo-caption-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #FFFFFF;
  border-top: 1px solid rgba(15, 28, 46, 0.08);
}

.hero-photo-caption-pill .live-dot {
  margin-right: 0;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.hero-photo-caption-pill strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.25;
}

.hero-photo-caption-pill span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

.hero-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brand-blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-blue);
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.45rem, 4.4vw, 4.1rem);
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--brand-navy);
  letter-spacing: -0.025em;
  line-height: 1.07;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.62;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-facts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 20px;
  border-top: var(--rule-strong);
}

.hero-fact {
  min-width: 0;
}

.hero-fact strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.hero-fact span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

/* Supporting Trust Card on Desktop ("Today's Morning Route") */
.dispatch-slip {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: var(--rule-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sheet);
  min-width: 0;
}

.dispatch-slip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: var(--rule-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
  margin-right: 6px;
}

.dispatch-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(15, 28, 46, 0.05);
}

.dispatch-row:last-of-type {
  border-bottom: none;
}

.dispatch-row span:first-child {
  color: var(--ink-secondary);
}

.dispatch-row span:last-child {
  font-weight: 600;
  color: var(--brand-navy);
  text-align: right;
}

.dispatch-handnote {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--brand-navy);
}

/* Mobile Compact 3-Point Trust Strip (Hidden on Desktop, Shown on Mobile) */
.mobile-route-strip {
  display: none;
  background: var(--bg-sand);
  border-top: var(--rule-light);
  border-bottom: var(--rule-light);
  padding: 14px 0;
}

.mobile-route-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.mobile-route-points li {
  background: #FFFFFF;
  border: var(--rule-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-secondary);
}

.mobile-route-points strong {
  display: block;
  color: var(--brand-navy);
  font-size: 0.82rem;
  margin-bottom: 2px;
}

/* ==========================================================================
   3. INTERACTIVE PATIENT SELECTOR ("What is sitting on your kitchen counter?")
   Zero Horizontal Overflow · Semantic Tabs · Keyboard Operable
   ========================================================================== */
.triage-section {
  padding: 88px 0 80px;
  width: 100%;
  max-width: 100%;
}

.editorial-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: var(--rule-light);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 400;
}

.section-lead {
  font-size: 1.04rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.triage-ledger {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  background: var(--bg-sand);
  padding: 18px;
  border-radius: var(--radius-xl);
  border: var(--rule-light);
  width: 100%;
  max-width: 100%;
}

.triage-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.triage-tab {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px 26px;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-sans);
}

.triage-tab:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 28, 46, 0.14);
}

.triage-tab[aria-selected="true"] {
  background: var(--bg-paper);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-soft);
}

.triage-tab-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-muted);
  min-width: 26px;
  flex-shrink: 0;
}

.triage-tab[aria-selected="true"] .triage-tab-num {
  color: var(--brand-blue);
  font-weight: 600;
}

.triage-tab-body {
  min-width: 0;
  flex: 1;
}

.triage-tab-body h3 {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  margin-bottom: 6px;
  color: var(--brand-navy);
  overflow-wrap: break-word;
}

.triage-tab-body p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  overflow-wrap: break-word;
}

.triage-detail-sheet {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sheet);
  border: var(--rule-light);
  transition: opacity var(--transition-fast);
}

.triage-detail-sheet.is-switching {
  opacity: 0.4;
}

.sheet-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.triage-detail-sheet h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.85rem;
  margin-bottom: 12px;
  line-height: 1.18;
}

.triage-specs {
  margin: 22px 0 28px;
  background: var(--bg-linen);
  border-radius: var(--radius-md);
  padding: 8px 20px;
  border: var(--rule-light);
  width: 100%;
  max-width: 100%;
}

.triage-spec-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: var(--rule-light);
  font-size: 0.9rem;
}

.triage-spec-row:last-child {
  border-bottom: none;
}

.triage-spec-label {
  font-weight: 600;
  color: var(--ink-secondary);
}

.triage-spec-val {
  color: var(--ink-primary);
  min-width: 0;
  overflow-wrap: break-word;
}

/* Specialty Kits Quick-Access Strip */
.kit-links-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-paper);
  border: var(--rule-light);
  border-radius: var(--radius-md);
}

.kit-links-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-right: 4px;
}

.kit-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-sand);
  border: var(--rule-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.kit-pill-link:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* ==========================================================================
   4. EDITORIAL MAGAZINE SPREAD — PATIENT CARE & REAL GOOGLE REVIEW
   ========================================================================== */
.editorial-care-section {
  padding: 80px 0;
}

.magazine-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.magazine-photo-column {
  position: relative;
  min-width: 0;
}

.magazine-photo-wrap {
  position: relative;
  overflow: visible;
  aspect-ratio: 4 / 3.2;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.magazine-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 86% 80% at 50% 46%, black 35%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.2) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 86% 80% at 50% 46%, black 35%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.2) 82%, transparent 100%);
}

/* Seamless feathering that completely dissolves all borders into the canvas */
.magazine-photo-wrap::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 88% 82% at 50% 46%, transparent 40%, rgba(250, 249, 246, 0.6) 72%, var(--bg-linen) 98%),
    linear-gradient(180deg, var(--bg-linen) 0%, transparent 15%, transparent 68%, var(--bg-linen) 100%),
    linear-gradient(90deg, var(--bg-linen) 0%, transparent 18%, transparent 82%, var(--bg-linen) 100%);
}

.editorial-caption-card {
  margin-top: -36px;
  margin-left: 20px;
  margin-right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 36px -8px rgba(15, 28, 46, 0.12);
}

.editorial-caption-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.editorial-caption-card cite {
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.patient-index-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.patient-index-item {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  border: var(--rule-light);
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
}

.patient-index-item h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--brand-navy);
}

.patient-index-item p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* Lead Phlebotomist Credential Badge */
.phlebotomist-credential-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-paper);
  border: var(--rule-strong);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}

.phlebotomist-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--brand-blue-soft);
}

.phlebotomist-credential-card h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 3px;
}

.phlebotomist-credential-card p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* Authentic Google Reviews Row */
.editorial-reviews-block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: var(--rule-light);
}

.editorial-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.editorial-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-editorial-card {
  background: var(--bg-paper);
  border: var(--rule-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.review-editorial-card p {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.review-editorial-meta {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  font-weight: 600;
}

/* ==========================================================================
   5. TYPICAL MORNING PATIENT JOURNEY
   ========================================================================== */
.chronology-section {
  padding: 80px 0;
  background: var(--bg-sand);
  border-top: var(--rule-light);
  border-bottom: var(--rule-light);
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.timeline-node {
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: var(--rule-light);
  min-width: 0;
}

.clock-stamp {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.timeline-node h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.timeline-node p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   6. DARK NAVY PRICING SECTION — APPROVED FLAT PRICES & MOBILE FIT
   ========================================================================== */
.rate-ledger-section {
  padding: 88px 0;
}

.navy-ledger-board {
  background: linear-gradient(145deg, #132842 0%, #0F1C2E 65%, #091320 100%);
  color: #FAF9F6;
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
  box-shadow: var(--shadow-luxury);
  width: 100%;
  max-width: 100%;
}

.navy-ledger-board h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.3vw, 3rem);
  margin-bottom: 18px;
}

.navy-ledger-board > div > p {
  color: rgba(250, 249, 246, 0.84);
  font-size: 1rem;
  margin-bottom: 24px;
}

.insurance-explainer {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #7CC0FF;
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}

.addon-pills-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.addon-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.addon-pill strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #FFD166;
  flex-shrink: 0;
}

.tariff-sheet {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--bg-paper);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.tariff-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: var(--rule-light);
  gap: 16px;
  min-width: 0;
}

.tariff-row:first-child {
  padding-top: 0;
}

.tariff-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.tariff-info {
  min-width: 0;
  flex: 1;
}

.tariff-info h3 {
  font-size: 1.24rem;
  margin-bottom: 4px;
  color: var(--brand-navy);
}

.tariff-info p {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.tariff-book-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.tariff-book-link:hover {
  text-decoration: underline;
}

.tariff-price-col {
  text-align: right;
  flex-shrink: 0;
}

.tariff-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1.1;
}

.tariff-unit {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* ==========================================================================
   7. FOUR-COUNTY TAMPA BAY SERVICE AREA & SECONDARY REQUEST FORM
   ========================================================================== */
.booking-spread-section {
  padding: 24px 0 88px;
}

.booking-architectural-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.county-table {
  margin: 24px 0;
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  padding: 8px 24px;
  border: var(--rule-light);
}

.county-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: var(--rule-light);
  font-size: 0.9rem;
}

.county-row:last-child {
  border-bottom: none;
}

.county-row strong {
  color: var(--brand-navy);
}

.county-row span {
  color: var(--ink-secondary);
}

.county-row span a {
  color: var(--brand-navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(15, 28, 46, 0.28);
  text-underline-offset: 3px;
}

.county-row span a:hover {
  color: var(--brand-blue);
  text-decoration-color: var(--brand-blue);
}

.provider-support-card {
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--bg-paper);
  border: var(--rule-light);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.provider-support-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.provider-support-card span {
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

.provider-support-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
}

.provider-support-link:hover {
  text-decoration: underline;
}

.zip-verifier-box {
  background: var(--bg-sand);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: var(--rule-light);
}

.zip-verifier-controls {
  display: flex;
  gap: 10px;
}

/* Secondary Request Card */
.request-postcard {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--bg-paper);
  border: var(--rule-strong);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-sheet);
}

.postcard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: var(--rule-light);
}

.field-row {
  margin-bottom: 16px;
}

.field-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.field-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.editorial-input,
.editorial-select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15, 28, 46, 0.18);
  background: var(--bg-linen);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-primary);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.editorial-input:focus,
.editorial-select:focus {
  border-color: var(--brand-blue);
  background: #FFFFFF;
}

.form-disclaimer-note {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  background: var(--bg-sand);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ==========================================================================
   7B. EDITORIAL FAQ SECTION (Accessible Details/Summary Accordion)
   ========================================================================== */
.faq-editorial-section {
  padding: 72px 0;
  background: var(--bg-sand);
  border-top: var(--rule-light);
}

.faq-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.faq-item-editorial {
  background: var(--bg-paper);
  border: var(--rule-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
}

.faq-item-editorial summary {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 28px;
}

.faq-item-editorial summary::-webkit-details-marker {
  display: none;
}

.faq-item-editorial summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.faq-item-editorial[open] summary::after {
  content: "−";
}

.faq-item-editorial p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: var(--rule-light);
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   8. FOOTER (Clean Production URLs)
   ========================================================================== */
.warm-footer {
  padding: 64px 0 48px;
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 44px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: #FFFFFF;
}

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

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   9. PROGRESSIVE ENHANCEMENT MOTION (Content 100% Visible by Default)
   ========================================================================== */
.reveal-editorial {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js-motion-ready .reveal-editorial.is-pending {
    opacity: 0;
    transform: translateY(14px);
  }
  .js-motion-ready .reveal-editorial {
    transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (Tablet <=1080px, Mobile <=768px & 390px)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .menu-toggle-btn {
    display: inline-flex;
  }
  .hero-editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .hero-content-ambient {
    max-width: 100%;
  }
  .triage-ledger,
  .magazine-spread,
  .navy-ledger-board,
  .booking-architectural-grid,
  .faq-editorial-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .editorial-reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .editorial-intro-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .warm-nav-bar {
    padding: 10px 16px;
    min-height: 64px;
    gap: 8px;
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.04rem;
  }

  .brand-location-tag {
    display: none;
  }

  .nav-phone-full,
  .nav-book-full {
    display: none;
  }

  .nav-phone-short,
  .nav-book-short {
    display: inline;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-phone {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .nav-actions .btn-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .nav-actions .btn-sm.btn-primary::after {
    display: none;
  }

  /* Mobile Hero: Compact, High Contrast, Primary CTA + Full-Color Phlebotomist Photo */
  .hero-warm {
    min-height: auto;
    padding: 24px 0 32px;
  }

  .hero-editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .hero-photo-frame {
    border-radius: 18px;
  }

  .hero-photo-caption-pill {
    position: static;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(15, 28, 46, 0.08);
    background: #FFFFFF;
    box-shadow: none;
    padding: 12px 14px;
  }

  .hero-kicker {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 7.2vw, 2.45rem);
    margin-bottom: 12px;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 20px;
    line-height: 1.55;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-facts-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-top: 16px;
  }

  .hero-fact strong {
    font-size: 1.02rem;
  }

  .hero-fact span {
    font-size: 0.75rem;
  }

  /* Hide large desktop route card inside hero; show compact strip below hero */
  .dispatch-slip {
    display: none;
  }

  .mobile-route-strip {
    display: block;
  }

  .mobile-route-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .mobile-route-points li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .mobile-route-points strong {
    margin-bottom: 0;
  }

  /* Patient Selector Mobile Fit */
  .triage-section {
    padding: 52px 0 48px;
  }

  .triage-ledger {
    padding: 12px;
    border-radius: var(--radius-lg);
    gap: 14px;
  }

  .triage-tab {
    padding: 16px 16px;
    gap: 12px;
  }

  .triage-tab-body h3 {
    font-size: 1.2rem;
  }

  .triage-detail-sheet {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .triage-detail-sheet h3 {
    font-size: 1.45rem;
  }

  .triage-specs {
    padding: 6px 14px;
    margin: 18px 0 22px;
  }

  .triage-spec-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 10px 0;
  }

  .triage-detail-sheet .btn {
    width: 100%;
    white-space: normal;
  }

  /* Magazine Care Spread Mobile */
  .editorial-care-section {
    padding: 52px 0;
  }

  .editorial-caption-card {
    margin: -24px 12px 0;
    padding: 18px 20px;
  }

  .patient-index-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 16px;
  }

  .phlebotomist-credential-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .faq-editorial-section {
    padding: 52px 0;
  }

  /* Morning Timeline Mobile */
  .chronology-section {
    padding: 52px 0;
  }

  .timeline-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .timeline-node {
    padding: 22px 20px;
  }

  /* Pricing Section Mobile */
  .rate-ledger-section {
    padding: 52px 0;
  }

  .navy-ledger-board {
    padding: 28px 16px;
    border-radius: var(--radius-lg);
    gap: 28px;
  }

  .addon-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tariff-sheet {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  .tariff-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .tariff-price-col {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .tariff-price {
    font-size: 1.5rem;
  }

  /* Service Area & Request Form Mobile */
  .booking-spread-section {
    padding: 16px 0 56px;
  }

  .county-table {
    padding: 6px 16px;
  }

  .county-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 12px 0;
  }

  .zip-verifier-controls {
    flex-direction: column;
  }

  .zip-verifier-controls .btn {
    width: 100%;
  }

  .request-postcard {
    padding: 24px 18px;
  }

  .field-grid-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .warm-footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   11. FLOATING WHATSAPP PILL (Desktop/Tablet) & MOBILE QUICK-ACTION BAR
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 190;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #128043;
  color: #FFFFFF;
  padding: 11px 18px 11px 13px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: 0 8px 24px rgba(18, 128, 67, 0.34), 0 2px 8px rgba(15, 28, 46, 0.14);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.wa-float:hover {
  background: #0E6B37;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 128, 67, 0.44), 0 4px 12px rgba(15, 28, 46, 0.18);
}

.wa-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.wa-label {
  white-space: nowrap;
}

.ez-actionbar {
  display: none;
}

@media (max-width: 768px) {
  .wa-float {
    display: none !important;
  }

  .ez-actionbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 999;
    display: flex;
    gap: 1px;
    background: #0F1C2E;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 18px rgba(15, 28, 46, 0.28);
    transform: translateY(110%);
    transition: transform 240ms ease;
  }

  .ez-actionbar.is-visible {
    transform: translateY(0);
  }

  .ez-actionbar a {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #FFFFFF;
    background: #15263D;
    white-space: nowrap;
  }

  .ez-actionbar a.ez-ab-book {
    background: linear-gradient(180deg, #1E4E68 0%, #133549 100%);
  }
}

/* ==========================================================================
   HERO CON LA FOTO DE FONDO (20-oct-2026)
   La foto ocupa todo el ancho detrás del texto. Un degradado del color de fondo
   protege la columna de texto y deja a la flebotomista y a la paciente a la vista.
   Se activa con la clase .hero-warm--bg en la sección del hero.
   ========================================================================== */
.hero-warm--bg {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 74vh, 760px);
  padding: 64px 0 72px;
  background: var(--bg-linen);
}

/* El contenedor y la rejilla dejan de posicionar, para que la foto se ancle a la sección entera */
.hero-warm--bg .container,
.hero-warm--bg .hero-editorial-layout {
  position: static;
}

.hero-warm--bg .hero-editorial-layout {
  display: block;
}

.hero-warm--bg .hero-content-ambient {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-warm--bg .hero-photo-stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24%;
  right: -18%;
  z-index: 0;
}

.hero-warm--bg .hero-photo-frame {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.hero-warm--bg .hero-photo-frame picture {
  height: 100%;
}

.hero-warm--bg .hero-photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 40% 35%;
}

/* Degradado: opaco detrás del texto y transparente a partir de la flebotomista */
.hero-warm--bg .hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      var(--bg-linen) 0%,
      rgba(250, 249, 246, 0.97) 14%,
      rgba(250, 249, 246, 0.86) 24%,
      rgba(250, 249, 246, 0.45) 31%,
      rgba(250, 249, 246, 0) 38%),
    linear-gradient(0deg, rgba(250, 249, 246, 0.55) 0%, rgba(250, 249, 246, 0) 22%);
}

/* Etiqueta con el nombre, abajo a la derecha, alineada con el borde del contenedor
   (19,2 % del ancho de la foto = el 18 % que sobresale por la derecha) */
.hero-warm--bg .hero-photo-caption-pill {
  position: absolute;
  z-index: 2;
  right: calc(19.2% + max(28px, (100vw - 1184px) / 2));
  bottom: 44px;
  max-width: 360px;
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(15, 28, 46, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 1080px) {
  /* Móvil y tableta: la foto arriba, a todo el ancho, y se funde con el fondo bajo el texto */
  .hero-warm--bg {
    display: block;
    min-height: 0;
    padding: calc(min(62vw, 480px) - 36px) 0 32px;
  }

  .hero-warm--bg .hero-content-ambient {
    max-width: 100%;
  }

  .hero-warm--bg .hero-photo-stage {
    left: 0;
    right: 0;
    bottom: auto;
    height: min(62vw, 480px);
  }

  .hero-warm--bg .hero-photo-frame img {
    object-position: 45% 30%;
  }

  .hero-warm--bg .hero-photo-frame::after {
    background: linear-gradient(180deg,
      rgba(250, 249, 246, 0) 0%,
      rgba(250, 249, 246, 0) 55%,
      rgba(250, 249, 246, 0.85) 84%,
      var(--bg-linen) 100%);
  }

  .hero-warm--bg .hero-photo-caption-pill {
    top: 12px;
    left: 12px;
    right: auto;
    bottom: auto;
    max-width: calc(100% - 24px);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 28, 46, 0.08);
  }

  .hero-warm--bg .hero-photo-caption-pill span {
    display: none;
  }
}

/* Cabecera entre 1081 y 1340 px: el menú completo no cabe y el botón "Book Appointment"
   se salía por la derecha. En ese tramo se usan las etiquetas cortas ("Call" y "Book")
   y, por debajo de 1150 px, el menú pasa al botón de hamburguesa. */
@media (min-width: 1081px) and (max-width: 1340px) {
  .nav-phone-full,
  .nav-book-full {
    display: none;
  }

  .nav-phone-short,
  .nav-book-short {
    display: inline;
  }
}

@media (min-width: 1081px) and (max-width: 1150px) {
  .nav-links {
    display: none;
  }

  .menu-toggle-btn {
    display: inline-flex;
  }
}

/* En español el menú es más largo: etiquetas cortas hasta 1450 px y hamburguesa hasta 1260 px. */
@media (min-width: 1081px) and (max-width: 1450px) {
  html[lang="es"] .nav-phone-full,
  html[lang="es"] .nav-book-full {
    display: none;
  }

  html[lang="es"] .nav-phone-short,
  html[lang="es"] .nav-book-short {
    display: inline;
  }
}

@media (min-width: 1081px) and (max-width: 1260px) {
  html[lang="es"] .nav-links {
    display: none;
  }

  html[lang="es"] .menu-toggle-btn {
    display: inline-flex;
  }
}

/* Móviles de menos de 360 px (p. ej. iPhone SE antiguo): la cabecera en español no cabía y el botón del menú
   se salía por la derecha. Se oculta el nombre junto al icono del logo; el icono se mantiene. */
@media (max-width: 359px) {
  .warm-nav-bar .brand-wordmark {
    display: none;
  }
}

/* Pie compacto (30-oct-2026) */
.warm-footer{padding:48px 0 32px;}
.footer-grid{gap:24px;margin-bottom:30px;}
.footer-col h3{margin-bottom:10px;}
.footer-col ul{gap:2px;}
.footer-col a{min-height:30px;}
@media (max-width:1080px){.footer-grid>div:first-child{grid-column:1/-1;}}
@media (max-width:768px){
  .warm-footer{padding-top:36px;padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px));}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;}
  .footer-col h3{font-size:0.78rem;}
  .footer-col a{min-height:28px;font-size:0.84rem;}
}

/* Pie de las portadas: "PHLEB" en rojo claro sobre fondo oscuro (30-oct-2026) */
.warm-footer .brand-name span{color:#f87171;}

/* ==========================================================================
   PANTALLAS ANCHAS (11-nov-2026). En monitores de más de 1600 px la columna de
   1240 px dejaba un hueco vacío a la izquierda del encabezado, mientras la foto
   llenaba la derecha. La cabecera y el texto del encabezado se ensanchan de forma
   continua (1240 px a 1600 de ancho, hasta 1560 px a partir de 1920).
   ========================================================================== */
@media (min-width: 1600px) {
  .warm-nav-bar,
  .hero-warm--bg .container {
    max-width: clamp(1240px, calc(100vw - 360px), 1560px);
  }

  .hero-warm--bg .hero-content-ambient {
    max-width: clamp(560px, calc(100vw - 1040px), 660px);
  }

  .hero-warm--bg .hero-title {
    font-size: clamp(4.1rem, calc(1.6vw + 2.5rem), 4.7rem);
  }

  .hero-warm--bg .hero-subtitle {
    font-size: 1.16rem;
    max-width: 580px;
  }

  .hero-warm--bg .hero-photo-caption-pill {
    right: calc(19.2% + max(28px, (100vw - clamp(1240px, calc(100vw - 360px), 1560px)) / 2 + 28px));
  }
}
