/* Whitehaven Dental: shared styles for the emergency pages (emergency-dentist-*.html) */
/* ============================================
   WHITEHAVEN DENTAL - EMERGENCY DENTIST OTTAWA
   Shares the site's Navy + Gold design system
   ============================================ */

:root {
  --primary: #1E4D8C;
  --primary-dark: #152F5A;
  --primary-light: #3066B8;
  --gold: #C9A227;
  --gold-light: #d4b84a;
  --gold-dark: #a8871f;
  --cta: #FBBC04;
  --cta-hover: #ffcc33;

  --white: #ffffff;
  --cream: #FDFBF7;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --danger: #b42318;
  --danger-bg: #fef3f2;
  --danger-border: #fecdca;
  --ok: #067647;
  --ok-bg: #ecfdf3;
  --ok-border: #abefc6;
  --warn: #93370d;
  --warn-bg: #fffaeb;
  --warn-border: #fedf89;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);

  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1.25rem; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 36px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.025em;
  border: none; border-radius: var(--radius-full); cursor: pointer;
  transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--cta); color: #000; }
.btn-primary:hover { background: var(--cta-hover); color: #000; transform: translateY(-2px); box-shadow: 0 10px 40px rgba(251,188,4,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 12px 24px; font-size: 14px; }
.btn-lg { padding: 20px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================
   HEADER (same as site)
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 99999; padding: 5px 0; background-color: #1E4D8C; box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo-img { height: 90px; width: auto; transition: transform 0.3s ease; }
.logo:hover .logo-img { transform: scale(1.04); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 10px 20px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.9); border-radius: var(--radius-full); transition: color 0.3s ease, background 0.3s ease; }
.nav-link:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.nav-link.active { background: rgba(255,255,255,0.15); color: #ffffff; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); }
.nav-phone i { font-size: 14px; }
.nav-link-cta { display: none; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: #ffffff; transition: background 0.3s ease; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(201,162,39,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 140px 0 70px;
}
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* Live open / closed status */
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; margin-bottom: 24px;
  border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-400); flex-shrink: 0; }
.status-pill.is-open .status-dot { background: #32d583; box-shadow: 0 0 0 4px rgba(50,213,131,0.25); animation: pulse 2s infinite; }
.status-pill.is-closed .status-dot { background: var(--cta); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } } /* opacity only: no repaint while it runs */
@media (prefers-reduced-motion: reduce) { .status-pill.is-open .status-dot { animation: none; } html { scroll-behavior: auto; } }

.hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { color: var(--gold); }
.hero-text { font-size: 1.125rem; color: rgba(255,255,255,0.88); line-height: 1.8; margin-bottom: 32px; max-width: 580px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-911 {
  margin-top: 28px; max-width: 580px;
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.75);
  padding-left: 14px; border-left: 3px solid var(--cta);
}
.hero-911 strong { color: var(--white); }

/* Open / closed switching (no JS = open/call-first version) */
.when-closed, .when-closed-inline { display: none; }
body.is-closed .when-open, body.is-closed .when-open-inline { display: none; }
body.is-closed .when-closed { display: block; }
body.is-closed .hero-buttons.when-closed { display: flex; }
body.is-closed .when-closed-inline { display: inline; }

/* Form card (request section) */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}
.form-card h2 { font-size: 1.75rem; margin-bottom: 6px; }
.form-card .form-lead { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group label .optional { font-weight: 400; color: var(--gray-500); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  font-family: var(--font-body); font-size: 16px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  transition: var(--transition); background: var(--white); color: var(--gray-800);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-disclaimer { font-size: 13px; color: var(--gray-500); margin: 14px 0 0; text-align: center; line-height: 1.5; }
.form-or {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 0;
  font-size: 13px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px;
}
.form-or::before, .form-or::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.form-call { display: flex; justify-content: center; margin-top: 14px; }
.form-call a { font-weight: 700; font-size: 1.125rem; display: inline-flex; gap: 10px; align-items: center; }

.form-status { display: none; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; line-height: 1.5; }
.form-status.show { display: flex; gap: 12px; align-items: flex-start; }
.form-status i { flex-shrink: 0; margin-top: 2px; font-size: 18px; }
.form-status.success { background: var(--ok-bg); border: 1px solid var(--ok-border); color: var(--ok); }
.form-status.error { background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger); }
.form-status strong { display: block; margin-bottom: 2px; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar { background: var(--cream); border-bottom: 1px solid var(--gray-200); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--gray-700); line-height: 1.35; }
.trust-item i { color: var(--gold); font-size: 20px; width: 24px; text-align: center; flex-shrink: 0; }

/* ============================================
   SECTIONS
   ============================================ */
main { position: relative; z-index: 1; }
.section { padding: 80px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--primary); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gold-dark); margin-bottom: 14px;
}
.section-title { margin-bottom: 18px; }
.section-subtitle { font-size: 1.125rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 0; }

