/* ============================================================
   Dr. Alan Martinez Salas — Urologia CDMX
   styles.css — Rediseno basado en investigacion UX medica
   ============================================================ */

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

/* -- TOKENS -------------------------------------------------- */
:root {
  /* Palette */
  --navy:         #0C2B4E;
  --navy-mid:     #143D6B;
  --blue:         #1565C0;
  --blue-light:   #1E88E5;
  --blue-pale:    #E8F1FC;

  /* Surfaces */
  --white:        #FFFFFF;
  --warm:         #FAFAF7;
  --surface:      #F3F6FA;

  /* Text */
  --dark:         #1A1F36;
  --text:         #2D3748;
  --text-sec:     #4A5568;
  --text-muted:   #718096;

  /* Borders */
  --border:       #E2E8F0;
  --border-light: #F0F3F7;

  /* Accent */
  --gold:         #9A7B4F;
  --gold-bg:      #F9F6F0;

  /* WhatsApp */
  --wa:           #25D366;
  --wa-dark:      #1DAB57;

  /* Typography */
  --serif:        'DM Serif Display', Georgia, serif;
  --sans:         'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py:   96px;
  --container:    1100px;
  --radius:       12px;
  --radius-sm:    8px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.10);

  /* Motion */
  --ease:         cubic-bezier(.4,0,.2,1);
  --dur:          0.2s;
}

/* -- BASE ---------------------------------------------------- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--navy); }

/* -- TYPOGRAPHY ---------------------------------------------- */
h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
}
h1 em {
  font-style: normal;
  color: #A8D4F5;
}

h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}
h2 em { font-style: normal; color: var(--blue); }

h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

h4 { font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; }

p { font-size: 16px; line-height: 1.7; color: var(--text-sec); }

/* -- LAYOUT -------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; }
.bg-warm { background: var(--warm); }
.bg-navy { background: var(--navy); }

/* -- HEADER -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }

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

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-name { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.logo-tag  { font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.03em; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > a,
.nav-dropdown > .nav-dropdown-trigger {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--sans);
}
.nav-desktop > a:hover,
.nav-dropdown:hover > .nav-dropdown-trigger { color: var(--blue); background: var(--blue-pale); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  transition: transform var(--dur) var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(-135deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--dur) var(--ease);
  z-index: 210;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.nav-dropdown-menu a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}
.nav-dropdown-menu .nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sec);
  text-decoration: none;
}
.header-phone:hover { color: var(--blue); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 300;
  padding: 24px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.mobile-nav-top button {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--dark);
  cursor: pointer;
  line-height: 1;
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.mobile-nav-cta { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* -- BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }

.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); color: var(--white); box-shadow: 0 4px 16px rgba(37,211,102,.25); }

.btn-outline-dark { background: transparent; color: var(--dark); border: 2px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--dark); }

.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: var(--white); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* -- HERO ---------------------------------------------------- */
.hero {
  background: var(--navy);
  padding: 72px 0 0;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: end;
}

.hero-content { padding-bottom: 72px; }

.hero-location {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 20px 0 32px;
  line-height: 1.7;
}

.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-phone {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.hero-phone strong { color: rgba(255,255,255,.8); }
.hero-phone:hover strong { color: var(--white); }

.hero-photo {
  position: relative;
  align-self: end;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 475px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* -- CREDENTIAL STRIP ---------------------------------------- */
.cred-strip {
  background: var(--warm);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.cred-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cred-item { text-align: center; flex-shrink: 0; }
.cred-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; }
.cred-item span   { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* -- SECTION HELPERS ----------------------------------------- */
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-desc {
  max-width: 680px;
  margin: 12px 0 32px;
}

/* -- SERVICES ------------------------------------------------ */
.service-featured {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  background: var(--blue-pale);
  border: 1px solid rgba(21,101,192,.1);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.service-featured:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(21,101,192,.2);
  text-decoration: none;
}

.service-featured-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.service-featured h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 12px;
}
.service-featured p { font-size: 15px; color: var(--text-sec); }

.service-featured-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.service-featured-stats > div {
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
}
.service-featured-stats strong { display: block; font-size: 16px; color: var(--dark); margin-bottom: 2px; }
.service-featured-stats span   { font-size: 13px; color: var(--text-muted); }

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-item {
  display: block;
  padding: 28px 24px;
  background: var(--white);
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.service-item:hover { background: var(--warm); text-decoration: none; }
.service-item h3 { font-size: 17px; margin-bottom: 6px; }
.service-item p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }

.link-arrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
}
.link-arrow::after { content: ' \2192'; transition: transform var(--dur); }
a:hover .link-arrow::after { margin-left: 4px; }

/* -- ABOUT --------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.about-photo-secondary {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-photo-secondary img {
  width: 100%;
  height: auto;
  display: block;
}

.about-promise {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--gold-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
.about-promise strong { display: block; color: var(--dark); margin-bottom: 4px; }

/* Vertical timeline (sobre page, kept for backward compat) */
.about-timeline {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
  border-left: 2px solid var(--border);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.timeline-marker {
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  margin-left: -26px;
}
.timeline-item strong { display: block; font-size: 15px; color: var(--dark); }
.timeline-item span   { font-size: 13px; color: var(--text-muted); }

/* About intro (photo + text, home page) */
.about-intro {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 8px;
}
.about-intro-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-intro-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.about-intro-text h2 { margin-bottom: 16px; }
.about-intro-text p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Horizontal timeline (home page) */
.timeline-h {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin: 32px 0 0;
  padding-top: 20px;
}
.timeline-h::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--border);
}
.timeline-h-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.timeline-h-dot {
  width: 12px;
  height: 12px;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
  border-radius: 50%;
  margin-bottom: 14px;
  z-index: 1;
}
.timeline-h-item strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.3;
}
.timeline-h-item span {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

/* -- STEPS --------------------------------------------------- */
.steps-container { max-width: 840px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step { text-align: left; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--serif);
  font-size: 22px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p  { font-size: 15px; color: var(--text-muted); }

/* -- REASSURANCE (emotional) --------------------------------- */
.bg-navy .reassurance-container {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.bg-navy h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 20px;
}
.bg-navy p {
  color: rgba(255,255,255,.65);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* -- LOCATIONS ----------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.location-card h3 { font-size: 20px; margin-bottom: 20px; }

.location-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.location-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-sec);
}
.location-row svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.location-row a { color: var(--blue); font-weight: 600; text-decoration: none; }
.location-row a:hover { color: var(--navy); }

/* -- FAQ ----------------------------------------------------- */
.faq-container { max-width: 720px; }

.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  transition: background var(--dur) var(--ease);
}
.faq-q:hover { background: var(--warm); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--dur) var(--ease);
}
details[open] .faq-q { color: var(--blue); background: var(--blue-pale); }
details[open] .faq-q::after { content: '-'; }

