/* ============================================================
   Women's & Children Primary Care of Passaic, PC
   Editorial, warm, sober — no spa clichés.
   ============================================================ */

/* Letras servidas desde la propia web (antes Google Fonts). Fraunces e Inter: licencia SIL Open Font License. */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --bg:        #FFFCFA;
  --bg-2:      #F5EAE5;
  --paper:     #FFFFFF;
  --accent:    #C98F99;
  --accent-dk: #9A5A66;
  --ink:       #513747;
  --text:      #29262A;
  --text-mute: #6E6167;
  --line:      rgba(81,55,71,0.14);
  --shadow:    0 18px 40px -20px rgba(81,55,71,0.28);
  --radius:    16px;
  --radius-sm: 10px;
  --nav-h:     84px;
  --ease: cubic-bezier(.22,.8,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
section[id]{ scroll-margin-top: calc(var(--nav-h) + 12px); }
/* Windows suele traer "reducir movimiento" activado sin que la persona lo haya pedido:
   solo se frenan los efectos realmente intrusivos; hover, fades y revelados siguen vivos. */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition-duration: .3s; }
  .hero-chip{ animation: none; }
}

:focus-visible{
  outline: 3px solid var(--accent-dk);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible{ border-radius: 999px; }
::selection{ background: var(--accent); color: var(--ink); }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,h2,h3{
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 500;
}
h1{ font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2{ font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em; color: var(--text); }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
img,svg{ display:block; max-width:100%; }
button{ font: inherit; }

.wrap{
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link{
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s var(--ease);
}
.skip-link:focus{ top: 12px; }

.notice-bar{
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 10px 24px;
  font-size: .9rem;
  line-height: 1.45;
}
.notice-bar p{ margin: 0; color: var(--bg); }
.notice-bar strong{ font-weight: 700; }
.notice-bar a{
  margin-left: 6px;
  font-weight: 700;
  color: #F6CDD3;
  white-space: nowrap;
  border-bottom: 1.5px solid currentColor;
}
.notice-bar a:hover{ color: var(--bg); }
.notice-bar :focus-visible{ outline-color: var(--bg); }

/* -------------------- Reveal on scroll -------------------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal[data-split]{ opacity: 1; transform: none; }

/* -------------------- Buttons -------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--ink); color: var(--bg); }
.btn-primary:hover{ background: var(--accent-dk); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--bg); }
.btn-sm{ padding: 10px 18px; font-size: .85rem; }

/* -------------------- Header -------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,252,250,0.92);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)){
  .site-header{ background: var(--bg); }
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--nav-h);
  padding-block: 10px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
}
.brand-mark{ flex: none; display: flex; align-items: center; }
.brand-mark img{ height: 46px; width: auto; display: block; }
.brand-text{ min-width: 0; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.25; }
.brand-line1{ font-family:"Fraunces",serif; font-size: .95rem; color: var(--ink); letter-spacing: .02em; }
.brand-line2{ font-family:"Fraunces",serif; font-size: .95rem; color: var(--ink); font-weight:600; }
.brand-line3{ font-size: .68rem; color: var(--text-mute); letter-spacing: .03em; }

.main-nav ul{ display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.main-nav a{
  display: inline-block;
  white-space: nowrap;
  font-size: .87rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.main-nav a:hover,
.main-nav a:focus-visible{
  background: var(--bg-2);
  color: var(--ink);
}
.main-nav a.is-active{
  background: var(--ink);
  color: var(--bg);
}

.header-actions{ display: flex; align-items: center; gap: 8px; flex: none; }
.lang-toggle{
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle button{
  background: transparent;
  border: 0;
  min-height: 36px;
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-mute);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-toggle button[aria-pressed="true"]{ background: var(--ink); color: var(--bg); }

.tel-link{
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  white-space: nowrap;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 18px 24px 24px;
}
.mobile-nav ul{ display:flex; flex-direction:column; gap: 4px; margin-bottom: 16px; }
.mobile-nav a{
  display:block;
  padding: 12px 4px 12px 12px;
  font-size: 1.02rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.mobile-nav a.is-active{
  color: var(--accent-dk);
  border-left-color: var(--accent);
  font-weight: 700;
}
.mobile-nav .tel-link{ display:inline-block; margin-right: 12px; }
.mobile-nav-cta{ display:inline-flex; }

/* -------------------- Hero -------------------- */
.hero{ padding: 64px 0 72px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow{
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 14px;
}
.hero-sub{
  font-size: 1.08rem;
  color: var(--text-mute);
  max-width: 46ch;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.placeholder-photo{
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 20% 0%, var(--bg-2) 0%, transparent 60%),
    linear-gradient(155deg, var(--bg-2) 0%, #efd9de 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--accent-dk);
  padding: 32px;
}
.placeholder-photo span{
  font-size: .82rem;
  color: var(--text-mute);
  max-width: 22ch;
  line-height: 1.5;
}
.placeholder-photo--hero{ aspect-ratio: 4/5; box-shadow: var(--shadow); }
.hero-photo{
  width: 100%;
  height: auto;
  aspect-ratio: 960/1359;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.placeholder-photo--portrait{ aspect-ratio: 3/4; max-width: 340px; box-shadow: var(--shadow); }
.placeholder-photo--location{ aspect-ratio: 960/1359; padding: 24px; margin-bottom: 18px; }
.placeholder-photo--unavailable{
  background: linear-gradient(155deg, #EEEEEE 0%, #CFCFCF 100%);
  border-color: rgba(0,0,0,0.12);
  color: #7A7A7A;
}
.placeholder-photo--unavailable span{
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.4;
  max-width: 18ch;
  color: #6B6B6B;
}

.location-photo{
  aspect-ratio: 960/1359;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.location-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* -------------------- Trust strip -------------------- */
.trust{ background: var(--bg-2); padding: 40px 0; }
.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item{ display: flex; gap: 12px; align-items: flex-start; }
.trust-icon{
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.trust-item p{ margin: 0; font-size: .92rem; color: var(--text-mute); }
.trust-item strong{ color: var(--ink); font-weight: 600; }

/* -------------------- Section shared -------------------- */
section{ padding: 88px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-sub{ color: var(--text-mute); font-size: 1.02rem; }

/* -------------------- Services -------------------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (min-width: 1024px){
  .services-grid{ grid-template-columns: repeat(6, 1fr); }
  .services-grid .service-card{ grid-column: span 2; }
  .services-grid .service-card:nth-last-child(2):nth-child(3n+1){ grid-column: 2 / span 2; }
  .services-grid .service-card:last-child:nth-child(3n+2){ grid-column: 4 / span 2; }
  .services-grid .service-card:last-child:nth-child(3n+1){ grid-column: 3 / span 2; }
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3{ margin-bottom: .4em; }
.service-card p{ color: var(--text-mute); font-size: .95rem; }
.service-card details{ margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.service-card summary{
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-dk);
  font-size: .9rem;
  list-style: none;
}
.service-card summary::-webkit-details-marker{ display:none; }
.service-card summary::after{ content: "+"; float:right; font-weight:700; }
.service-card details[open] summary::after{ content: "–"; }
.service-card details p{ margin-top: 10px; font-size: .9rem; }

/* -------------------- Doctor -------------------- */
.doctor{ background: var(--bg-2); }
.doctor-grid{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.credentials{ font-size: .55em; color: var(--accent-dk); font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: .03em; }
.doctor-photo{
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 502/525;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.linkedin-btn{ display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }

.doctor-note{ font-size: .85rem; color: var(--text-mute); font-style: italic; }

/* -------------------- Locations -------------------- */
.locations-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.location-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.location-address{ color: var(--text-mute); font-size: .92rem; }
.location-phone a{ font-weight: 700; color: var(--ink); }
.location-fax{ font-size: .85rem; color: var(--text-mute); }
.location-actions{ display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.section-cta{
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.section-cta p{ color: var(--text-mute); margin-bottom: 16px; }

/* -------------------- Reviews -------------------- */
.reviews{ background: var(--bg-2); }
.reviews-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}
.reviews-head .section-head{ margin-bottom: 0; flex: 1 1 auto; }
.reviews-aside{
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-cta{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.review-cta h3{ font-size: 1.05rem; margin-bottom: 6px; }
.review-cta p{ font-size: .88rem; color: var(--text-mute); margin-bottom: 16px; }
.review-cta-links{ display: flex; flex-direction: column; gap: 8px; }
.review-cta-links a{
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.review-cta-links a:hover{ background: var(--ink); color: var(--bg); }
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.review-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars{ color: var(--accent-dk); font-size: 1.2rem; letter-spacing: .1em; }
.review-score{ font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--ink); margin: 4px 0 10px; }
.review-score span{ font-family: "Inter", sans-serif; font-size: .85rem; color: var(--text-mute); }
.review-card h3{ font-size: 1rem; margin-bottom: 4px; }
.review-count{ color: var(--text-mute); font-size: .88rem; margin-bottom: 16px; }

.reviews-subhead{ font-size: 1.1rem; margin-bottom: 20px; }
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.testimonial-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card .review-stars{ font-size: 1rem; margin-bottom: 10px; }
.testimonial-card p{ font-size: .9rem; color: var(--text); margin-bottom: 14px; }
.testimonial-name{ font-weight: 600; color: var(--ink); font-size: .85rem; }
.testimonial-name span{ font-weight: 400; color: var(--text-mute); }

/* -------------------- Videos -------------------- */
.videos-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-placeholder{
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: radial-gradient(120% 100% at 20% 0%, var(--bg-2) 0%, transparent 60%), linear-gradient(155deg, var(--bg-2) 0%, #efd9de 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--accent-dk);
  padding: 24px;
}
.video-placeholder span{ font-size: .8rem; color: var(--text-mute); max-width: 24ch; line-height: 1.5; }

.video-embed{
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-embed video{ width: 100%; height: 100%; display: block; background: #000; }
.video-caption{ margin-top: 10px; font-size: .85rem; color: var(--text-mute); text-align: center; }

/* -------------------- Process -------------------- */
.process-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process-list li{ position: relative; padding-top: 8px; border-top: 2px solid var(--accent); }
.process-num{
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--accent-dk);
  margin-bottom: 10px;
}
.process-list p{ font-size: .92rem; color: var(--text-mute); }

/* -------------------- FAQ -------------------- */
.faq-list{ max-width: 760px; }
.faq-list details{
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary{
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content: "+"; font-weight:700; color: var(--accent-dk); flex:none; }
.faq-list details[open] summary::after{ content: "–"; }
.faq-list details p{ margin-top: 12px; color: var(--text-mute); }

/* -------------------- Final CTA -------------------- */
.final-cta{ background: var(--ink); color: var(--bg); text-align: center; }
.final-cta h2{ color: var(--bg); }
.final-cta p{ color: rgba(255,252,250,0.78); }
.final-cta-inner{ max-width: 720px; }
.final-cta .btn-primary{ background: var(--accent); color: var(--ink); margin-bottom: 32px; }
.final-cta .btn-primary:hover{ background: var(--bg); }
.contact-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 20px;
}
.contact-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255,252,250,0.22);
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.contact-card:hover{ background: rgba(255,252,250,0.08); transform: translateY(-3px); }
.contact-card strong{ font-family: "Fraunces", serif; font-size: 1.02rem; }
.contact-card span{ color: var(--accent); font-weight: 600; }
.emergency-note{ font-size: .85rem; color: rgba(255,252,250,0.6); }

/* -------------------- Footer -------------------- */
.site-footer{ background: var(--bg-2); padding: 56px 0 24px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-col h4,
.footer-col .footer-title{
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-note{ font-size: .88rem; color: var(--text-mute); margin-top: 10px; }
.footer-list li{ margin-bottom: 10px; font-size: .9rem; color: var(--text-mute); }
.footer-list a:hover{ color: var(--ink); }
.footer-list--plain li{ font-style: italic; opacity: .8; }
.footer-legal-note{ font-size: .88rem; color: var(--text-mute); margin-bottom: 14px; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-size: .8rem;
  color: var(--text-mute);
}

/* -------------------- Booking wizard -------------------- */
.booking-demo-note{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--text-mute);
  max-width: 60ch;
}
.booking-demo-note strong{ color: var(--ink); margin-right: 6px; }

.booking-wizard{ padding-top: 40px; }
.booking-steps{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.booking-steps li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mute);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-2);
}
.booking-steps li span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: .78rem;
}
.booking-steps li.is-active{ background: var(--ink); color: var(--bg); }
.booking-steps li.is-active span{ background: var(--accent); color: var(--ink); border-color: transparent; }
.booking-steps li.is-done{ color: var(--accent-dk); }
.booking-steps li em{ font-style: normal; }

.booking-panel{ display: none; max-width: 760px; margin-inline: auto; padding-bottom: 100px; }
.booking-panel.is-active{ display: block; }
.booking-panel h2{ text-align: center; margin-bottom: 8px; }
.booking-panel .section-sub{ text-align: center; margin-bottom: 32px; }

.booking-back{
  background: transparent;
  border: 0;
  color: var(--text-mute);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 4px 0;
}
.booking-back:hover{ color: var(--ink); }

.booking-location-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.booking-location-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.booking-location-card strong{ font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--ink); }
.booking-location-card span{ font-size: .85rem; color: var(--text-mute); }
.booking-location-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }

.booking-location-card{ position: relative; }
.booking-location-card.is-unavailable{ background: var(--bg-2); }
.booking-location-card.is-unavailable strong,
.booking-location-card.is-unavailable > span{ color: var(--text-mute); }
.booking-bubble{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 24px);
  max-width: 300px;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: .86rem !important;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 5;
  animation: bubble-in .3s var(--ease);
}
.booking-bubble[hidden]{ display: none; }
.booking-bubble span, .booking-bubble em{ display: block; color: var(--bg) !important; font-size: inherit !important; }
.booking-bubble em{ font-style: normal; opacity: .78; margin-top: 4px; font-size: .78rem !important; }
@keyframes bubble-in{
  from{ opacity: 0; transform: translate(-50%, -42%) scale(.96); }
  to{ opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.booking-dates{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}
.booking-date-card{
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 64px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.booking-date-dow{ font-size: .72rem; text-transform: uppercase; color: var(--text-mute); }
.booking-date-num{ font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--ink); }
.booking-date-month{ font-size: .7rem; color: var(--text-mute); }
.booking-date-card:hover{ border-color: var(--accent); }
.booking-date-card.is-selected{ background: var(--ink); border-color: var(--ink); }
.booking-date-card.is-selected .booking-date-dow,
.booking-date-card.is-selected .booking-date-num,
.booking-date-card.is-selected .booking-date-month{ color: var(--bg); }

.booking-slots{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 32px;
  min-height: 48px;
}
.booking-hint{ grid-column: 1 / -1; color: var(--text-mute); font-size: .9rem; text-align: center; }
.booking-slot{
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.booking-slot:hover:not(:disabled){ border-color: var(--accent); }
.booking-slot.is-selected{ background: var(--ink); color: var(--bg); border-color: var(--ink); }
.booking-slot.is-taken{ background: var(--bg-2); color: var(--text-mute); text-decoration: line-through; cursor: not-allowed; opacity: .6; }

.booking-actions{ display: flex; justify-content: center; }
.booking-actions .btn:disabled{ opacity: .4; cursor: not-allowed; transform: none; }

.booking-summary{
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.booking-summary dl{ display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.booking-summary dt{ color: var(--text-mute); font-size: .85rem; }
.booking-summary dd{ margin: 0; font-weight: 600; color: var(--ink); }

.booking-form{ display: flex; flex-direction: column; gap: 16px; }
.booking-form label{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.booking-form input:not([type="checkbox"]),
.booking-form select{
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  min-height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  width: 100%;
}
.booking-form input:focus-visible,
.booking-form select:focus-visible{ outline: 2px solid var(--accent-dk); outline-offset: 1px; }
.booking-form .is-invalid{ border-color: #B3402F; box-shadow: 0 0 0 1px #B3402F; }
.booking-form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form-row--3{ grid-template-columns: 1.5fr .7fr .9fr; }
.booking-form-row[hidden]{ display: none; }
.booking-form .booking-check{
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.booking-form .booking-check input{ width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.booking-form-links{ font-size: .82rem; color: var(--text-mute); margin: -6px 0 0 30px; }
.booking-form-links a{ text-decoration: underline; }
.booking-error{ color: #B3402F; font-weight: 600; font-size: .88rem; margin: 0; }
.booking-error[hidden]{ display: none; }
.booking-demo-note--form{ max-width: none; }
.booking-form .booking-actions{ margin-top: 8px; }

.booking-confirmation{ text-align: center; }
.booking-confirmation-icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}
.booking-confirmation .booking-summary dl{ text-align: left; }
.booking-confirmation .btn{ margin-top: 8px; }

.booking-instructions{
  text-align: left;
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.booking-instructions h3{ font-size: 1rem; margin-bottom: 10px; }
.booking-instructions ul{ display: flex; flex-direction: column; gap: 8px; }
.booking-instructions li{
  position: relative;
  padding-left: 18px;
  font-size: .92rem;
  color: var(--text);
}
.booking-instructions li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-dk);
}

/* -------------------- Legal documents -------------------- */
.legal-doc{ padding-top: 24px; }
.legal-doc-body{ max-width: 720px; }
.legal-doc-body h2{
  font-size: 1.3rem;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal-doc-body h2:first-of-type{ margin-top: 32px; }
.legal-doc-body p{ color: var(--text); margin-bottom: 16px; }
.legal-doc-body ul{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-left: 0;
}
.legal-doc-body li{
  position: relative;
  padding-left: 20px;
  color: var(--text);
}
.legal-doc-body li::before{
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-dk);
}

/* -------------------- Polish layer -------------------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.final-cta .eyebrow, .section-head.is-center .eyebrow{ justify-content: center; }

.hero{
  position: relative;
  background:
    radial-gradient(55% 70% at 88% 12%, rgba(201,143,153,.18), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(245,234,229,.95), transparent 70%);
}
.hero-figure{ position: relative; }
.hero-figure::before{
  content: "";
  position: absolute;
  inset: 16px -14px -14px 16px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  opacity: .55;
  z-index: 0;
}
.hero-photo{ position: relative; z-index: 1; }
.hero-chip{
  position: absolute;
  z-index: 2;
  left: -18px; bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px 12px 14px;
  box-shadow: var(--shadow);
}
.hero-chip-icon{
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.hero-chip p{ margin: 0; }
.hero-chip strong{ display: block; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.hero-chip span{ display: block; font-size: .78rem; color: var(--text-mute); line-height: 1.3; }
.hero-call{
  margin-top: 22px;
  font-size: .92rem;
  color: var(--text-mute);
}
.hero-call a{
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  white-space: nowrap;
}
.hero-call a:hover{ color: var(--accent-dk); }

.service-icon{
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-icon svg{
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.service-card:hover .service-icon{ background: var(--ink); color: var(--bg); }
.service-card summary{ padding: 4px 0; }

.cred-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
}
.cred-list li{
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.mobile-bar{ display: none; }

.site-footer a:focus-visible{ outline-offset: 2px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1280px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
}

@media (max-width: 1023px){
  .mobile-nav[data-open]{ display: block; }
  .hero-figure::before{ inset: 12px -8px -10px 12px; }
  .hero-chip{ left: 12px; bottom: 16px; }
  body.has-mobile-bar{ padding-bottom: 76px; }
  .mobile-bar{
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,252,250,.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(81,55,71,.4);
  }
  .mobile-bar .btn{ padding: 13px 12px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  /* Celular y tableta: primero el título y el botón de cita; la foto va debajo, más baja (recorte horizontal). */
  .hero{ padding: 32px 0 56px; }
  .hero-figure{ max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-photo{ aspect-ratio: 4/3; object-position: center 42%; }
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .doctor-grid{ grid-template-columns: 1fr; }
  .doctor-figure{ max-width: 280px; margin-inline: auto; }
  .locations-grid{ grid-template-columns: repeat(2, 1fr); }
  .reviews-head{ flex-direction: column; }
  .reviews-aside{ flex-basis: auto; width: 100%; }
  .reviews-grid{ grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }
  .videos-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-list{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .booking-location-grid{ grid-template-columns: 1fr; }
  .booking-slots{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px){
  .header-actions .tel-link{ display: none; }
  .header-actions .btn-primary{ display: none; }
  .brand-line3{ display: none; }
  .brand-line1, .brand-line2{ font-size: .82rem; }
  .lang-toggle button{ padding: 6px 10px; font-size: .74rem; }
  section{ padding: 64px 0; }
  .services-grid{ grid-template-columns: 1fr; }
  .locations-grid{ grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .videos-grid{ grid-template-columns: 1fr; }
  .process-list{ grid-template-columns: 1fr; }
  .contact-cards{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; }
  .booking-slots{ grid-template-columns: repeat(2, 1fr); }
  .booking-form-row{ grid-template-columns: 1fr; }
  .booking-steps{ gap: 6px; }
  .booking-steps li{ padding: 6px 10px; font-size: .78rem; }
}

/* ============================================================
   Capa de movimiento (hero, tilt, progreso, vistas)
   ============================================================ */
@view-transition{ navigation: auto; }
::view-transition-old(root), ::view-transition-new(root){ animation-duration: .25s; }

/* Barra de progreso de lectura */
.scroll-progress{
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span{
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dk));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* Hero: entrada escalonada del texto, cortina en la foto, malla suave de fondo */
.hero .wrap{ position: relative; z-index: 1; }
.hero::before{
  content: "";
  position: absolute;
  top: -12%; right: -6%;
  width: 62%; height: 95%;
  background: radial-gradient(closest-side, rgba(201,143,153,.26), transparent);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  animation: meshDrift 20s ease-in-out infinite alternate;
}
@keyframes meshDrift{
  from{ transform: translate3d(0,0,0) scale(1); }
  to{ transform: translate3d(-6%,8%,0) scale(1.12); }
}
@keyframes heroRise{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: none; }
}
.hero-copy > *{ animation: heroRise .9s var(--ease) both; }
.hero-copy > :nth-child(2){ animation-delay: .08s; }
.hero-copy > :nth-child(3){ animation-delay: .16s; }
.hero-copy > :nth-child(4){ animation-delay: .24s; }
.hero-copy > :nth-child(5){ animation-delay: .32s; }
@keyframes heroCurtain{
  from{ clip-path: inset(0 0 100% 0 round 16px); }
  to{ clip-path: inset(0 0 0 0 round 16px); }
}
.hero-photo{ animation: heroCurtain 1.1s .12s var(--ease) both; }
@keyframes chipIn{
  from{ opacity: 0; transform: translateY(14px) scale(.96); }
  to{ opacity: 1; transform: none; }
}
.hero-chip{ animation: chipIn .7s .85s var(--ease) both; }
.hero-figure::before{ animation: frameIn .9s .5s var(--ease) both; }
@keyframes frameIn{
  from{ opacity: 0; transform: translate(-10px,-10px); }
  to{ opacity: .55; transform: none; }
}

/* Línea del eyebrow que se dibuja al aparecer */
.reveal .eyebrow::before{ width: 0; transition: width .8s .25s var(--ease); }
.reveal.is-visible .eyebrow::before{ width: 26px; }
.eyebrow::before{ flex: none; }

/* CTA principal: se eleva con sombra */
@media (hover: hover){
  .btn-primary:hover{ box-shadow: 0 14px 28px -14px rgba(81,55,71,.65); }
  .btn-ghost:hover{ box-shadow: 0 14px 28px -16px rgba(81,55,71,.4); }
}
.btn:active{ transform: translateY(0); }

/* Tilt sutil en tarjetas (solo con ratón) */
@media (hover: hover) and (pointer: fine){
  .has-tilt:not(.reveal), .reveal.has-tilt.is-visible{
    transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0px));
  }
  .has-tilt:hover{ --ty: -4px; }
  .has-tilt{ transition: transform .45s var(--ease), box-shadow .3s var(--ease); }
  .has-tilt.reveal{ transition: opacity .7s var(--ease), transform .45s var(--ease), box-shadow .3s var(--ease); }
}
/* -------------------- Una sola sede (Passaic) · 12-nov-2026 -------------------- */
.locations-grid--single{ grid-template-columns: minmax(0, 760px); justify-content: center; }
.location-hours{ font-size: .88rem; color: var(--text-mute); margin-top: 8px; }
@media (min-width: 640px){
  .locations-grid--single .location-card{
    display: grid; grid-template-columns: 240px 1fr; column-gap: 28px; align-items: center; align-content: center;
  }
  .locations-grid--single .location-photo{ grid-column: 1; grid-row: 1 / span 6; margin-bottom: 0; }
  .locations-grid--single .location-card > :not(.location-photo){ grid-column: 2; }
}
.reviews-grid--single{ grid-template-columns: minmax(0, 460px); }
.contact-cards--single{ grid-template-columns: minmax(0, 320px); justify-content: center; }

/* -------------------- Aviso: no traer niños · 12-nov-2026 -------------------- */
.visit-notice{
  display: flex; gap: 14px; align-items: flex-start;
  margin: 40px auto 0; max-width: 760px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--ink);
  border-radius: var(--radius-sm); padding: 18px 22px;
}
.visit-notice p{ margin: 0; line-height: 1.6; }
.visit-notice strong{ display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
.visit-notice-icon{
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: .95rem;
}

/* -------------------- Páginas de servicios y del médico · 12-nov-2026 -------------------- */
.footer-col .footer-title{ margin: 0 0 14px; line-height: 1.3; }
.breadcrumbs{ padding-top: 20px; font-size: .85rem; color: var(--text-mute); }
.breadcrumbs ol{ display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before{ content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a{ color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current]{ color: var(--text); }
.page-hero{ padding: 28px 0 40px; }
.page-hero h1{ max-width: 22ch; }
.page-hero .hero-sub{ max-width: 62ch; }
.page-body{ padding: 8px 0 56px; }
.page-grid{ display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.page-content h2{ font-size: 1.45rem; margin: 36px 0 12px; }
.page-content h2:first-child{ margin-top: 0; }
.page-content p{ margin-bottom: 14px; max-width: 68ch; }
.page-list{ list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; max-width: 68ch; }
.page-list li{ position: relative; padding-left: 22px; }
.page-list li::before{ content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.page-aside{ position: sticky; top: calc(var(--nav-h) + 16px); }
.page-aside .location-card:hover{ transform: none; box-shadow: none; }
.page-aside .aside-title{ font-size: 1.15rem; margin: 0 0 10px; }
.page-aside .aside-note{ font-size: .85rem; color: var(--text-mute); margin-top: 16px; }
.page-faq{ background: var(--bg-2); padding: 56px 0; }
.page-faq h2{ margin-bottom: 20px; }
.related{ padding: 56px 0; }
.related h2{ margin-bottom: 18px; font-size: 1.45rem; }
.related-list{ list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.related-list a{ display: inline-block; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.related-list a:hover{ background: var(--ink); color: var(--bg); }
.service-link{ display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.page-doctor{ padding: 32px 0 56px; }
.page-doctor .doctor-name{ font-size: clamp(1.9rem, 4vw, 2.6rem); }
@media (max-width: 1023px){
  .page-grid{ grid-template-columns: 1fr; gap: 32px; }
  .page-aside{ position: static; }
}

/* -------------------- Galería del consultorio y estacionamiento · 12-nov-2026 -------------------- */
.gallery-section{ padding: 24px 0 48px; }
.gallery-section h2{ margin-bottom: 20px; }
.parking-section{ background: var(--bg-2); padding: 56px 0; }
.parking-section .section-sub{ margin: -8px 0 24px; max-width: 62ch; }
.gallery{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery--two{ grid-template-columns: repeat(2, 1fr); }
.gallery-item{ margin: 0; }
.gallery-item a{ display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.gallery-item img{ display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item a:hover img{ transform: scale(1.03); }
.gallery-item a:focus-visible{ outline: 3px solid var(--accent-dk); outline-offset: 3px; }
.gallery-item figcaption{ margin-top: 10px; font-size: .92rem; color: var(--text-mute); }
.location-parking{ font-weight: 700; color: var(--ink); margin-top: 8px; }
.locations-grid--office{ grid-template-columns: minmax(0, 460px); justify-content: center; }
.locations-grid--office .page-aside{ position: static; }
.lightbox{ border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; max-height: none; overflow: visible; }
.lightbox::backdrop{ background: rgba(20, 12, 18, .86); }
.lightbox figure{ margin: 0; }
.lightbox img{ display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox figcaption{ color: #fff; text-align: center; margin-top: 12px; font-size: .95rem; }
.lightbox button{ position: absolute; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lightbox-close{ top: -14px; right: -14px; }
.lightbox-prev{ left: -22px; top: 40%; }
.lightbox-next{ right: -22px; top: 40%; }
@media (max-width: 1023px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px){
  .gallery, .gallery--two{ grid-template-columns: 1fr; }
  .lightbox-prev{ left: 4px; } .lightbox-next{ right: 4px; } .lightbox-close{ right: 4px; top: 4px; }
}

/* Botón de dos líneas: "Conoce el consultorio" + "(ver fotos)" */
.btn-stack{ flex-direction: column; gap: 2px; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; }
.btn-stack small{ font-size: .74rem; font-weight: 500; opacity: .85; }

/* -------------------- Vuelo satelital y fotos animadas · 12-nov-2026 -------------------- */
.flyover-section{ padding: 16px 0 40px; }
.flyover-section h2{ margin-bottom: 18px; }
.flyover{ position: relative; aspect-ratio: 3 / 2; max-height: 72vh; width: 100%; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #2b2a2e; box-shadow: var(--shadow); }
.flyover-static{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease); }
.flyover .flyover-canvas, .flyover .flyover-canvas.maplibregl-map{ position: absolute; inset: 0; width: 100%; height: 100%; }
.flyover.is-live .flyover-static{ opacity: 0; pointer-events: none; }
.flyover-bar{ display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.flyover-credit{ font-size: .8rem; color: var(--text-mute); margin: 0; }
.flyover-pin{ display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flyover-pin-label{ animation: pinDrop .7s var(--ease) both; }
.flyover-pin-label{ background: var(--ink); color: var(--bg); font-weight: 700; font-size: .85rem; padding: 7px 12px; border-radius: 999px;
  white-space: nowrap; box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); }
.flyover-pin-dot{ order: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-dk); border: 3px solid #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pinPulse 1.8s ease-out infinite; }
@keyframes pinDrop{ from{ opacity: 0; transform: translateY(-24px); } to{ opacity: 1; transform: none; } }
@keyframes pinPulse{ 0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100%{ box-shadow: 0 0 0 18px rgba(255,255,255,0); } }
.flyover .maplibregl-ctrl-attrib{ font-size: 11px; }

/* Fotos que aparecen una por una (solo si JavaScript funciona: clase has-seq) */
.has-seq [data-reveal-seq] li{ opacity: 0; transform: translateY(26px) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.has-seq [data-reveal-seq] li.is-shown{ opacity: 1; transform: none; }
.has-seq [data-reveal-seq] li.is-shown .gallery-item img{ animation: kenBurns 9s ease-out both; }
@keyframes kenBurns{ from{ transform: scale(1.12); } to{ transform: scale(1); } }
@media (prefers-reduced-motion: reduce){
  .has-seq [data-reveal-seq] li{ opacity: 1; transform: none; transition: none; }
  .has-seq [data-reveal-seq] li.is-shown .gallery-item img{ animation: none; }
  .flyover-pin-label, .flyover-pin-dot{ animation: none; }
}

/* -------------------- Vuelo v2: primero el vuelo, marcas, flecha y "Cómo llegar" · 12-nov-2026 -------------------- */
.flyover-section{ padding: 12px 0 8px; }
.flyover{ aspect-ratio: 16 / 9; max-height: 78vh; }
.flyover-head{ position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 22px 26px 60px; pointer-events: none;
  background: linear-gradient(180deg, rgba(25,16,22,.72) 0%, rgba(25,16,22,.35) 55%, rgba(25,16,22,0) 100%);
  transition: opacity .8s var(--ease); }
.flyover-head .eyebrow{ color: #F6CDD3; margin-bottom: 4px; }
.flyover-head .eyebrow::before{ background: #F6CDD3; }
.flyover-head h1{ color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.5rem); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.flyover.is-arrived .flyover-head{ opacity: .0; }
.fly-mark{ display: flex; flex-direction: column; align-items: center; gap: 7px; pointer-events: none; }
.fly-mark-label{ order: 1; color: #fff; font-weight: 700; font-size: .86rem; padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.6); animation: markIn .6s var(--ease) both; }
.fly-mark-dot{ order: 2; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; animation: pinPulse 1.8s ease-out infinite; }
.fly-mark-icon{ order: 2; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .95rem; background: #2563EB; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.fly-mark.is-clinic .fly-mark-label{ background: var(--ink); font-size: .95rem; }
.fly-mark.is-clinic .fly-mark-dot{ background: var(--accent-dk); width: 22px; height: 22px; }
.fly-mark.is-parking .fly-mark-label{ background: #2563EB; }
.fly-mark.is-landmark .fly-mark-label{ background: #3c3c42; }
.fly-mark.is-landmark .fly-mark-dot{ background: #6e6e78; animation: none; }
@keyframes markIn{ from{ opacity: 0; transform: translateY(-14px) scale(.92); } to{ opacity: 1; transform: none; } }
.fly-arrow{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .4s; }
.flyover.is-arrived .fly-arrow{ opacity: 1; }
.fly-arrow path{ fill: none; stroke-linecap: round; }
.fly-arrow-shadow{ stroke: rgba(0,0,0,.45); stroke-width: 9; }
.fly-arrow-line{ stroke: #fff; stroke-width: 5; stroke-dasharray: 600; stroke-dashoffset: 600; }
.flyover.is-arrived .fly-arrow-line, .flyover.is-arrived .fly-arrow-shadow{ animation: drawArrow 1.2s var(--ease) .2s forwards; }
.fly-arrow-shadow{ stroke-dasharray: 600; stroke-dashoffset: 600; }
@keyframes drawArrow{ to{ stroke-dashoffset: 0; } }
.fly-arrow-tag{ position: absolute; left: 0; top: 0; translate: -50% -100%; z-index: 3; pointer-events: none; white-space: nowrap; background: var(--accent-dk); color: #fff;
  font-weight: 800; font-size: .95rem; padding: 8px 15px; border-radius: 999px; box-shadow: 0 12px 28px -10px rgba(0,0,0,.6); opacity: 0; }
.flyover.is-arrived .fly-arrow-tag{ animation: markIn .6s var(--ease) 1.1s forwards; }
.flyover .maplibregl-ctrl-attrib{ font-size: 11px; }

.howto{ padding: 36px 0 48px; }
.howto-grid{ display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.howto h2{ margin-bottom: 12px; }
.howto-address{ font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.howto-tip{ max-width: 60ch; margin-bottom: 10px; }
.howto-points{ list-style: none; margin: 0; padding: 22px; display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.howto-points li{ display: flex; align-items: center; gap: 12px; font-weight: 600; flex-wrap: wrap; }
.howto-points a{ color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.howto-ico{ flex: none; width: 24px; height: 24px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line);
  display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 800; }
.howto-ico.is-clinic{ background: var(--accent-dk); } .howto-ico.is-landmark{ background: #6e6e78; } .howto-ico.is-parking{ background: #2563EB; }
@media (max-width: 1023px){ .howto-grid{ grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 639px){
  .flyover{ aspect-ratio: 4 / 5; max-height: 74vh; }
  .flyover-head{ padding: 16px 16px 44px; }
  .fly-mark-label{ font-size: .74rem; padding: 6px 10px; }
  .fly-mark.is-clinic .fly-mark-label{ font-size: .8rem; }
  .fly-arrow-tag{ font-size: .8rem; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce){
  .fly-mark-label, .fly-arrow-tag{ animation: none; opacity: 1; }
  .fly-arrow-line, .fly-arrow-shadow{ stroke-dashoffset: 0; animation: none; }
}

/* El mapa aparece solo cuando ya cargó y está listo para volar (antes se ve la imagen fija). */
.flyover .flyover-canvas{ opacity: 0; transition: opacity .6s var(--ease); }
.flyover.is-live .flyover-canvas{ opacity: 1; }

/* -------------------- Vuelo a pantalla completa + "¿Cómo quieres llegar?" · 12-nov-2026 -------------------- */
html.fly-lock, html.fly-lock body{ overflow: hidden; }
.flyover.is-fullscreen{ position: fixed; inset: 0; z-index: 2000; width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  aspect-ratio: auto; border-radius: 0; border: 0; box-shadow: none; }
.flyover.is-fullscreen .flyover-head{ padding: max(22px, env(safe-area-inset-top)) 28px 80px; }
.flyover.is-fullscreen .flyover-head h1{ font-size: clamp(1.7rem, 4.2vw, 3rem); }
.fly-skip{ position: absolute; z-index: 6; right: 16px; top: max(16px, env(safe-area-inset-top)); border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700; font-size: .88rem; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,.6); }
.fly-skip:hover{ background: #fff; }
.fly-skip[hidden], .fly-choices[hidden]{ display: none; }
.flyover:not(.is-fullscreen) .fly-skip, .flyover:not(.is-fullscreen) .fly-choices{ display: none; }
.fly-choices{ position: absolute; z-index: 6; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); translate: -50% 0;
  width: min(640px, calc(100% - 28px)); background: rgba(255,252,250,.97); color: var(--text); border-radius: 22px; padding: 22px 22px 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); text-align: center; animation: choicesUp .55s var(--ease) both; }
@keyframes choicesUp{ from{ opacity: 0; transform: translateY(30px); } to{ opacity: 1; transform: none; } }
.fly-choices-title{ font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; color: var(--ink); margin: 0 0 4px; }
.fly-choices-sub{ font-size: .88rem; color: var(--text-mute); margin: 0 0 16px; }
.fly-choices-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fly-choice{ display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 16px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.2; transition: transform .2s var(--ease), background .2s; }
.fly-choice:hover, .fly-choice:focus-visible{ background: var(--accent-dk); transform: translateY(-2px); }
.fly-choice svg, .route-btn svg{ width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fly-choices-close{ margin-top: 14px; border: 0; background: none; cursor: pointer; color: var(--accent-dk); font-weight: 700; font-size: .92rem;
  text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.howto-label{ font-weight: 600; margin: 14px 0 8px; }
.howto-routes{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.route-btn{ gap: 8px; }
.route-btn svg{ width: 20px; height: 20px; }
@media (max-width: 639px){
  .fly-choices{ padding: 18px 14px 12px; }
  .fly-choices-title{ font-size: 1.2rem; }
  .fly-choice{ font-size: .8rem; padding: 12px 6px; }
  .fly-skip{ font-size: .8rem; padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce){ .fly-choices{ animation: none; } }

/* Flechitas amarillas: cómo entrar al estacionamiento (aparecen al terminar el vuelo) */
.fly-route, .fly-route-glow{ fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.fly-route-glow{ stroke: rgba(40,30,0,.55); stroke-width: 7; }
.fly-route{ stroke: #FFD21F; stroke-width: 2.5; stroke-dasharray: 2 7; }
.flyover.is-arrived .fly-route, .flyover.is-arrived .fly-route-glow{ animation: routeIn .6s var(--ease) 1.6s forwards; }
.flyover.is-arrived .fly-route{ animation: routeIn .6s var(--ease) 1.6s forwards, routeFlow 1.1s linear 1.6s infinite; }
@keyframes routeIn{ to{ opacity: 1; } }
@keyframes routeFlow{ to{ stroke-dashoffset: -18; } }
@media (prefers-reduced-motion: reduce){ .fly-route, .fly-route-glow{ opacity: 1; animation: none !important; } }

/* Etiqueta del consultorio: debajo del punto (pantalla horizontal) o corrida a la derecha (celular). */
.fly-mark.label-below .fly-mark-label{ order: 3; }
.flyover.is-portrait .fly-mark.is-clinic .fly-mark-label{ translate: 30% 0; }

/* -------------------- Portada con burbujas · 12-nov-2026 -------------------- */
.hub{ padding: 72px 0 40px; }
.hub-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bubble{ position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 54px; border-radius: 22px;
  background: var(--paper); border: 1px solid var(--line); color: var(--text); min-height: 210px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.bubble:hover, .bubble:focus-visible{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.bubble-icon{ width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--accent-dk); margin-bottom: 6px; }
.bubble-icon svg{ width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bubble-title{ font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; color: var(--ink); line-height: 1.25; }
.bubble-text{ font-size: .93rem; color: var(--text-mute); }
.bubble-go{ position: absolute; right: 22px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-weight: 700; transition: background .25s, transform .25s var(--ease); }
.bubble:hover .bubble-go{ background: var(--accent-dk); transform: translateX(3px); }
.reviews-strip{ padding: 8px 0 64px; }
.reviews-strip-inner{ display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 18px 24px;
  border-radius: 999px; background: var(--bg-2); max-width: 720px; margin: 0 auto; text-align: center; }
.reviews-strip-score{ margin: 0; font-size: 1.02rem; color: var(--ink); }
.reviews-strip-score strong{ font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; }
.reviews-strip .review-stars{ color: #E2A93B; letter-spacing: 2px; }
.page-services{ padding: 8px 0 56px; }
.visit-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.visit-block{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.visit-block h2{ font-size: 1.25rem; margin: 0 0 8px; }
.visit-block p{ margin: 0; color: var(--text); }
.visit-more{ margin-top: 24px; text-align: center; }
.process h2{ margin-bottom: 24px; }
@media (max-width: 1023px){ .hub-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px){
  .hub{ padding: 48px 0 28px; }
  .hub-grid, .visit-grid{ grid-template-columns: 1fr; gap: 14px; }
  .bubble{ min-height: 0; padding: 20px 20px 22px; padding-right: 70px; }
  .bubble-go{ top: 50%; bottom: auto; translate: 0 -50%; }
  .reviews-strip-inner{ border-radius: 20px; }
}

/* Pantalla completa: mientras carga, fondo oscuro con un indicador (la imagen fija es la vista final). */
.flyover.is-fullscreen:not(.is-live) .flyover-static{ opacity: 0; }
.flyover.is-fullscreen:not(.is-live)::after{ content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: flySpin .9s linear infinite; z-index: 1; }
@keyframes flySpin{ to{ transform: rotate(360deg); } }
.flyover .flyover-canvas{ transition: opacity .9s var(--ease); }

/* -------------------- Burbuja Labcorp (colores de su marca: #1A2188, #3A5CE9, #EEEFFA) · 12-nov-2026 -------------------- */
.lab-badge{ display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: #1A2188; color: #fff; box-shadow: 0 12px 28px -14px rgba(26,33,136,.65); text-decoration: none; max-width: 100%;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.lab-badge-icon{ flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #EEEFFA; color: #1A2188; }
.lab-badge-icon svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lab-badge-text{ display: flex; flex-direction: column; line-height: 1.25; font-size: .82rem; }
.lab-badge-text strong{ font-size: .95rem; font-weight: 700; letter-spacing: .01em; }
.lab-badge-text span{ color: #EEEFFA; opacity: .92; }
@media (max-width: 639px){ .lab-badge{ margin-top: 14px; } }

/* Burbuja Labcorp: solo el nombre (sin enlace). */
.lab-badge{ padding: 7px 20px 7px 7px; cursor: default; }
.lab-badge-name{ font-size: 1rem; font-weight: 800; letter-spacing: .14em; color: #fff; }
.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; }

/* Recuadro "Passaic, NJ · 61 Passaic Avenue" sobre la foto: abre la página del vuelo (Ubicación). */
a.hero-chip{ text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.hero-chip:hover, a.hero-chip:focus-visible{ transform: translateY(-3px); box-shadow: 0 18px 34px -16px rgba(81,55,71,.55); }
a.hero-chip:focus-visible{ outline: 3px solid var(--accent-dk); outline-offset: 3px; }
a.hero-chip::after{ content: "→"; margin-left: 6px; font-weight: 700; color: var(--accent-dk); align-self: center; }

/* LABCORP pequeño, en la esquina superior derecha de la foto del consultorio. */
.lab-badge--corner{ position: absolute; z-index: 3; top: 14px; right: 14px; margin: 0; gap: 7px; padding: 4px 11px 4px 4px;
  box-shadow: 0 8px 18px -10px rgba(26,33,136,.7); }
.lab-badge--corner .lab-badge-icon{ width: 24px; height: 24px; }
.lab-badge--corner .lab-badge-icon svg{ width: 14px; height: 14px; }
.lab-badge--corner .lab-badge-name{ font-size: .7rem; letter-spacing: .12em; }
@media (max-width: 639px){ .lab-badge--corner{ top: 10px; right: 10px; } }

/* LABCORP v3: esquina inferior derecha del inicio (fuera de la foto), con mensaje al pasar el mouse o tocar. */
.hero{ position: relative; }
.hero > .lab-badge--corner{ top: auto; bottom: 18px; right: max(16px, calc((100vw - 1180px) / 2 + 24px)); cursor: help; }
.lab-badge--corner:focus-visible{ outline: 3px solid #3A5CE9; outline-offset: 3px; }
.lab-tip{ position: absolute; right: 0; bottom: calc(100% + 10px); white-space: nowrap; background: #fff; color: #1A2188; font-size: .8rem; font-weight: 700;
  padding: 8px 12px; border-radius: 10px; border: 1px solid #EEEFFA; box-shadow: 0 12px 28px -12px rgba(26,33,136,.45);
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.lab-tip::after{ content: ""; position: absolute; right: 18px; top: 100%; border: 7px solid transparent; border-top-color: #fff; }
.lab-badge--corner:hover .lab-tip, .lab-badge--corner:focus .lab-tip{ opacity: 1; transform: none; }
@media (max-width: 1023px){ .hero > .lab-badge--corner{ bottom: 14px; right: 16px; } }