/* Triage: is this an emergency */
.triage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.triage-card { border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid; }
.triage-card h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.triage-card .triage-sub { font-size: 14px; margin-bottom: 16px; }
.triage-card ul { list-style: none; }
.triage-card li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15px; line-height: 1.55; color: var(--gray-700); }
.triage-card li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; }
.triage-card .triage-action { margin-top: 18px; font-weight: 700; font-size: 15px; }
.triage-er { background: var(--danger-bg); border-color: var(--danger-border); }
.triage-er h3, .triage-er .triage-sub, .triage-er .triage-action { color: var(--danger); }
.triage-er li::before { background: var(--danger); }
.triage-now { background: var(--warn-bg); border-color: var(--warn-border); }
.triage-now h3, .triage-now .triage-sub, .triage-now .triage-action { color: var(--warn); }
.triage-now li::before { background: var(--warn); }
.triage-now .triage-action a { color: var(--warn); text-decoration: underline; }
.triage-soon { background: var(--ok-bg); border-color: var(--ok-border); }
.triage-soon h3, .triage-soon .triage-sub, .triage-soon .triage-action { color: var(--ok); }
.triage-soon li::before { background: var(--ok); }

.first-aid { background: var(--cream); border-radius: var(--radius); padding: 16px 18px; }
.first-aid h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-dark); margin-bottom: 8px; }
.first-aid ol { padding-left: 18px; }
.first-aid li { font-size: 14px; color: var(--gray-700); margin-bottom: 6px; line-height: 1.55; }
.first-aid li:last-child { margin-bottom: 0; }

/* After hours / 24 hour */
.afterhours-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.hours-card { background: var(--primary); color: var(--white); border-radius: var(--radius-xl); padding: 36px; }
.hours-card h3 { color: var(--white); margin-bottom: 18px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table th, .hours-table td { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); text-align: left; font-weight: 500; }
.hours-table td { text-align: right; color: rgba(255,255,255,0.9); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--cta); font-weight: 700; }
.hours-note { font-size: 14px; color: rgba(255,255,255,0.75); margin: 18px 0 22px; }
.options-list { display: flex; flex-direction: column; gap: 16px; }
.option {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 24px;
}
.option-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.option-icon.gold { background: rgba(201,162,39,0.15); color: var(--gold-dark); }
.option-icon.blue { background: rgba(30,77,140,0.1); color: var(--primary); }
.option-icon.red { background: var(--danger-bg); color: var(--danger); }
.option h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.option p { font-size: 15px; color: var(--gray-600); margin-bottom: 0; }
.option a.option-phone { font-weight: 700; }