.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* -- CTA FINAL ----------------------------------------------- */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
}
.cta-final-inner { max-width: 640px; margin: 0 auto; }
.cta-final h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-final p { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 24px; }

.cta-price {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 32px;
}

.cta-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-phone {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.cta-phone strong { color: rgba(255,255,255,.8); }
.cta-phone:hover strong { color: var(--white); }

.cta-hours { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.35); }

/* -- FOOTER -------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-name { font-size: 17px; font-weight: 800; color: var(--white); }
.footer-tag  { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: 0.03em; }
.footer-desc { font-size: 14px; margin: 14px 0; line-height: 1.7; }
.footer-cedula { font-size: 12px; color: rgba(255,255,255,.25); }

.footer-col h4 { color: var(--white); font-size: 12px; margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--dur);
}
.footer-col a:hover { color: var(--white); }

.footer-contact { margin-bottom: 14px; font-size: 14px; }
.footer-contact strong { display: block; color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 2px; }
.footer-contact span   { font-size: 13px; }
.footer-contact a { display: block; padding: 3px 0; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* -- STICKY BOTTOM BAR (mobile) ------------------------------ */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
  padding: 8px 12px;
  gap: 8px;
}

.sticky-call,
.sticky-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}

.sticky-call {
  background: var(--surface);
  color: var(--dark);
}
.sticky-wa {
  background: var(--wa);
  color: var(--white);
}
.sticky-wa:hover { background: var(--wa-dark); color: var(--white); }

/* Phone picker overlay */
.phone-picker-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.45);
  align-items: flex-end;
  justify-content: center;
}
.phone-picker-overlay.open { display: flex; }
.phone-picker {
  background: var(--white);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 480px;
  padding: 24px 20px calc(env(safe-area-inset-bottom, 12px) + 12px);
}
.phone-picker h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 16px;
  text-align: center;
}
.phone-picker a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  transition: background var(--dur) var(--ease);
}
.phone-picker a:hover { background: var(--border); }
.phone-picker a span { color: var(--blue); }
.phone-picker-cancel {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* -- UTILITIES ----------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* -- RESPONSIVE ---------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 320px; gap: 32px; }
  .service-featured { grid-template-columns: 1fr; }
  .service-featured-stats { flex-direction: row; gap: 12px; }
  .service-featured-stats > div { flex: 1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-desktop { display: none; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 48px 0 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content { padding-bottom: 0; }
  .hero-photo { max-width: 280px; margin: 0 auto; }
  h1 { font-size: 32px; }

  .cred-inner { justify-content: flex-start; gap: 24px; padding-bottom: 4px; }

  .services-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .locations-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Show sticky bar on mobile */
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }

  .cta-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .service-featured { padding: 24px; }
  .service-featured-stats { flex-direction: column; }
  .services-list { grid-template-columns: 1fr; }
}

/* ============================================================
   INNER PAGES — Shared styles for service, about, contact, etc.
   ============================================================ */

/* -- BREADCRUMB ---------------------------------------------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 8px; }

/* -- PAGE HERO (inner pages) --------------------------------- */
.page-hero {
  background: var(--navy);
  padding: 48px 0 56px;
}
.page-hero--photo {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  position: relative;
  padding: 64px 0 72px;
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,43,78,.92) 50%, rgba(12,43,78,.7) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { padding-bottom: 20px; }
.page-hero .breadcrumb,
.page-hero .breadcrumb a { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,.7); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  max-width: 720px;
}
.page-hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  max-width: 620px;
  margin-top: 16px;
  line-height: 1.7;
}
.page-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Hero stat cards (inside hero) */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  text-align: left;
}
.hero-stat-card strong {
  display: block;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-stat-card span {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* -- CONTENT SECTION ----------------------------------------- */
.content-section {
  padding: var(--section-py) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.content-main { max-width: 680px; }

/* Prose styling for content pages */
.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
  margin-top: 48px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.prose p {
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 16px 0;
  padding-left: 24px;
}
.prose li {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 8px;
}
.prose li::marker { color: var(--blue); }

/* -- STAT CARDS ---------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.stat-card {
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 4px;
}
.stat-card span {
  font-size: 13px;
  color: var(--text-muted);
}

/* -- SIDEBAR ------------------------------------------------- */
.sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.sidebar-card p { font-size: 14px; margin-bottom: 16px; }
.sidebar-card .btn { width: 100%; }

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
}
.sidebar-list a:hover { color: var(--blue); }
.sidebar-list a.active { color: var(--blue); font-weight: 600; }

/* -- CALLOUT BOX --------------------------------------------- */
.callout {
  padding: 24px;
  background: var(--gold-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}
.callout strong { display: block; color: var(--dark); margin-bottom: 4px; }
.callout p { font-size: 15px; margin: 0; }

/* -- ABOUT BANNER -------------------------------------------- */
.about-banner {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
}
.about-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* -- CONTENT FIGURES ----------------------------------------- */
.content-figure {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.content-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.content-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--warm);
  border-top: 1px solid var(--border);
}

/* -- COMPARISON TABLE ---------------------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.comparison-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comparison-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sec);
}
.comparison-table tr:nth-child(even) td { background: var(--warm); }
.comparison-table .highlight { color: var(--blue); font-weight: 600; }

/* -- ABOUT PAGE ---------------------------------------------- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.memberships-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.membership-item {
  padding: 20px;
  background: var(--warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.membership-item strong { display: block; font-size: 15px; color: var(--dark); margin-bottom: 4px; }
.membership-item span { font-size: 13px; color: var(--text-muted); }

/* -- CONTACT PAGE -------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 { font-size: 20px; margin-bottom: 20px; }

.insurance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.insurance-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* Map placeholder */
.map-embed {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

/* -- RELATED SERVICES ---------------------------------------- */
.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.related-card {
  display: block;
  padding: 24px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.related-card:hover { background: var(--white); box-shadow: var(--shadow-sm); border-color: var(--blue); text-decoration: none; }
.related-card h3 { font-size: 16px; margin-bottom: 6px; }
.related-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* -- FAQ FULL PAGE ------------------------------------------- */
.faq-category { margin-bottom: 48px; }
.faq-category h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-pale);
}

/* -- PRIVACY PAGE -------------------------------------------- */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; margin-bottom: 12px; }
.legal-content ul { margin: 12px 0; padding-left: 24px; }
.legal-content li { font-size: 15px; color: var(--text-sec); line-height: 1.7; margin-bottom: 6px; }

/* -- BLOG INDEX ---------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  color: var(--text);
}
.blog-card:hover { box-shadow: var(--shadow-md); text-decoration: none; border-color: var(--blue); }
.blog-card-tag { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card h3 { font-size: 17px; margin: 8px 0; color: var(--dark); }
.blog-card p { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; flex: 1; }
.blog-card-date { font-size: 12px; color: var(--text-muted); margin-top: auto; }

/* -- REVIEWS ------------------------------------------------- */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.reviews-score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews-score__number {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--navy);
  line-height: 1;
}
.reviews-score__stars {
  display: flex;
  gap: 2px;
}
.reviews-score__count {
  font-size: 14px;
  color: var(--text-muted);
}
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__stars {
  display: flex;
  gap: 2px;
}
.review-card__location {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 3px 8px;
  border-radius: 4px;
}
.review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}
.review-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-card__author-block {
  flex: 1;
  min-width: 0;
}
.review-card__author {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.review-card__date {
  font-size: 13px;
  color: var(--text-muted);
}
.review-card__google {
  flex-shrink: 0;
  opacity: .7;
}

/* -- RESPONSIVE (inner pages) -------------------------------- */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .about-hero-grid { grid-template-columns: 220px 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 32px 0 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-secondary { max-width: 320px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro-photo { max-width: 200px; }
  .timeline-h { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .timeline-h::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .related-services { grid-template-columns: 1fr; }
  .memberships-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-score__number { font-size: 36px; }
}

@media (max-width: 480px) {
  .stat-card { padding: 16px; }
  .stat-card strong { font-size: 18px; }
}