/* Coverage */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coverage-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 28px; }
.coverage-card h3 { font-size: 1.3rem; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.coverage-card h3 i { color: var(--gold); font-size: 1.1rem; }
.coverage-card p { font-size: 15px; color: var(--gray-600); margin-bottom: 0; }
/* Direct billing strip (insurer names as text: no third-party logos) */
.billing-strip {
  margin-top: 32px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow);
}
.billing-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.billing-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.15); color: var(--gold-dark); font-size: 1.3rem;
}
.billing-head h3 { font-size: 1.4rem; margin-bottom: 4px; }
.billing-head p { font-size: 15px; color: var(--gray-600); margin: 0; }
.billing-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.billing-list li {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--cream); border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; color: var(--primary-dark); line-height: 1.3;
}
.billing-list li i { color: var(--ok); font-size: 15px; flex-shrink: 0; }
.billing-list li.billing-more { background: var(--white); border-style: dashed; color: var(--gray-600); font-weight: 500; }
.billing-list li.billing-more i { color: var(--gold-dark); }
.billing-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-200);
}
.billing-foot p { margin: 0; font-size: 15px; color: var(--gray-600); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.billing-foot a { font-weight: 700; }
.billing-cdcp {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: var(--primary); color: var(--white); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
}
.billing-cdcp i { color: var(--gold); }
@media (max-width: 1024px) { .billing-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .billing-strip { padding: 22px 16px; }
  .billing-head { flex-direction: column; gap: 12px; }
  .billing-list li { padding: 12px; font-size: 14px; }
}

/* Doctor */
.doctor-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.doctor-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.doctor-image img { width: 100%; height: 480px; object-fit: cover; object-position: center top; background: var(--gray-200); }
.doctor-content h2 { margin-bottom: 20px; }
.doctor-content p { color: var(--gray-600); }
.why-list { list-style: none; margin: 4px 0 0; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 16px; color: var(--gray-700); line-height: 1.55; }
.why-list i { color: var(--gold); margin-top: 5px; }
.doctor-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.doctor-fact-number { font-family: var(--font-display); font-size: 2.25rem; color: var(--gold); line-height: 1; }
.doctor-fact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-top: 6px; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
.location-info h2 { margin-bottom: 18px; }
.location-info p { color: var(--gray-600); }
.location-list { list-style: none; margin: 8px 0 24px; }
.location-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; color: var(--gray-700); }
.location-list i { color: var(--gold); margin-top: 5px; width: 18px; text-align: center; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 8px 16px; background: var(--cream); border-radius: var(--radius-full); font-size: 14px; font-weight: 500; color: var(--gray-700); }
.map-wrapper { border-radius: var(--radius-xl); overflow: hidden; min-height: 380px; box-shadow: var(--shadow-lg); background: var(--gray-100); }
.map-wrapper iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--gold); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 26px; background: none; border: none; text-align: left;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--primary); cursor: pointer; transition: var(--transition);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question i {
  flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--cream); border-radius: 50%; font-size: 14px; color: var(--gold); transition: var(--transition);
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 26px 22px; font-size: 15px; color: var(--gray-600); line-height: 1.75; display: none; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.active .faq-answer { display: block; }

/* Request section */
.request-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.request-copy h2 { color: var(--white); margin-bottom: 18px; }
.request-copy p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.request-copy .big-phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); color: var(--cta); margin: 8px 0 20px; }
.request-copy .big-phone:hover { color: var(--white); }
.request-points { list-style: none; }
.request-points li { display: flex; gap: 12px; color: rgba(255,255,255,0.9); margin-bottom: 10px; font-size: 15px; }
.request-points i { color: var(--gold); margin-top: 6px; }


/* ============================================
   FOOTER (same as site)
   ============================================ */
.footer { background: var(--gray-900); color: rgba(255,255,255,0.7); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 40px; }
.footer-logo { height: 90px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.footer h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { font-size: 15px; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; margin-bottom: 16px; }
.footer-contact i { color: var(--gold); margin-top: 4px; width: 16px; }
.footer-contact a { color: rgba(255,255,255,0.9); }
.footer-contact a:hover { color: var(--gold); }
.google-review-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; margin-bottom: 0; }
.google-review-content { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.google-stars { display: flex; gap: 3px; color: #FBBC04; font-size: 16px; }
.google-review-content span { font-size: 15px; color: rgba(255,255,255,0.8); }
.google-review-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; background: #FBBC04; color: #1a1a1a; border-radius: 9999px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; }
.google-review-btn:hover { background: #ffffff; color: #1a1a1a; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.footer-insurance { font-size: 13px; color: rgba(255,255,255,0.5); }

/* Sticky mobile call bar */
.mobile-bar { display: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .triage-grid, .emergency-grid, .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .triage-er { grid-column: span 2; }
  .afterhours-grid, .doctor-grid, .location-grid, .request-grid, .answer-wrap { grid-template-columns: 1fr; }
  
  .doctor-image img { height: 420px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .container { padding: 0 16px; }
  .header { padding: 12px 0; }
  .logo-img { height: 60px; }
  .nav { display: none; position: fixed; top: 84px; left: 0; right: 0; background: #1E4D8C; padding: 20px; flex-direction: column; box-shadow: var(--shadow-lg); z-index: 99998; }
  .nav.active { display: flex; }
  .nav-link { color: rgba(255,255,255,0.9); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.2); border-radius: 0; background: transparent; }
  .nav-link.active { background: transparent; color: #FBBC04; font-weight: 700; }
  .nav-cta { display: flex; gap: 8px; margin-left: auto; }
  .nav-cta .btn { display: none; }
  .nav-phone { width: 42px; height: 42px; padding: 0; gap: 0; background: rgba(255,194,0,0.15); border: 1px solid rgba(255,194,0,0.35); border-radius: 50%; justify-content: center; font-size: 0; color: var(--gold); }
  .nav-phone i { font-size: 16px; }
  .nav-link-cta { display: flex !important; justify-content: center; background: #FBBC04; color: #000 !important; font-weight: 700; letter-spacing: 0.5px; border-radius: 9999px; padding: 14px 20px !important; margin-top: 16px; border-bottom: none !important; }
  .mobile-toggle { display: flex; }

  .hero-grid { padding: 110px 0 48px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-buttons .btn { width: 100%; }
  
  .form-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 56px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .triage-grid, .emergency-grid, .coverage-grid, .steps-grid { grid-template-columns: 1fr; }
  .triage-er { grid-column: auto; }
  
  .hours-card { padding: 28px 22px; }
  .option { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .option-icon { width: 44px; height: 44px; font-size: 1.05rem; }
  .doctor-image img { height: 360px; }
  .doctor-facts { gap: 12px; }
  .faq-question { padding: 18px 20px; font-size: 1rem; }
  .faq-answer { padding: 0 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  
  
  .mobile-bar {
    display: grid; grid-template-columns: 1.8fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); box-shadow: 0 -6px 24px rgba(0,0,0,0.12);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 10px; border-radius: var(--radius-full); font-weight: 700; font-size: 15px;
  }
  .mobile-bar .bar-call { background: var(--cta); color: #000; }
  .mobile-bar .bar-form { background: var(--primary); color: var(--white); }
  /* Closed: the callback request becomes the main action */
  body.is-closed .mobile-bar { grid-template-columns: 1fr 1.8fr; }
  body.is-closed .mobile-bar .bar-call { background: var(--primary); color: var(--white); }
  body.is-closed .mobile-bar .bar-form { background: var(--cta); color: #000; }
}

/* ============================================
   CONVERSION DESIGN LAYER
   Doctor's face + one obvious action, symptom-first guidance
   ============================================ */

/* Open / closed: buttons keep their inline layout when switched on */
body.is-closed .btn.when-closed { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(201,162,39,0.20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(48,102,184,0.35), transparent 60%),
    linear-gradient(140deg, #1E4D8C 0%, #163a6b 55%, #0f2547 100%);
}
.hero::before { display: none; }
.hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 64px; padding: 140px 0 84px; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); margin-bottom: 18px; }
.hero-text { max-width: 560px; margin-bottom: 30px; }

.hero-call {
  display: flex; align-items: center; gap: 18px; width: 100%; max-width: 520px;
  padding: 12px 28px 12px 12px; border-radius: var(--radius-full);
  background: var(--cta); color: #000;
  box-shadow: 0 18px 44px rgba(251,188,4,0.38), inset 0 -3px 0 rgba(0,0,0,0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.hero-call:hover { transform: translateY(-2px); background: var(--cta-hover); color: #000; box-shadow: 0 22px 52px rgba(251,188,4,0.45); }
.hero-call:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.hero-call-icon {
  position: relative; flex-shrink: 0; width: 62px; height: 62px; border-radius: 50%;
  background: #0b1b33; color: var(--cta); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.hero-call-icon::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(11,27,51,0.35); animation: callRing 2.2s ease-out infinite;
}
@keyframes callRing { 0% { transform: scale(0.92); opacity: 1; } 100% { transform: scale(1.32); opacity: 0; } }
.hero-call-text { display: flex; flex-direction: column; line-height: 1.1; }
.hero-call-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; opacity: 0.72; margin-bottom: 4px; }
.hero-call-number { font-size: clamp(1.75rem, 3.3vw, 2.35rem); font-weight: 800; letter-spacing: 0.5px; }
.hero-call-arrow { margin-left: auto; font-size: 20px; opacity: 0.8; transition: transform 0.2s; }
.hero-call:hover .hero-call-arrow { transform: translateX(4px); }
.hero-callback { margin: 14px 0 28px 10px; font-size: 15px; color: rgba(255,255,255,0.78); }
.hero-callback a { color: var(--cta); text-decoration: underline; font-weight: 600; }
.hero-callback a:hover { color: var(--white); }

.hero-closed-note {
  display: flex; gap: 14px; align-items: flex-start; max-width: 560px; margin-bottom: 20px;
  padding: 16px 20px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.92);
}
.hero-closed-note i { color: var(--cta); margin-top: 5px; }
.hero-closed-note p { margin: 0; font-size: 16px; line-height: 1.6; }
.hero-closed-note strong { color: var(--white); }
.when-closed .hero-buttons { margin-bottom: 28px; }

.hero-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; max-width: 580px; }
.hero-assure li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92); font-size: 14px; font-weight: 500;
}
.hero-assure i { color: var(--gold); font-size: 13px; }

/* Portrait */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 450px; }
.hero-visual::before {
  content: ''; position: absolute; top: -26px; right: -26px; width: 150px; height: 150px; border-radius: 50%;
  border: 2px dashed rgba(201,162,39,0.55); pointer-events: none;
}
.hero-portrait { position: relative; margin: 0; }
.hero-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 32px; border: 6px solid rgba(255,255,255,0.10);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,0.55); background: var(--primary-light);
}
.portrait-plate {
  position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column;
  padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.portrait-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); line-height: 1.2; }
.portrait-role { font-size: 14px; color: var(--gray-600); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-xl);
  font-size: 14px; color: var(--gray-800);
}
.float-status { top: 26px; left: -30px; font-weight: 700; }
.float-status .status-dot { background: var(--gray-400); }
body.is-open .float-status .status-dot { background: #12b76a; box-shadow: 0 0 0 4px rgba(18,183,106,0.2); animation: pulse 2s infinite; }
body.is-closed .float-status .status-dot { background: var(--cta); }
.float-lang { bottom: 118px; right: -40px; max-width: 250px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.float-lang i {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.15); color: var(--gold-dark); font-size: 15px;
}
.float-lang strong { display: block; font-size: 14px; color: var(--primary); }

/* ---------- Answer-first row ---------- */
.section-tight { padding: 56px 0; }
.answer-title { text-align: center; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 28px; }
.answer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.answer-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.answer-card p { margin: 0; font-size: 15px; color: var(--gray-700); line-height: 1.7; }
.answer-card a { font-weight: 700; }
.answer-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold-dark); }
.answer-primary { border-top: 4px solid var(--cta); }
.answer-danger { background: var(--danger-bg); border-color: var(--danger-border); }
.answer-danger .answer-kicker { color: var(--danger); }

/* ---------- Symptom picker ---------- */
.symptom-tabs { display: none; }
.symptoms.js-tabs .symptom-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.symptom-tab {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px;
  background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-lg);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--gray-700); line-height: 1.3; text-align: center;
  cursor: pointer; transition: var(--transition);
}
.symptom-tab i {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.13); color: var(--gold-dark); font-size: 20px; transition: var(--transition);
}
.symptom-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.symptom-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: var(--shadow-lg); }
.symptom-tab[aria-selected="true"] i { background: rgba(255,255,255,0.14); color: var(--cta); }
.symptom-tab:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.symptom-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; margin-bottom: 20px;
  padding: 36px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
}
.symptoms.js-tabs .symptom-panel { display: none; margin-bottom: 0; }
.symptoms.js-tabs .symptom-panel.active { display: grid; animation: panelIn 0.35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.symptom-main h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 14px 0 12px; }
.symptom-main p { font-size: 16px; color: var(--gray-600); margin-bottom: 24px; }
.urgency { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-full); font-size: 13px; font-weight: 700; border: 1px solid; }
.urgency-high { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-border); }
.urgency-today { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-border); }
.urgency-soon { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-border); }
.symptom-panel .first-aid { background: var(--cream); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px 26px; }
.symptom-panel .first-aid h4 { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 12px; }
.symptom-panel .first-aid li { font-size: 15px; margin-bottom: 10px; }

/* ---------- Visit journey ---------- */
.journey { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: journey; }
.journey::before {
  content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}
.journey-step { position: relative; text-align: center; padding: 0 6px; }
.journey-icon {
  position: relative; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: var(--primary); color: var(--cta); box-shadow: 0 0 0 8px var(--white), var(--shadow-lg);
}
.journey-icon::after {
  counter-increment: journey; content: counter(journey);
  position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cta); color: #000; font-size: 13px; font-weight: 700;
}
.journey-step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.journey-step p { font-size: 15px; color: var(--gray-600); margin: 0; }
.journey-cta { text-align: center; margin-top: 44px; }

/* ---------- Team photo section ---------- */
.doctor-grid { grid-template-columns: 1.05fr 0.95fr; }
.doctor-image { position: relative; }
.doctor-image img { height: auto; aspect-ratio: 3 / 2; object-position: center 30%; }
.doctor-image-tag {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-full); background: var(--white); box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600; color: var(--gray-800);
}
.doctor-image-tag i { color: var(--gold-dark); }

/* ---------- Mid-page call band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 44px 0; }
.cta-band-inner { display: flex; align-items: center; gap: 28px; }
.cta-band-avatar { width: 88px; height: 88px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--gold); }
.cta-band-copy { flex: 1; }
.cta-band-copy h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-band-copy p { color: rgba(255,255,255,0.82); margin: 0; }
.cta-band-copy strong { color: var(--white); }
.cta-band .btn { flex-shrink: 0; }

/* ---------- Location actions ---------- */
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }

/* ---------- Gentle scroll reveal (only when JS + motion allowed) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-call-icon::after, body.is-open .float-status .status-dot { animation: none; }
  .symptoms.js-tabs .symptom-panel.active { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .float-status { left: -12px; }
  .float-lang { right: -12px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding: 124px 0 56px; }
  /* Mobile/tablet: the doctor becomes a compact "your dentist" badge above the headline */
  .hero-visual { order: -1; max-width: none; justify-self: stretch; margin-bottom: 20px; }
  .hero-visual::before, .float-card { display: none; }
  .hero-portrait { display: flex; align-items: center; gap: 14px; }
  .hero-portrait img { width: 68px; height: 68px; aspect-ratio: auto; border-radius: 50%; border: 3px solid var(--gold); box-shadow: none; object-position: center 18%; }
  .portrait-plate { position: static; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .portrait-name { color: var(--white); font-size: 1.2rem; }
  .portrait-role { color: rgba(255,255,255,0.75); }
  .answer-grid { grid-template-columns: 1fr; }
  .symptoms.js-tabs .symptom-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .symptom-panel { grid-template-columns: 1fr; gap: 24px; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .journey::before { display: none; }
  .doctor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-grid { padding: 104px 0 44px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-text { font-size: 1.02rem; margin-bottom: 24px; }
  .hero-call { padding: 10px 18px 10px 10px; gap: 14px; }
  .hero-call-icon { width: 54px; height: 54px; font-size: 19px; }
  .hero-call-number { font-size: 1.65rem; }
  .hero-callback { text-align: center; margin-left: 0; }
  .when-closed .hero-buttons .btn { width: 100%; }
  .hero-assure li { font-size: 13px; padding: 7px 12px; }
  .section-tight { padding: 44px 0; }
  .symptoms.js-tabs .symptom-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .symptom-tab { flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px; font-size: 14px; gap: 10px; }
  .symptom-tab i { width: 38px; height: 38px; font-size: 16px; flex-shrink: 0; }
  .symptom-panel { padding: 24px 18px; }
  .symptom-main .btn { width: 100%; padding: 18px 16px; font-size: 15px; }
  .symptom-panel .first-aid { padding: 20px; }
  .journey { grid-template-columns: 1fr; }
  .journey-cta .btn { width: 100%; }
  .doctor-image-tag { left: 12px; bottom: 12px; font-size: 13px; }
  .cta-band-inner { flex-direction: column; text-align: center; gap: 18px; }
  .cta-band .btn { width: 100%; }
  .location-actions .btn { flex: 1 1 100%; }
}

/* Compact header between tablet and laptop widths (keeps 6 menu items on one line) */
@media (min-width: 769px) and (max-width: 1200px) {
  .logo { flex-shrink: 0; }
  .logo-img { height: 64px; }
  .nav { gap: 0; }
  .nav-link { padding: 8px 10px; font-size: 14px; white-space: nowrap; }
  .nav-cta { gap: 10px; flex-shrink: 0; }
  .nav-phone { width: 40px; height: 40px; gap: 0; font-size: 0; justify-content: center; border: 1px solid rgba(255,194,0,0.35); border-radius: 50%; }
  .nav-phone i { font-size: 15px; }
  .nav-cta .btn { white-space: nowrap; padding: 11px 16px; font-size: 13px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .nav-link[href="index.html"] { display: none; } /* logo already links home */
}

/* ============================================
   AREA PAGES (emergency-dentist-nepean/kanata/barrhaven)
   ============================================ */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  color: var(--gray-700); transition: var(--transition);
}
.mini-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--gray-700); }
.mini-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.13); color: var(--gold-dark); font-size: 19px;
}
.mini-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.45; }
.mini-text strong { color: var(--primary); font-size: 16px; }
.mini-text span { font-size: 14px; color: var(--gray-600); }
.mini-arrow { margin-left: auto; color: var(--gold-dark); transition: transform 0.2s; }
.mini-card:hover .mini-arrow { transform: translateX(3px); }
.options-list.options-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.after-cta { text-align: center; margin: 28px 0 0; font-size: 16px; color: var(--gray-600); }
.after-cta a, .faq-more a { font-weight: 700; }
.faq-more { text-align: center; margin: 28px 0 0; }
@media (max-width: 1024px) {
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options-list.options-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mini-grid { grid-template-columns: 1fr; }
  .mini-card { padding: 16px; }
}

/* Service-area chips that link to the area pages */
.areas a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-full);
  background: var(--primary); color: var(--white); font-size: 14px; font-weight: 600;
}
.areas a i { font-size: 11px; color: var(--cta); }
.areas a:hover { background: var(--primary-dark); color: var(--white); }

/* Area pages: intro, before/visit cards, local coverage */
.intro-card, .local-card {
  background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--cta);
  border-radius: var(--radius-xl); padding: 36px 40px; box-shadow: var(--shadow-md); text-align: center;
}
.intro-card h2, .local-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.intro-card p, .local-card p { font-size: 17px; color: var(--gray-600); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.local-card .btn { margin-top: 6px; }
.not-sure { text-align: center; margin: 26px auto 0; max-width: 720px; font-size: 16px; color: var(--gray-700); }
.not-sure i { color: var(--gold-dark); margin-right: 6px; }
.not-sure a { font-weight: 700; }
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.prep-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow); }
.prep-icon {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--cta); font-size: 22px; margin-bottom: 18px;
}
.prep-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.prep-card p { font-size: 16px; color: var(--gray-600); }
.prep-list { list-style: none; margin: 0 0 18px; }
.prep-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; font-size: 15px; color: var(--gray-700); line-height: 1.55; }
.prep-list i { color: var(--ok); margin-top: 4px; }
.prep-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn) !important; font-size: 14px !important; font-weight: 600; margin: 0; }
.prep-note i { margin-top: 3px; }
.prep-steps { counter-reset: prep; list-style: none; margin: 0 0 18px; }
.prep-steps li { counter-increment: prep; position: relative; padding-left: 42px; margin-bottom: 12px; font-size: 15px; color: var(--gray-700); line-height: 1.55; min-height: 28px; }
.prep-steps li::before {
  content: counter(prep); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--cta); color: #000; font-size: 13px; font-weight: 700;
}
@media (max-width: 1024px) { .prep-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .intro-card, .local-card { padding: 26px 20px; }
  .intro-actions .btn, .local-card .btn { width: 100%; }
  .prep-card { padding: 26px 20px; }
}

/* Area page H1: keyword line + "Same-Day Appointments" as its own gold sub-line */
.hero h1 .h1-tail { display: block; margin-top: 10px; font-size: 0.56em; color: var(--gold); white-space: nowrap; }
.hero h1 .h1-sep { display: none; }
