/* Clínica Alpha Dent — misma estructura que la portada y las secciones de referencia, con la paleta azul de la marca.
   Se carga al final: concentra la paleta de lujo y la barra superior completa. */
:root {
  --ink: #14284A;
  --coal: #1B3560;
  --gold: #BBDCF3;
  --gold-bright: #DCEEFA;
  --gold-deep: #305090;
  --ivory: #F2F8FD;
  --ivory-deep: #E3EEF8;
  --accent: var(--gold);
  --brand-surface: var(--ivory);
  --brand-hover: #000000;
  --slate: #4A5A74;
}
body { background: #FFFFFF; color: #3F4D66; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline-color: var(--gold-deep); }
html { scrollbar-color: auto; }

/* ——— Barra superior: un rectángulo continuo de borde a borde ——— */
.site-header,
.site-header.is-compact,
.site-header.is-on-light {
  top: 0; left: 0; transform: none;
  width: 100%; max-width: none;
  border: 0; border-bottom: 1px solid rgb(187 220 243 / 38%);
  border-radius: 0;
  background: var(--ink);
  box-shadow: 0 1px 0 rgb(0 0 0 / 40%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header .header,
.site-header.is-compact .header {
  max-width: 1400px; margin-inline: auto;
  min-height: 72px; padding: 8px clamp(16px,3vw,40px);
}
.site-header.is-compact .header { min-height: 60px; padding-block: 4px; }
.site-header .brand,
.site-header.is-compact .brand { width: 250px; height: 50px; }
.site-header.is-compact .brand { width: 215px; height: 44px; }
.site-header .brand img,
.site-header.is-on-light .brand img { filter: none; }
.site-header #menu a,
.site-header.is-on-light #menu a { color: #EAF3FB; }
.site-header #menu > a:is(:hover,:focus-visible),
.site-header #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link,
.site-header.is-on-light #menu > a:is(:hover,:focus-visible),
.site-header.is-on-light #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link { color: var(--gold-bright); background: rgb(187 220 243 / 12%); }
.site-header #menu > a[aria-current="page"],
.site-header #menu .menu-dropdown-link[aria-current="page"],
.site-header.is-on-light #menu > a[aria-current="page"],
.site-header.is-on-light #menu .menu-dropdown-link[aria-current="page"] { color: var(--gold); background: transparent; }
.site-header #menu-toggle,
.site-header.is-on-light #menu-toggle { background: transparent; color: var(--gold); }
.site-header :is(a,button):focus-visible,
.site-header.is-on-light :is(a,button):focus-visible { outline-color: var(--gold); }
.site-header .header-actions .booking-button,
.site-header.is-on-light .header-actions .booking-button { background: var(--gold); border: 1px solid var(--gold); color: var(--ink); }
.site-header .header-actions .booking-button:hover,
.site-header.is-on-light .header-actions .booking-button:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.site-header .emergency-button,
.site-header.is-on-light .emergency-button { box-shadow: none; }
.site-header #menu .menu-dropdown-panel { background: var(--ivory); border: 1px solid rgb(187 220 243 / 45%); border-radius: 6px; }
@media (max-width: 1050px) {
  .site-header,
  .site-header.is-compact { top: 0; width: 100%; }
  .site-header .header,
  .site-header.is-compact .header { min-height: 64px; padding: 6px 16px; }
  .site-header .brand,
  .site-header.is-compact .brand { width: min(210px, calc(100% - 54px)); height: 46px; }
  #menu { border-top-color: rgb(187 220 243 / 30%); }
  .site-header #menu > a,
  .site-header #menu .menu-dropdown-link,
  .site-header.is-on-light #menu > a,
  .site-header.is-on-light #menu .menu-dropdown-link { border-bottom-color: rgb(187 220 243 / 18%); }
}

/* ——— Portada: equipo de fondo, copy en negro y dorado ——— */
.alpha-hero-editorial,
.alpha-hero-editorial .alpha-hero-photo { background: var(--ink); }
.alpha-hero-editorial .alpha-hero-eyebrow { color: var(--gold); }
.alpha-hero-editorial h1 span { color: var(--gold-bright); }
.hero-smile path { stroke: var(--gold); }
.alpha-hero-editorial .alpha-hero-description { color: #E2EEF9; }
.alpha-hero-editorial .alpha-hero-photo img { object-position: center 78%; }
section.alpha-hero-editorial .alpha-hero-actions .button.button { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 10px 28px rgb(0 0 0 / 35%); }
section.alpha-hero-editorial .alpha-hero-actions .button.button:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.alpha-hero-editorial .alpha-hero-actions .alpha-whatsapp-link { border-color: rgb(187 220 243 / 60%); background: rgb(20 40 74 / 45%); color: #EAF3FB; }
.alpha-hero-editorial .alpha-hero-actions .alpha-whatsapp-link:is(:hover,:focus-visible) { background: rgb(187 220 243 / 18%); border-color: var(--gold); color: #fff; }
.alpha-hero-editorial .alpha-google { background: rgb(20 40 74 / 62%); color: #EAF3FB; border: 1px solid rgb(187 220 243 / 45%); box-shadow: none; }
.alpha-hero-editorial .alpha-google .google-patients { border-color: rgb(187 220 243 / 35%); }
.alpha-hero-editorial .alpha-google .google-patients strong,
.alpha-hero-editorial .alpha-google strong { color: var(--gold-bright); }
.alpha-hero-editorial .google-stars { color: var(--gold); }
.alpha-hero-editorial a:focus-visible { outline-color: var(--gold); }

/* ——— Secciones claras: marfil, botones negros y acentos dorados ——— */
.entry-label, .featured-label, .clinic-label, .patient-label, .alpha-team-label, .alpha-social-label, .alpha-location-label, .alpha-faq-label {
  background: var(--ivory-deep); color: var(--gold-deep); border: 1px solid rgb(48 80 144 / 28%);
}
.featured-label, .patient-label, .alpha-social-label, .alpha-faq-label { background: #FFFFFF; }
h2 span, .entry-heading h2 span, .featured-heading h2 span, .clinic-copy h2 span, .patient-heading h2 span,
.alpha-team-heading h2 span, .alpha-social-heading h2 span, .alpha-location h2 span, .alpha-faq-heading h2 span { color: var(--gold-deep); }
.text-link, .step-number, .featured-all, .patient-source, .alpha-location-call, .alpha-social-footer a,
.alpha-team-caption a, .alpha-team-toggle, .alpha-profile-open, .alpha-team-caption .alpha-team-specialty,
.alpha-profile-specialty, .alpha-team-role { color: var(--gold-deep); }
.featured-all { border-bottom-color: var(--gold); }
.patient-source, .alpha-team-toggle { border-bottom-color: var(--gold); }
.alpha-location-hours dd span, .alpha-location-address svg, .service-icon { color: var(--gold-deep); }
.alpha-location-urgent-row dt, .alpha-location-urgent-row dd { color: #B32222; }
.button:not(.emergency-button):not(.alpha-final-whatsapp):not(.alpha-location-whatsapp),
.button-gradient { background: var(--ink); border: 1px solid var(--ink); color: var(--gold-bright); }
.button:not(.emergency-button):not(.alpha-final-whatsapp):not(.alpha-location-whatsapp):hover,
.button-gradient:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.service-card, .patient-review, .alpha-team-card, .alpha-social-photo { border-color: var(--ivory-deep); }
.alpha-team-card, .alpha-team-card > .alpha-team-portrait--initials, .alpha-team-portrait { background: var(--ivory-deep); }
.alpha-team-card > .alpha-team-portrait::after { background: linear-gradient(180deg,transparent 40%,#E3EEF820 55%,#E3EEF8F0 79%,#E3EEF8 100%); }
.patient-stars, .alpha-faq details[open] summary svg { color: var(--gold-deep); }
.alpha-faq details[open] summary svg { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.alpha-faq .faq-list summary:is(:hover,:focus-visible), .alpha-faq .faq-list details[open] summary { color: var(--gold-deep); }
.alpha-faq summary svg { color: var(--gold-deep); border-color: rgb(48 80 144 / 40%); }
.patient-review figcaption a { color: var(--gold-deep); }
.patient-review figcaption a:hover { background: var(--ink); color: var(--gold); }
.entry-status { color: var(--gold-deep); }
.entry-action { background: var(--ink); color: var(--gold-bright); border: 1px solid rgb(187 220 243 / 55%); }
.alpha-location-map-panel { border-color: var(--ivory-deep); background: var(--ink); }
.alpha-location-emergency { background: var(--ink); }
.alpha-location-emergency a { border-bottom-color: var(--gold); color: var(--gold-bright); }

/* ——— Catálogo de especialidades ——— */
.featured-card { background: var(--ink); border: 1px solid rgb(187 220 243 / 35%); }
.featured-media, .featured-grid li:nth-child(3n+2) .featured-media, .featured-grid li:nth-child(3n) .featured-media { background: linear-gradient(145deg,#24406E,#14284A); }
.featured-bar > span, .featured-card:is(:hover,:focus-visible) { color: var(--gold-bright); }
.featured-card:is(:hover,:focus-visible) { border-color: var(--gold); box-shadow: 0 14px 32px rgb(0 0 0 / 28%); }
.featured-bar h3 { color: #F2F8FD; }

/* ——— Cifras, cierre y pie de página ——— */
.clinic-stats { background: var(--ink); border-block: 1px solid rgb(187 220 243 / 35%); }
.clinic-stats .metrics dd, .clinic-stats .metrics dt, .clinic-stats .clinic-stats-google dd { color: var(--gold-bright); }
.clinic-stats .metrics dt { color: #DCE9F5; }
.clinic-stats .metrics > div + div { border-left-color: rgb(187 220 243 / 28%); }
.alpha-final-cta { background: var(--ink); }
.alpha-final-cta::before { background: linear-gradient(90deg,rgb(20 40 74 / 94%),rgb(20 40 74 / 84%) 50%,rgb(20 40 74 / 94%)); }
.alpha-final-label { color: var(--gold); }
.alpha-final-label::before, .alpha-final-label::after { background: var(--gold); }
.alpha-final-benefits li::before { color: var(--gold); }
.alpha-final-actions .alpha-final-book { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.alpha-final-actions .alpha-final-book:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.alpha-final-cta a:focus-visible { outline-color: var(--gold); }
.site-footer, .site-footer.alpha-footer { background: var(--ink); }
.site-footer h2, .site-footer.alpha-footer h2 { color: var(--gold); }
.site-footer p, .site-footer a, .site-footer span, .site-footer dt, .site-footer dd, .site-footer small { color: #DCE9F5; }
.site-footer a:is(:hover,:focus-visible) { color: var(--gold-bright); }
.site-footer.alpha-footer .footer-bottom, .alpha-footer .footer-bottom { border-color: rgb(187 220 243 / 28%); }
.alpha-footer .footer-map-link { border-bottom-color: rgb(187 220 243 / 55%); }
.footer-emergency-dot { background: var(--gold); }
.alpha-footer .footer-brand img { filter: none; }
.footer-brand img { filter: none; }

/* Especialidades sobre fondo negro: barra inferior negra con título marfil. */
.featured-treatments { background: radial-gradient(ellipse at 95% 0%, rgb(187 220 243 / 12%), transparent 55%), var(--ink); }
.featured-card { background: var(--ink); border-color: rgb(187 220 243 / 35%); }
.featured-bar { background: var(--ink); border-top: 1px solid rgb(187 220 243 / 30%); }
.featured-bar h3 { color: var(--ivory); }
.featured-bar > span { color: var(--gold); }
.featured-label { background: var(--ivory); }

/* Pie de página: todo el texto en marfil sobre negro (salvo botones claros). */
.site-footer.alpha-footer :is(p,a,span,dt,dd,small,address,strong,li,h3,div):not(.button):not(.footer-emergency):not(.footer-emergency *):not([class*="booking"]) { color: #DCE9F5; }
.site-footer.alpha-footer h2 { color: var(--gold); }
.site-footer.alpha-footer a:is(:hover,:focus-visible) { color: var(--gold-bright); }
.site-footer.alpha-footer .footer-brand p { color: #BFD0E4; }
.site-footer.alpha-footer .button { color: var(--ink); }
.site-footer.alpha-footer .footer-socials a { border-color: rgb(187 220 243 / 55%); color: var(--gold); }
.site-footer.alpha-footer a.footer-phone { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-footer.alpha-footer a.footer-phone:hover { background: var(--gold-bright); color: var(--ink); }
.site-footer.alpha-footer .footer-emergency { color: #fff; }

/* Portada (escritorio): la foto se corre a la derecha y el degradado negro se acorta para que la primera doctora se vea completa. */
@media (min-width: 1051px) {
  .alpha-hero-visual { left: 42%; }
  .alpha-hero-layout::after {
    background: linear-gradient(90deg, #14284A 0%, #14284A 42%, rgb(20 40 74 / 82%) 44.5%, rgb(20 40 74 / 45%) 47%, rgb(20 40 74 / 14%) 49.5%, transparent 52%),
                linear-gradient(180deg, rgb(20 40 74 / 20%), transparent 22%);
  }
}

/* ═══ Rediseño: barra clara con logo oscuro + portada con el equipo a pantalla completa ═══ */

/* Barra superior clara (marfil) con el logo original oscuro y detalles dorados */
.site-header,
.site-header.is-compact,
.site-header.is-on-light {
  background: rgb(250 248 243 / 96%);
  border-bottom: 1px solid rgb(187 220 243 / 55%);
  box-shadow: 0 6px 24px rgb(20 40 74 / 8%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header #menu a,
.site-header.is-on-light #menu a { color: #14284A; }
.site-header #menu > a:is(:hover,:focus-visible),
.site-header #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link,
.site-header.is-on-light #menu > a:is(:hover,:focus-visible),
.site-header.is-on-light #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link { color: var(--gold-deep); background: rgb(187 220 243 / 14%); }
.site-header #menu > a[aria-current="page"],
.site-header #menu .menu-dropdown-link[aria-current="page"],
.site-header.is-on-light #menu > a[aria-current="page"],
.site-header.is-on-light #menu .menu-dropdown-link[aria-current="page"] { color: var(--gold-deep); background: transparent; }
.site-header #menu-toggle,
.site-header.is-on-light #menu-toggle { background: transparent; color: var(--ink); }
.site-header :is(a,button):focus-visible,
.site-header.is-on-light :is(a,button):focus-visible { outline-color: var(--gold-deep); }
.site-header .header-actions .booking-button,
.site-header.is-on-light .header-actions .booking-button { background: var(--ink); border: 1px solid var(--ink); color: var(--gold-bright); }
.site-header .header-actions .booking-button:hover,
.site-header.is-on-light .header-actions .booking-button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-header #menu .menu-dropdown-panel { background: #FFFFFF; border: 1px solid rgb(187 220 243 / 45%); box-shadow: 0 18px 40px rgb(20 40 74 / 14%); }
@media (max-width: 1050px) {
  #menu { border-top-color: rgb(187 220 243 / 40%); }
  .site-header #menu > a,
  .site-header #menu .menu-dropdown-link,
  .site-header.is-on-light #menu > a,
  .site-header.is-on-light #menu .menu-dropdown-link { border-bottom-color: rgb(20 40 74 / 8%); }
}

/* Portada: el equipo ocupa todo el fondo; una capa translúcida deja leer el texto */
.alpha-hero-editorial { background: var(--ink); }
.alpha-hero-layout { min-height: max(100svh, 640px); align-items: center; }
.alpha-hero-editorial .alpha-hero-copy { width: min(640px, 100%); padding-top: clamp(120px,16svh,170px); padding-bottom: clamp(56px,9svh,96px); align-self: center; }
.alpha-hero-visual,
.alpha-hero-visual { position: absolute; inset: 0; left: 0; width: auto; height: auto; order: 0; -webkit-mask-image: none; mask-image: none; }
.alpha-hero-editorial .alpha-hero-photo img { object-position: center 66%; }
.alpha-hero-layout::after,
.alpha-hero-editorial .alpha-hero-layout::after {
  display: block; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(20 40 74 / 86%) 0%, rgb(20 40 74 / 70%) 34%, rgb(20 40 74 / 38%) 66%, rgb(20 40 74 / 26%) 100%),
    linear-gradient(180deg, rgb(20 40 74 / 30%) 0%, transparent 26%, transparent 72%, rgb(20 40 74 / 55%) 100%);
}
@media (min-width: 1051px) {
  .alpha-hero-visual { left: 0; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(20 40 74 / 86%) 0%, rgb(20 40 74 / 70%) 34%, rgb(20 40 74 / 38%) 66%, rgb(20 40 74 / 26%) 100%),
      linear-gradient(180deg, rgb(20 40 74 / 30%) 0%, transparent 26%, transparent 72%, rgb(20 40 74 / 55%) 100%);
  }
}
@media (max-width: 1050px) and (min-width: 761px) {
  .alpha-hero-visual { left: 0; }
  .alpha-hero-editorial .alpha-hero-copy { width: min(600px, 100%); }
}
@media (max-width: 760px) {
  .alpha-hero-layout { min-height: max(100svh, 700px); align-items: flex-start; }
  .alpha-hero-editorial .alpha-hero-copy { padding: 104px 24px 48px; }
  .alpha-hero-visual { position: absolute; inset: 0; width: auto; height: auto; order: 0; }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: center 85%; }
  .alpha-hero-layout::after {
    display: block;
    background: linear-gradient(180deg, rgb(20 40 74 / 88%) 0%, rgb(20 40 74 / 74%) 45%, rgb(20 40 74 / 30%) 75%, rgb(20 40 74 / 45%) 100%);
  }
}
.alpha-hero-editorial h1 { text-shadow: 0 2px 24px rgb(0 0 0 / 35%); }
.alpha-hero-editorial .alpha-hero-description { color: #EAF3FB; }

/* Móvil: el equipo completo ancla la parte baja de la portada; el texto va arriba sobre la zona vacía de mármol. */
@media (max-width: 760px) {
  .alpha-hero-layout { min-height: max(100svh, 880px); }
  .alpha-hero-visual { top: auto; height: min(100%, 135vw); }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: center bottom; }
  .alpha-hero-layout::after {
    background: linear-gradient(180deg, #14284A 0%, rgb(20 40 74 / 92%) 28%, rgb(20 40 74 / 62%) 52%, rgb(20 40 74 / 12%) 78%, rgb(20 40 74 / 30%) 100%);
  }
}
@media (max-width: 760px) {
  .alpha-hero-visual { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 55%) 22%, #000 48%); mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / 55%) 22%, #000 48%); }
}

/* ═══ Barra integrada en la foto + contenido arriba, doctores al descubierto ═══ */

/* Arriba del todo la barra es transparente sobre la foto; al bajar se vuelve blanca. */
.site-header { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .brand img { content: url("../images/marca/logo-header-hd.webp"); }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu a { color: #EEF5FC; }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu > a:is(:hover,:focus-visible),
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link { color: var(--gold-bright); background: rgb(187 220 243 / 14%); }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu-toggle { color: var(--gold-bright); }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions .booking-button { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions .booking-button:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) :is(a,button):focus-visible { outline-color: var(--gold); }

/* Portada de escritorio: texto centrado en la franja superior; los tres doctores quedan sin capa encima. */
@media (min-width: 761px) {
  .alpha-hero-layout { min-height: max(100svh, 780px); align-items: flex-start; justify-content: center; }
  .alpha-hero-editorial .alpha-hero-copy {
    width: min(1000px, 100%); margin-inline: auto; text-align: center; align-self: flex-start;
    padding: clamp(96px,13svh,128px) 28px 0;
  }
  .alpha-hero-editorial .alpha-hero-eyebrow { margin-bottom: 14px; }
  .alpha-hero-editorial h1 { font-size: clamp(40px,4.6vw,68px); }
  
  .alpha-hero-editorial .alpha-hero-description { max-width: 640px; margin: 16px auto 22px; font-size: 16px; line-height: 1.6; }
  .alpha-hero-editorial .alpha-hero-description strong { display: block; margin-top: 4px; }
  .alpha-hero-editorial .alpha-hero-actions { justify-content: center; }
  .alpha-hero-editorial .alpha-google { margin: 18px auto 0; width: fit-content; }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: center 41%; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(180deg, rgb(20 40 74 / 88%) 0%, rgb(20 40 74 / 72%) 26%, rgb(20 40 74 / 34%) 42%, transparent 54%),
      linear-gradient(0deg, rgb(20 40 74 / 30%) 0%, transparent 18%);
  }
}

/* Portada de escritorio, versión 2: el equipo se muestra completo (rostros y torso), anclado abajo y centrado;
   los costados se funden con el negro. El texto va sobre la zona vacía de mármol de la foto. */
@media (min-width: 761px) {
  .alpha-hero-layout { min-height: max(100svh, 860px); }
  .alpha-hero-visual { display: flex; justify-content: center; align-items: flex-end; }
  .alpha-hero-editorial .alpha-hero-photo {
    position: relative; inset: auto; flex: none;
    height: 92%; width: auto; aspect-ratio: 4 / 5;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: center bottom; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(180deg, rgb(20 40 74 / 94%) 0%, rgb(20 40 74 / 82%) 30%, rgb(20 40 74 / 48%) 44%, transparent 54%),
      linear-gradient(0deg, rgb(20 40 74 / 25%) 0%, transparent 14%);
  }
}

/* Portada de escritorio, versión 3: foto panorámica (equipo completo y centrado) a pantalla completa. */
@media (min-width: 761px) {
  .alpha-hero-layout { min-height: max(100svh, 820px); }
  .alpha-hero-visual { display: block; }
  .alpha-hero-editorial .alpha-hero-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
    -webkit-mask-image: none; mask-image: none;
  }
  .alpha-hero-editorial .alpha-hero-photo picture { display: block; width: 100%; height: 100%; }
  .alpha-hero-editorial .alpha-hero-photo img { object-fit: cover; object-position: center bottom; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(180deg, rgb(20 40 74 / 90%) 0%, rgb(20 40 74 / 74%) 28%, rgb(20 40 74 / 40%) 44%, transparent 56%),
      linear-gradient(0deg, rgb(20 40 74 / 30%) 0%, transparent 16%),
      rgb(20 40 74 / 22%);
  }
}
@media (min-width: 761px) {
  .alpha-hero-layout { min-height: max(100svh, 760px); }
  .alpha-hero-editorial .alpha-hero-copy { padding-top: clamp(88px,11svh,112px); }
  .alpha-hero-editorial .alpha-hero-description { margin: 12px auto 18px; }
  .alpha-hero-editorial .alpha-google { margin-top: 14px; }
}

/* Valoración de Google: esquina inferior izquierda para no tapar al equipo. */
@media (min-width: 761px) {
  .alpha-hero-editorial .alpha-hero-copy { position: static; }
  .alpha-hero-editorial .alpha-hero-copy > * { position: relative; z-index: 2; }
  .alpha-hero-editorial .alpha-hero-copy > .alpha-google { position: absolute; left: clamp(24px,5vw,72px); bottom: 32px; margin: 0; }
}

/* Equipo más cerca: se amplía la foto anclando la escala cerca de la base. */
@media (min-width: 761px) {
  .alpha-hero-editorial .alpha-hero-photo { overflow: hidden; }
  .alpha-hero-editorial .alpha-hero-photo img { transform: scale(1.16); transform-origin: 50% 88%; }
}

/* ═══ Portada de escritorio (≥1051px): texto a la izquierda, equipo grande y despejado a la derecha ═══ */
@media (min-width: 1051px) {
  .alpha-hero-layout { min-height: max(100svh, 720px); align-items: center; justify-content: flex-start; }
  .alpha-hero-editorial .alpha-hero-copy {
    width: 44%; margin: 0; text-align: left; align-self: center;
    padding: 110px 24px 64px clamp(32px,5.5vw,104px);
  }
  .alpha-hero-editorial h1 { font-size: clamp(42px,4.2vw,66px); }
  .alpha-hero-editorial .alpha-hero-description { margin: 18px 0 26px; max-width: 470px; }
  .alpha-hero-editorial .alpha-hero-actions { justify-content: flex-start; }
  .alpha-hero-editorial .alpha-hero-copy > .alpha-google { position: relative; left: auto; bottom: auto; margin: 26px 0 0; }
  .alpha-hero-editorial .alpha-hero-photo img { transform: translateX(13%) scale(1.3); transform-origin: 50% 90%; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(20 40 74 / 94%) 0%, rgb(20 40 74 / 86%) 30%, rgb(20 40 74 / 45%) 46%, rgb(20 40 74 / 10%) 58%, transparent 66%),
      linear-gradient(180deg, rgb(20 40 74 / 45%) 0%, transparent 16%),
      linear-gradient(0deg, rgb(20 40 74 / 30%) 0%, transparent 14%);
  }
}

.entry-panel .entry-photo img { object-position: center 88%; }
.entry-panel.entry-panel--urgencias .entry-photo img { object-position: center 92%; }
.entry-panel::before { background: linear-gradient(180deg, rgb(20 40 74 / 55%), rgb(20 40 74 / 90%)); }
.entry-category { text-shadow: 0 1px 8px rgb(0 0 0 / 60%); }

/* Menú desplegable de Odontología: texto oscuro legible sobre el panel claro. */
.site-header #menu .menu-dropdown-panel a,
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown-panel a { color: #14284A !important; font-weight: 600; }
.site-header #menu .menu-dropdown-panel a:is(:hover,:focus-visible),
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown-panel a:is(:hover,:focus-visible) { background: var(--ivory-deep) !important; color: var(--gold-deep) !important; box-shadow: none; }
.site-header #menu .menu-dropdown-panel .menu-dropdown-all a,
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown-panel .menu-dropdown-all a { color: var(--gold-deep) !important; font-weight: 700; }
.site-header #menu .menu-dropdown-all { border-top-color: rgb(187 220 243 / 45%); }

/* Botones de categoría (Odontología / Medicina estética): negros para que destaquen. */
.cat-bar .cat-pills a { background: var(--ink); color: #EEF5FC; border: 1px solid var(--ink); }
.cat-bar .cat-pills a span { background: var(--gold); color: var(--ink); }
.cat-bar .cat-pills a:is(:hover,:focus-visible) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cat-bar .cat-pills a:is(:hover,:focus-visible) span { background: var(--ink); color: var(--gold-bright); }

/* ═══ Sección "Tu evaluación": equipo visible abajo, texto sobre el mármol oscurecido ═══ */
.alpha-final-cta { min-height: clamp(760px, 100svh, 980px); padding: clamp(72px,9vw,104px) 0 clamp(400px,42vw,560px); display: flex; align-items: flex-start; }
.alpha-final-background { object-fit: cover; object-position: center bottom; }
.alpha-final-cta::before {
  background: linear-gradient(180deg, rgb(20 40 74 / 96%) 0%, rgb(20 40 74 / 88%) 34%, rgb(20 40 74 / 40%) 56%, rgb(20 40 74 / 6%) 72%, rgb(20 40 74 / 28%) 100%);
}
.alpha-final-label { display: inline-block; padding: 8px 18px; border: 1px solid rgb(187 220 243 / 60%); border-radius: 999px; background: rgb(20 40 74 / 55%); color: var(--gold-bright); }
.alpha-final-label::before, .alpha-final-label::after { content: none; }
.alpha-final-cta h2 span { position: relative; display: inline-block; color: var(--gold-bright); }
.alpha-final-cta h2 { margin-bottom: 14px; }
.alpha-final-benefits li { padding: 8px 14px; border: 1px solid rgb(187 220 243 / 35%); border-radius: 999px; background: rgb(20 40 74 / 45%); }
section.alpha-final-cta .alpha-final-actions .button.alpha-final-book { background: var(--gold); border-color: var(--gold); color: var(--ink); }
section.alpha-final-cta .alpha-final-actions .button.alpha-final-book:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
section.alpha-final-cta .alpha-final-actions .button.alpha-final-whatsapp { background: rgb(20 40 74 / 55%); border: 1px solid rgb(187 220 243 / 65%); color: #EEF5FC; }
section.alpha-final-cta .alpha-final-actions .button.alpha-final-whatsapp:hover { background: rgb(187 220 243 / 20%); border-color: var(--gold); color: #fff; }
.alpha-final-phone { color: #EAF3FB; }
@media (max-width: 760px) {
  .alpha-final-cta { padding-bottom: clamp(300px,80vw,380px); }
  .alpha-final-background { object-position: 55% bottom; }
}

/* Sección "Tu evaluación" compacta: sin foto de fondo (se cambiará después) y con el tamaño de la original. */
.alpha-final-cta { min-height: 0; display: block; padding: clamp(72px,8vw,112px) 0; background: radial-gradient(ellipse at 50% 0%, rgb(187 220 243 / 16%), transparent 60%), var(--ink); }
.alpha-final-cta .alpha-final-background { display: none; }
.alpha-final-cta::before { background: none; }
@media (max-width: 760px) { .alpha-final-cta { padding: clamp(56px,14vw,80px) 0; } }
.alpha-final-cta { padding: clamp(56px,6vw,80px) 0; }
.alpha-final-cta h2 { font-size: clamp(32px,3.6vw,50px); margin-bottom: 8px; }
.alpha-final-label { margin-bottom: 18px; }
.alpha-final-description { margin-bottom: 20px; font-size: 16px; }
.alpha-final-benefits { margin-bottom: 26px; }
.alpha-final-actions .button { min-height: 50px; padding: 13px 24px; }
.alpha-final-phone { margin-top: 14px; }

/* Botón "Volver arriba": cápsula con borde dorado sobre el pie negro. */
.site-footer.alpha-footer .footer-bottom > a.footer-top {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 22px;
  border: 1px solid rgb(187 220 243 / 70%); border-radius: 999px;
  background: transparent; color: var(--gold-bright); font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.site-footer.alpha-footer .footer-bottom > a.footer-top svg { transition: transform .25s ease; }
.site-footer.alpha-footer .footer-bottom > a.footer-top:is(:hover,:focus-visible) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-footer.alpha-footer .footer-bottom > a.footer-top:is(:hover,:focus-visible) svg { transform: translateY(-3px); }
.site-footer.alpha-footer .footer-bottom > a.footer-top:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .site-footer.alpha-footer .footer-bottom > a.footer-top, .site-footer.alpha-footer .footer-bottom > a.footer-top svg { transition: none; } }

/* Íconos sociales del pie y botón flotante de WhatsApp: negro y dorado, bien visibles. */
.site-footer.alpha-footer .footer-socials a { background: transparent; border: 1px solid rgb(187 220 243 / 70%); color: var(--gold-bright); }
.site-footer.alpha-footer .footer-socials a:is(:hover,:focus-visible) { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* "Nuestro enfoque": las tres opciones en vertical, una al lado de la otra. */
@media (min-width: 901px) {
  .entry-triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; gap: 18px; }
  .entry-panel,
  .entry-panel--urgencias, .entry-panel--odontologia, .entry-panel--evaluacion { grid-column: auto; grid-row: auto; min-height: clamp(520px, 44vw, 640px); }
  .entry-panel .entry-copy,
  .entry-panel--urgencias .entry-copy,
  .entry-panel:not(.entry-panel--urgencias) .entry-copy { justify-content: flex-end; padding: 80px 28px 30px; }
  .entry-panel h3, .entry-panel--urgencias h3 { font-size: clamp(24px, 2.2vw, 32px); max-width: 100%; }
  .entry-panel .entry-description,
  .entry-panel:not(.entry-panel--urgencias) .entry-description { max-width: 100%; }
  .entry-panel .entry-photo img,
  .entry-panel.entry-panel--urgencias .entry-photo img { width: 100%; max-width: none; object-position: center 90%; }
}
@media (max-width: 900px) {
  .entry-panel { min-height: 460px; }
  .entry-copy { min-height: 0; }
}

/* Galería de Instagram: las tres publicaciones con la misma proporción vertical. */
.alpha-social-item:nth-child(2) { padding-block: 0; }
.alpha-social-item:nth-child(2) .alpha-social-photo { aspect-ratio: 3 / 4; }
.alpha-social-photo img { object-position: center top; }
@media (max-width: 520px) { .alpha-social-item:first-child .alpha-social-photo { aspect-ratio: 3 / 4; } }
.patient-source--pending { cursor: default; }
.patient-source--pending:hover span { transform: none; }

/* Tiempo estimado de cada tratamiento. */
.team-time { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--gold-deep); font-size: 13px; font-weight: 700; line-height: 1.4; }
.team-time svg { flex: none; }
.team-note { color: var(--slate); font-size: 12px; }

/* Equipo completo: botón "Ver perfil" junto a "Consultar disponibilidad". */
.team-card .team-profile-open {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin: 0 0 10px; padding: 10px 18px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--gold-bright);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.team-card .team-profile-open svg { flex: none; transition: transform .25s ease; }
.team-card .team-profile-open:is(:hover,:focus-visible) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.team-card .team-profile-open:is(:hover,:focus-visible) svg { transform: translateX(3px); }
.team-card .team-profile-open:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.alpha-profile-copy > p:not(.alpha-profile-specialty) { color: var(--slate); line-height: 1.6; }

/* Tarjetas del equipo con la misma altura: "Ver perfil" y "Consultar disponibilidad" quedan alineados abajo. */
.team-section .team-item { display: flex; }
.team-section .team-item > .team-card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.team-section .team-card .team-info { display: flex; flex-direction: column; flex: 1; }
.team-section .team-card .team-desc { margin-bottom: 16px; }
.team-section .team-card .team-profile-open { margin-top: auto; }
.team-section .team-card .team-contact { margin-top: 0; }

/* Contacto: botones con los colores de cada canal (WhatsApp verde, teléfono azul). */
.contact-btn.contact-btn--wa { background: #1A9E4E; color: #FFFFFF; }
.contact-btn.contact-btn--wa:is(:hover,:focus-visible) { background: #15823F; filter: none; }
.contact-btn.contact-btn--tel { background: #184A9A; color: #FFFFFF; }
.contact-btn.contact-btn--tel:is(:hover,:focus-visible) { background: #123A7A; filter: none; }

/* Medicina estética: foto propia de fondo, con oscurecimiento solo abajo para leer el texto. */
.entry-panel.entry-panel--urgencias .entry-photo img { object-position: center 28%; }
.entry-panel.entry-panel--urgencias::before { background: linear-gradient(180deg, rgb(20 40 74 / 20%) 0%, rgb(20 40 74 / 8%) 36%, rgb(20 40 74 / 72%) 68%, rgb(20 40 74 / 92%) 100%); }

/* Odontología: foto propia de fondo, oscurecida solo abajo para leer el texto. */
.entry-panel.entry-panel--odontologia .entry-photo img { object-position: center 35%; }
.entry-panel.entry-panel--odontologia::before { background: linear-gradient(180deg, rgb(20 40 74 / 14%) 0%, rgb(20 40 74 / 6%) 38%, rgb(20 40 74 / 70%) 70%, rgb(20 40 74 / 92%) 100%); }

/* Evaluación: foto propia de fondo, oscurecida solo abajo para leer el texto. */
.entry-panel.entry-panel--evaluacion .entry-photo img { object-position: center 30%; }
.entry-panel.entry-panel--evaluacion::before { background: linear-gradient(180deg, rgb(20 40 74 / 18%) 0%, rgb(20 40 74 / 8%) 36%, rgb(20 40 74 / 72%) 68%, rgb(20 40 74 / 92%) 100%); }

/* El logo del video queda arriba a la derecha: el botón de cerrar pasa a la izquierda. */
.clinic-video-close { right: auto; left: 10px; }

/* Tarjetas de la lista de tratamientos: el título también enlaza a la ficha. */
.team-title-link { color: inherit; text-decoration: none; }
.team-title-link:is(:hover,:focus-visible) { color: var(--gold-deep); }

/* Lista de tratamientos: toda la tarjeta lleva a la ficha (enlace extendido desde el título). */
.team-section .team-card:has(.team-title-link) { position: relative; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.team-section .team-card:has(.team-title-link) .team-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.team-section .team-card:has(.team-title-link):is(:hover,:focus-within) { transform: translateY(-4px); box-shadow: 0 16px 36px rgb(20 40 74 / 14%); }
.team-section .team-card:has(.team-title-link) .team-title-link:focus-visible { outline: none; }
.team-section .team-card:has(.team-title-link):has(.team-title-link:focus-visible) { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.team-section .team-card:has(.team-title-link):is(:hover) .team-contact { color: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) { .team-section .team-card:has(.team-title-link) { transition: none; } .team-section .team-card:has(.team-title-link):hover { transform: none; } }

/* Enlaces legales del pie. */
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer.alpha-footer .footer-legal a { min-height: 44px; display: inline-flex; align-items: center; color: #BFD0E4; font-size: 13px; text-decoration: underline; text-decoration-color: rgb(187 220 243 / 50%); text-underline-offset: 4px; }
.site-footer.alpha-footer .footer-legal a:is(:hover,:focus-visible) { color: var(--gold-bright); }

/* Contraste: dorado oscuro más profundo para texto sobre marfil y botón verde de WhatsApp. */
:root { --gold-deep: #305090; }
.alpha-location-whatsapp, .alpha-final-whatsapp { background: #15803D !important; border-color: #15803D !important; color: #FFFFFF !important; }


/* Contraste (WCAG AA): texto oscuro sobre dorado y blanco sobre verde/azul profundos. */
.site-footer.alpha-footer a.footer-phone { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink) !important; }
.site-footer.alpha-footer a.footer-phone:is(:hover,:focus-visible) { background: var(--gold-bright) !important; color: var(--ink) !important; }
.contact-btn.contact-btn--wa { background: #15803D; }
.contact-btn.contact-btn--wa:is(:hover,:focus-visible) { background: #116B32; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.catalog-whatsapp { background: transparent !important; border: 1px solid rgb(187 220 243 / 65%) !important; border-radius: 999px !important; color: #EAF3FB !important; }
.catalog-whatsapp:is(:hover,:focus-visible) { background: rgb(187 220 243 / 16%) !important; color: #FFFFFF !important; }
.catalog-help .catalog-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px !important; line-height: 1.2; }
.catalog-help .catalog-help-actions { align-items: center; }
.catalog-help .catalog-help-actions .button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; }
.catalog-help .catalog-help-actions { width: min(300px, 100%); gap: 14px; align-items: stretch; }
.catalog-help .catalog-help-actions .button.button { width: 100%; background: var(--gold); border: 1px solid var(--gold); color: var(--ink); }
.catalog-help .catalog-help-actions .button.button:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.catalog-help .catalog-whatsapp { width: 100%; }

/* Pie de página: teléfono y "Cómo llegar" apilados con aire entre ellos */
.site-footer.alpha-footer a.footer-phone { display: flex; width: fit-content; margin-top: 20px; }
.site-footer.alpha-footer a.footer-map-link { display: flex; width: fit-content; margin-top: 22px; padding-block: 8px; }
@media (max-width: 760px) {
  .site-footer.alpha-footer a.footer-phone { margin-top: 24px; }
  .site-footer.alpha-footer a.footer-map-link { margin-top: 28px; }
}

/* ═══ Ajustes para la foto de Alpha Dent (retrato vertical de los dos doctores) ═══ */
/* Logo blanco sobre la foto; vuelve a su color al bajar. */
.site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .brand img { content: none; filter: brightness(0) invert(1); }
.site-header.is-on-light .brand img,
.site-header.is-compact .brand img,
.site-header.menu-open .brand img { filter: none; }

.alpha-hero-editorial .alpha-hero-photo { overflow: hidden; }
.alpha-hero-editorial .alpha-hero-photo img { transform: none; object-fit: cover; object-position: 50% 30%; }

/* Móvil y tablet: texto arriba y los doctores anclados abajo, con los rostros a la vista. */
@media (max-width: 1050px) {
  .alpha-hero-layout { min-height: max(100svh, 880px); align-items: flex-start; }
  .alpha-hero-editorial .alpha-hero-copy { width: min(640px, 100%); margin-inline: auto; text-align: center; padding: 104px 24px 0; }
  .alpha-hero-editorial .alpha-hero-description { margin: 14px auto 20px; }
  .alpha-hero-editorial .alpha-hero-actions { justify-content: center; }
  .alpha-hero-editorial .alpha-hero-copy > .alpha-google { position: relative; left: auto; bottom: auto; margin: 20px auto 0; }
  .alpha-hero-visual { position: absolute; inset: auto 0 0 0; left: 0; width: auto; height: min(78%, 760px); display: flex; justify-content: center; }
  .alpha-hero-editorial .alpha-hero-photo { position: relative; inset: auto; width: 100%; height: 100%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: 50% 34%; }
  .alpha-hero-layout::after { background: linear-gradient(180deg, #14284A 0%, rgb(20 40 74 / 92%) 30%, rgb(20 40 74 / 30%) 55%, transparent 70%); }
}

/* Escritorio: texto a la izquierda y los doctores grandes a la derecha. */
@media (min-width: 1051px) {
  .alpha-hero-layout { min-height: max(100svh, 720px); }
  .alpha-hero-visual { position: absolute; inset: 0 0 0 38%; width: auto; height: auto; }
  .alpha-hero-editorial .alpha-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .alpha-hero-editorial .alpha-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transform: none; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, #14284A 0%, #14284A 38%, rgb(20 40 74 / 78%) 43%, rgb(20 40 74 / 30%) 50%, transparent 58%),
      linear-gradient(180deg, rgb(20 40 74 / 45%) 0%, transparent 18%),
      linear-gradient(0deg, rgb(20 40 74 / 35%) 0%, transparent 16%);
  }
}

/* Texto sobre fondos azul marino: celeste en lugar del azul oscuro de las secciones claras. */
.featured-treatments h2 span,
.featured-treatments .featured-all { color: var(--gold); }
.featured-treatments .featured-all { border-bottom-color: var(--gold); }
.featured-treatments h2 { color: #FFFFFF; }

/* Pie de página sobre azul marino: logo blanco y botón de urgencias rojo. */
.site-footer.alpha-footer .footer-brand img,
.alpha-footer .footer-brand img { filter: brightness(0) invert(1); }
.site-footer.alpha-footer a.footer-emergency,
.alpha-footer a.footer-emergency { background: #C62828; border: 1px solid #C62828; color: #FFFFFF; }
.site-footer.alpha-footer a.footer-emergency span,
.alpha-footer a.footer-emergency span { color: #FFFFFF; }
.site-footer.alpha-footer a.footer-emergency:is(:hover,:focus-visible) { background: #FFFFFF; border-color: #FFFFFF; color: #C62828; }
.site-footer.alpha-footer a.footer-emergency:is(:hover,:focus-visible) span { color: #C62828; }
.alpha-footer .footer-emergency-dot { background: #FFFFFF; }

/* Conectemos: texto claro sobre el azul de la sección. */
.alpha-social h2, .alpha-social .alpha-social-heading h2 { color: #FFFFFF; }
.alpha-social h2 span, .alpha-social .alpha-social-heading h2 span { color: var(--gold); }
.alpha-social .alpha-social-label { background: rgb(255 255 255 / 14%); border-color: rgb(255 255 255 / 40%); color: #FFFFFF; }
.alpha-social .alpha-social-footer a { color: #FFFFFF; }

/* Botones de WhatsApp: siempre verdes. */
section.clinic-band .clinic-actions .button[href*="wa.me"] { background: #25D366; border-color: #25D366; color: #0B2A18; }
section.clinic-band .clinic-actions .button[href*="wa.me"]:hover { background: #20BD5A; border-color: #20BD5A; }
section.clinic-band .clinic-actions .button[href*="wa.me"] svg { color: currentColor !important; }
.catalog-help a[href*="wa.me"].catalog-whatsapp { background: #25D366 !important; border: 1px solid #25D366 !important; color: #0B2A18 !important; }
.catalog-help a[href*="wa.me"].catalog-whatsapp:is(:hover,:focus-visible) { background: #20BD5A !important; border-color: #20BD5A !important; color: #0B2A18 !important; }

/* Altura de la portada en móvil/tablet: el texto cabe primero y los doctores quedan debajo, sin taparlo. */
@media (max-width: 760px) {
  .alpha-hero-layout { min-height: calc(650px + 112vw); }
  .alpha-hero-visual { height: 125vw; }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: 50% 30%; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .alpha-hero-layout { min-height: 1040px; }
  .alpha-hero-visual { height: 600px; }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: 50% 26%; }
}

/* Escritorio: la foto se funde con el azul marino (sin corte vertical entre el texto y los doctores). */
@media (min-width: 1051px) {
  .alpha-hero-visual { inset: 0 0 0 28%; }
  .alpha-hero-editorial .alpha-hero-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 35%) 14%, rgb(0 0 0 / 80%) 28%, #000 44%);
    mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 35%) 14%, rgb(0 0 0 / 80%) 28%, #000 44%);
  }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, #14284A 0%, #14284A 30%, rgb(20 40 74 / 70%) 42%, rgb(20 40 74 / 25%) 54%, transparent 64%),
      linear-gradient(180deg, rgb(20 40 74 / 45%) 0%, transparent 18%),
      linear-gradient(0deg, rgb(20 40 74 / 55%) 0%, transparent 22%);
  }
}

/* Escritorio, como en la portada de referencia: la foto ocupa todo el fondo y el azul marino la cubre desde la izquierda. */
@media (min-width: 1051px) {
  .alpha-hero-visual { inset: 0; }
  .alpha-hero-editorial .alpha-hero-photo { -webkit-mask-image: none; mask-image: none; overflow: hidden; }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: 50% 38%; transform: translateX(16%) scale(1.02); transform-origin: 50% 40%; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(20 40 74 / 94%) 0%, rgb(20 40 74 / 88%) 30%, rgb(20 40 74 / 50%) 46%, rgb(20 40 74 / 12%) 58%, transparent 66%),
      linear-gradient(180deg, rgb(20 40 74 / 45%) 0%, transparent 16%),
      linear-gradient(0deg, rgb(20 40 74 / 40%) 0%, transparent 14%);
  }
}

/* Escritorio (versión final): azul marino de fondo, doctores a la derecha a toda la altura y fundidos con el fondo por todos los lados. */
@media (min-width: 1051px) {
  .alpha-hero-visual { inset: 0 0 0 auto; width: 58%; }
  .alpha-hero-editorial .alpha-hero-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 55%) 20%, #000 48%), linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 55%) 20%, #000 48%), linear-gradient(180deg, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: 50% 18%; transform: none; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, #14284A 0%, #14284A 36%, rgb(20 40 74 / 60%) 46%, transparent 58%),
      linear-gradient(180deg, rgb(20 40 74 / 50%) 0%, transparent 16%),
      linear-gradient(0deg, #14284A 0%, rgb(20 40 74 / 40%) 10%, transparent 22%);
  }
}

/* Escritorio (definitivo): los doctores ocupan todo el fondo bajo una capa azul semitransparente; el contenido va encima, a la izquierda, sin tapar sus rostros. */
@media (min-width: 1051px) {
  .alpha-hero-visual { inset: 0; width: auto; }
  .alpha-hero-editorial .alpha-hero-photo { -webkit-mask-image: none; mask-image: none; overflow: hidden; background: #14284A; }
  .alpha-hero-editorial .alpha-hero-photo img { object-position: 50% 14%; transform: translateX(15%); transform-origin: 50% 0; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, #14284A 0%, #14284A 14%, rgb(20 40 74 / 78%) 24%, rgb(20 40 74 / 52%) 38%, rgb(20 40 74 / 40%) 100%),
      linear-gradient(180deg, rgb(20 40 74 / 40%) 0%, transparent 18%),
      linear-gradient(0deg, rgb(20 40 74 / 45%) 0%, transparent 16%);
  }
}

/* Escritorio: pared lisa de fondo + doctores a toda la altura, todo bajo la misma capa azul semitransparente (sin cortes). */
@media (min-width: 1051px) {
  .alpha-hero-visual { background: linear-gradient(180deg, #B9BAB7 0%, #AAACA9 100%); }
  .alpha-hero-editorial .alpha-hero-photo {
    inset: 0 0 0 auto; width: auto; height: 100%; aspect-ratio: 1128 / 1394; background: none; overflow: visible;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  }
  .alpha-hero-editorial .alpha-hero-photo picture,
  .alpha-hero-editorial .alpha-hero-photo img { width: 100%; height: 100%; }
  .alpha-hero-editorial .alpha-hero-photo img { object-fit: cover; object-position: 50% 50%; transform: none; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(20 40 74 / 94%) 0%, rgb(20 40 74 / 86%) 32%, rgb(20 40 74 / 64%) 52%, rgb(20 40 74 / 56%) 100%),
      linear-gradient(180deg, rgb(20 40 74 / 40%) 0%, transparent 18%),
      linear-gradient(0deg, rgb(20 40 74 / 45%) 0%, transparent 16%);
  }
}

/* ═══ Inicio como la referencia: doctores a todo el ancho de fondo, texto arriba y botones encima ═══ */
@media (min-width: 1051px) {
  .alpha-hero-layout { min-height: max(100svh, 880px); align-items: flex-start; justify-content: center; }
  .alpha-hero-editorial .alpha-hero-copy {
    width: min(960px, 100%); margin: 0 auto; text-align: center; align-self: flex-start;
    padding: clamp(96px,12svh,118px) 28px 0;
  }
  .alpha-hero-editorial h1 { font-size: clamp(42px,4.2vw,66px); }
  .alpha-hero-editorial .alpha-hero-description { margin: 14px auto 20px; max-width: 620px; }
  .alpha-hero-editorial .alpha-hero-actions { justify-content: center; }
  .alpha-hero-editorial .alpha-hero-copy > .alpha-google { position: absolute; left: clamp(24px,5vw,72px); bottom: 32px; margin: 0; }
  .alpha-hero-visual { inset: 0; width: auto; background: #14284A; }
  .alpha-hero-editorial .alpha-hero-photo {
    inset: 0; width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden;
    -webkit-mask-image: none; mask-image: none;
  }
  .alpha-hero-editorial .alpha-hero-photo picture,
  .alpha-hero-editorial .alpha-hero-photo img { width: 100%; height: 100%; }
  .alpha-hero-editorial .alpha-hero-photo img { object-fit: cover; object-position: 50% 8%; transform: none; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(180deg, rgb(20 40 74 / 92%) 0%, rgb(20 40 74 / 78%) 30%, rgb(20 40 74 / 40%) 48%, rgb(20 40 74 / 18%) 62%, rgb(20 40 74 / 30%) 100%),
      rgb(20 40 74 / 18%);
  }
}

/* "Conectemos" en azul marino profundo, como el resto de bloques oscuros. */
.alpha-social { background: radial-gradient(ellipse at 0% 100%, rgb(48 80 144 / 35%), transparent 65%), #14284A; }
@media (min-width: 1051px) {
  .alpha-hero-editorial .alpha-hero-photo img { transform: translateY(6%); }
}

/* Sin líneas curvas bajo los títulos. */
.hero-smile, .entry-smile, .final-smile { display: none !important; }

/* La luz de la ventana en el lado izquierdo de la foto aclaraba al primer doctor: se oscurece esa zona. */
.alpha-hero-editorial .alpha-hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(20 40 74 / 70%) 0%, rgb(20 40 74 / 40%) 22%, transparent 45%),
    linear-gradient(0deg, rgb(20 40 74 / 55%) 0%, transparent 35%);
}

/* ═══ Escritorio (versión con los doctores completos): todo el fondo es la foto, desde la barra superior hasta el final ═══ */
@media (min-width: 1051px) {
  .alpha-hero-layout { min-height: max(100svh, 760px); align-items: center; justify-content: flex-start; }
  .alpha-hero-editorial .alpha-hero-copy {
    width: 46%; margin: 0; text-align: left; align-self: center;
    padding: 110px 24px 64px clamp(32px,5.5vw,104px);
  }
  .alpha-hero-editorial .alpha-hero-description { margin: 18px 0 26px; max-width: 480px; }
  .alpha-hero-editorial .alpha-hero-actions { justify-content: flex-start; }
  .alpha-hero-editorial .alpha-hero-copy > .alpha-google { position: relative; left: auto; bottom: auto; margin: 26px 0 0; }
  .alpha-hero-visual { inset: 0; background: linear-gradient(180deg, #B6B7B4 0%, #AAACA9 100%); }
  .alpha-hero-editorial .alpha-hero-photo {
    inset: 0 0 0 auto; width: auto; height: 100%; aspect-ratio: 1128 / 1394; overflow: visible; background: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  }
  .alpha-hero-editorial .alpha-hero-photo img { object-fit: cover; object-position: 50% 50%; transform: none; }
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(20 40 74 / 94%) 0%, rgb(20 40 74 / 86%) 32%, rgb(20 40 74 / 62%) 52%, rgb(20 40 74 / 50%) 100%),
      linear-gradient(180deg, rgb(20 40 74 / 40%) 0%, transparent 18%),
      linear-gradient(0deg, rgb(20 40 74 / 45%) 0%, transparent 16%);
  }
}

/* Capa sobre la foto del color de la pared (gris azulado, un poco más oscuro): el texto y los botones resaltan sin teñir de azul a los doctores. */
@media (min-width: 1051px) {
  .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(52 57 63 / 84%) 0%, rgb(52 57 63 / 76%) 34%, rgb(52 57 63 / 60%) 56%, rgb(52 57 63 / 48%) 100%),
      linear-gradient(180deg, rgb(40 44 50 / 45%) 0%, transparent 20%),
      linear-gradient(0deg, rgb(40 44 50 / 40%) 0%, transparent 18%);
  }
  .alpha-hero-editorial .alpha-hero-photo::after {
    background: linear-gradient(0deg, rgb(40 44 50 / 35%) 0%, transparent 30%);
  }
  .alpha-hero-editorial .alpha-hero-eyebrow { color: #DCEEFA; }
  .alpha-hero-editorial h1 { text-shadow: 0 2px 22px rgb(20 24 30 / 45%); }
  .alpha-hero-editorial .alpha-google { background: rgb(40 44 50 / 55%); }
}

/* Escritorio: capa gris neutra (del tono de la pared, algo más oscura) y barra superior clara con el logo original. */
@media (min-width: 1051px) {
  .alpha-hero-layout::after {
    background:
      linear-gradient(180deg, rgb(244 245 246 / 78%) 0%, rgb(244 245 246 / 55%) 70px, transparent 125px),
      linear-gradient(90deg, rgb(66 68 70 / 84%) 0%, rgb(66 68 70 / 74%) 34%, rgb(66 68 70 / 56%) 56%, rgb(66 68 70 / 44%) 100%),
      linear-gradient(0deg, rgb(50 52 54 / 40%) 0%, transparent 18%);
  }
  .alpha-hero-editorial .alpha-hero-photo::after { background: linear-gradient(0deg, rgb(50 52 54 / 35%) 0%, transparent 30%); }
  .alpha-hero-editorial .alpha-google { background: rgb(50 52 54 / 60%); }
  .alpha-hero-editorial h1 { text-shadow: 0 2px 22px rgb(20 20 20 / 40%); }
  .alpha-hero-editorial .alpha-hero-eyebrow { color: #E4F1FB; }

  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .brand img { filter: none; }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu a { color: #14284A; }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu > a:is(:hover,:focus-visible),
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link { color: #305090; background: rgb(48 80 144 / 12%); }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions .booking-button { background: #14284A; border-color: #14284A; color: #DCEEFA; }
}

/* Mayor especificidad: sustituye la capa azul heredada por la gris neutra. */
@media (min-width: 1051px) {
  section.alpha-hero-editorial .alpha-hero-layout::after {
    background:
      linear-gradient(180deg, rgb(244 245 246 / 78%) 0%, rgb(244 245 246 / 55%) 70px, transparent 125px),
      linear-gradient(90deg, rgb(66 68 70 / 84%) 0%, rgb(66 68 70 / 74%) 34%, rgb(66 68 70 / 56%) 56%, rgb(66 68 70 / 44%) 100%),
      linear-gradient(0deg, rgb(50 52 54 / 40%) 0%, transparent 18%);
  }
}

/* ═══ Portada de escritorio como la referencia: capa gris oscura neutra, barra transparente con logo claro ═══ */
@media (min-width: 1051px) {
  section.alpha-hero-editorial .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(48 49 51 / 90%) 0%, rgb(48 49 51 / 80%) 32%, rgb(48 49 51 / 48%) 52%, rgb(48 49 51 / 22%) 70%, rgb(48 49 51 / 28%) 100%),
      linear-gradient(180deg, rgb(36 37 39 / 60%) 0%, rgb(36 37 39 / 20%) 16%, transparent 30%),
      linear-gradient(0deg, rgb(36 37 39 / 45%) 0%, transparent 20%);
  }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .brand img {
    content: url("../images/marca/logo-header-claro.webp"); filter: none;
  }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu a { color: #FFFFFF; }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu > a:is(:hover,:focus-visible),
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown:is(:hover,:focus-within) .menu-dropdown-link { color: var(--gold-bright); background: rgb(187 220 243 / 14%); }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions .booking-button { background: var(--gold); border-color: var(--gold); color: #14284A; }
  .alpha-hero-editorial .alpha-google { background: rgb(36 37 39 / 55%); }
}

/* ═══ Portada de escritorio: doctores centrados y más grandes, con la paleta de Alpha Dent ═══ */
@media (min-width: 1051px) {
  .alpha-hero-visual { background: linear-gradient(180deg, #CFD0D2 0%, #C9CACD 100%); overflow: hidden; }
  .alpha-hero-editorial .alpha-hero-photo {
    inset: -1% 6% auto auto; height: 114%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  }
  .alpha-hero-editorial .alpha-hero-photo::after { display: none; }
  section.alpha-hero-editorial .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(26 33 46 / 90%) 0%, rgb(26 33 46 / 82%) 32%, rgb(26 33 46 / 52%) 52%, rgb(26 33 46 / 26%) 70%, rgb(26 33 46 / 32%) 100%),
      linear-gradient(180deg, rgb(20 27 40 / 60%) 0%, rgb(20 27 40 / 20%) 16%, transparent 30%),
      linear-gradient(0deg, rgb(20 27 40 / 45%) 0%, transparent 20%);
  }
}
/* Estrellas de la valoración de Google en dorado claro. */
.alpha-hero-editorial .google-stars { color: #EAD28F; }
.alpha-hero-editorial .alpha-google .google-patients strong,
.alpha-hero-editorial .alpha-google strong { color: #F3E2AE; }

/* Capa más clara sobre la foto (el texto sigue resaltando gracias a la sombra del título). */
@media (min-width: 1051px) {
  section.alpha-hero-editorial .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(44 52 66 / 72%) 0%, rgb(44 52 66 / 62%) 32%, rgb(44 52 66 / 34%) 52%, rgb(44 52 66 / 12%) 70%, rgb(44 52 66 / 16%) 100%),
      linear-gradient(180deg, rgb(36 44 58 / 42%) 0%, rgb(36 44 58 / 12%) 16%, transparent 30%),
      linear-gradient(0deg, rgb(36 44 58 / 30%) 0%, transparent 20%);
  }
  .alpha-hero-editorial .alpha-google { background: rgb(36 44 58 / 50%); }
}

/* Estrellas de Google en dorado intenso. */
section.alpha-hero-editorial .alpha-google .google-stars,
.alpha-hero-editorial .google-stars { color: #FFB400; text-shadow: 0 0 10px rgb(255 180 0 / 35%); }
.alpha-hero-editorial .alpha-google .google-patients strong,
.alpha-hero-editorial .alpha-google strong { color: #FFC83D; }

/* Valoración de Google: fondo blanco y letras negras. */
section.alpha-hero-editorial .alpha-google,
.alpha-hero-editorial .alpha-google { background: #FFFFFF; color: #111111; border: 1px solid #FFFFFF; box-shadow: 0 8px 24px rgb(0 0 0 / 22%); }
.alpha-hero-editorial .alpha-google span,
.alpha-hero-editorial .alpha-google strong,
.alpha-hero-editorial .alpha-google .google-patients,
.alpha-hero-editorial .alpha-google .google-patients strong { color: #111111; }
.alpha-hero-editorial .alpha-google .google-patients { border-color: rgb(0 0 0 / 18%); }
.alpha-hero-editorial .alpha-google .google-stars { color: #FFB400; text-shadow: none; }

/* "+200" en azul de la marca. */
.alpha-hero-editorial .alpha-google .google-patients strong { color: #305090; }

/* Estrellas de "La voz de nuestros pacientes" en dorado intenso. */
.patient-stars, .patient-review .patient-stars { color: #FFB400; }

/* Urgencias dentales: foto real de atención, con el profesional a la vista. */
.entry-panel.entry-panel--urgencias .entry-photo img { object-position: 30% 38%; }
.entry-panel.entry-panel--urgencias::before { background: linear-gradient(180deg, rgb(20 40 74 / 18%) 0%, rgb(20 40 74 / 8%) 34%, rgb(20 40 74 / 72%) 68%, rgb(20 40 74 / 92%) 100%); }
/* La etiqueta roja se lee sobre la foto de fondo. */
.entry-panel--urgencias .entry-category { text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 18px rgb(255 255 255 / 80%); }

/* Odontología: foto real del profesional, con el rostro a la vista. */
.entry-panel.entry-panel--odontologia .entry-photo img { object-position: 50% 30%; }

/* Evaluación: foto real de la consulta, con el profesional y la paciente a la vista. */
.entry-panel.entry-panel--evaluacion .entry-photo img { object-position: 50% 35%; }

/* Botones de fondo azul marino: texto e íconos en blanco. */
.button:not(.emergency-button):not(.alpha-final-whatsapp):not(.alpha-location-whatsapp):not(:hover):not(:focus-visible),
.button-gradient:not(:hover):not(:focus-visible),
.entry-action:not(:hover):not(:focus-visible),
.site-header.is-compact .header-actions .booking-button:not(:hover),
.site-header.is-on-light .header-actions .booking-button:not(:hover),
.site-header.menu-open .header-actions .booking-button:not(:hover),
.team-card .team-profile-open:not(:hover):not(:focus-visible),
.cat-bar .cat-pills a:not(:hover):not(:focus-visible) { color: #FFFFFF !important; }
.button:not(.emergency-button):not(.alpha-final-whatsapp):not(.alpha-location-whatsapp):not(:hover):not(:focus-visible) svg,
.entry-action:not(:hover):not(:focus-visible) svg,
.booking-button:not(:hover) svg { color: #FFFFFF; stroke: currentColor; }
/* Los botones celestes (sobre fondos oscuros) conservan texto azul marino para que se lean. */
section.alpha-hero-editorial .alpha-hero-actions .button.button,
.alpha-final-actions .alpha-final-book,
.catalog-help .catalog-help-actions .button.button,
.site-footer.alpha-footer a.footer-phone { color: #14284A !important; }
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button:not(:hover):not(:focus-visible),
html body section.alpha-final-cta .alpha-final-actions a.alpha-final-book:not(:hover):not(:focus-visible),
html body .catalog-help .catalog-help-actions a.button.button:not(:hover):not(:focus-visible),
html body .site-footer.alpha-footer a.footer-phone:not(:hover):not(:focus-visible),
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions a.booking-button:not(:hover) { color: #14284A !important; }
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button svg,
html body section.alpha-final-cta .alpha-final-actions a.alpha-final-book svg { color: #14284A; }
html body section.alpha-final-cta .alpha-final-actions a.button.alpha-final-book.alpha-final-book:not(:hover):not(:focus-visible),
html body .catalog-help .catalog-help-actions a.button.button.button:not(:hover):not(:focus-visible),
html body footer.site-footer.alpha-footer a.footer-phone.footer-phone:not(:hover):not(:focus-visible) { color: #14284A !important; }

/* "URGENCIAS" bien visible sobre la foto: zona superior oscurecida y rojo vivo. */
.entry-panel.entry-panel--urgencias::before {
  background: linear-gradient(180deg, rgb(10 18 32 / 62%) 0%, rgb(10 18 32 / 30%) 16%, rgb(20 40 74 / 8%) 34%, rgb(20 40 74 / 72%) 68%, rgb(20 40 74 / 92%) 100%);
}
.entry-panel.entry-panel--urgencias .entry-category,
.entry-panel.entry-panel--urgencias:is(:hover,:focus-within,.is-touched) .entry-category {
  color: #FF4343 !important; font-weight: 800; letter-spacing: .12em;
  text-shadow: 0 1px 2px rgb(0 0 0 / 70%), 0 0 10px rgb(0 0 0 / 45%);
}

/* Todos los botones de WhatsApp: verde original de la marca. */
html body a.button[href*="wa.me"],
html body a.alpha-whatsapp-link,
html body a.alpha-final-whatsapp,
html body a.alpha-location-whatsapp,
html body a.catalog-whatsapp,
html body a.contact-btn.contact-btn--wa,
html body a.whatsapp-float {
  background: #25D366 !important; border-color: #25D366 !important; color: #FFFFFF !important;
}
html body a.button[href*="wa.me"]:is(:hover,:focus-visible),
html body a.alpha-whatsapp-link:is(:hover,:focus-visible),
html body a.alpha-final-whatsapp:is(:hover,:focus-visible),
html body a.alpha-location-whatsapp:is(:hover,:focus-visible),
html body a.catalog-whatsapp:is(:hover,:focus-visible),
html body a.contact-btn.contact-btn--wa:is(:hover,:focus-visible),
html body a.whatsapp-float:is(:hover,:focus-visible) {
  background: #20BD5A !important; border-color: #20BD5A !important; color: #FFFFFF !important;
}
html body a.button[href*="wa.me"] svg,
html body a.alpha-whatsapp-link svg,
html body a.catalog-whatsapp svg { color: #FFFFFF !important; stroke: currentColor; }
html body .catalog-help .catalog-help-actions a.button.button.button[href*="wa.me"],
html body .catalog-help .catalog-help-actions a.button.button.button[href*="wa.me"]:not(:hover):not(:focus-visible),
html body .catalog-help a.catalog-whatsapp.catalog-whatsapp[href*="wa.me"],
html body .catalog-help a.catalog-whatsapp.catalog-whatsapp[href*="wa.me"]:is(:hover,:focus-visible) { color: #FFFFFF !important; }

/* Barra superior compacta entre 1051 y 1240 px para que quepan las cuatro pestañas y los botones. */
@media (min-width: 1051px) and (max-width: 1240px) {
  .site-header .header { gap: 10px; padding-inline: 18px; }
  .site-header .brand, .site-header.is-compact .brand { width: 190px; }
  .site-header #menu { gap: 0; }
  .site-header #menu > a, .site-header #menu .menu-dropdown-link { padding-inline: 9px; font-size: 13.5px; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-actions .button, .site-header .header-actions .emergency-button, .site-header .header-actions .booking-button { padding: 9px 13px; font-size: 12.5px; white-space: nowrap; }
}

/* WhatsApp: verde un tono más oscuro (mejor contraste con el texto blanco). */
html body a.button[href*="wa.me"],
html body a.alpha-whatsapp-link,
html body a.alpha-final-whatsapp,
html body a.alpha-location-whatsapp,
html body a.catalog-whatsapp,
html body a.contact-btn.contact-btn--wa,
html body a.whatsapp-float { background: #1B9E4B !important; border-color: #1B9E4B !important; }
html body a.button[href*="wa.me"]:is(:hover,:focus-visible),
html body a.alpha-whatsapp-link:is(:hover,:focus-visible),
html body a.alpha-final-whatsapp:is(:hover,:focus-visible),
html body a.alpha-location-whatsapp:is(:hover,:focus-visible),
html body a.catalog-whatsapp:is(:hover,:focus-visible),
html body a.contact-btn.contact-btn--wa:is(:hover,:focus-visible),
html body a.whatsapp-float:is(:hover,:focus-visible) { background: #15823D !important; border-color: #15823D !important; }
html body a.whatsapp-float { box-shadow: 0 4px 16px rgb(27 158 75 / 45%); }

/* Cinta de cifras: números y estrellas en el mismo dorado de la portada. */
html body .clinic-stats .metrics dd,
html body .clinic-stats .metrics dd span,
html body .clinic-stats .clinic-stats-google dd,
html body .clinic-stats .clinic-stats-google dd span { color: #FFB400; }
html body .clinic-stats .metrics dt,
html body .clinic-stats .clinic-stats-google dt { color: #FFFFFF; }

/* Tarjetas de tratamientos: categoría, título, descripción, tiempo con reloj y botón (como la referencia). */
.team-section .team-card .team-time { margin: 0 0 16px; }
.team-section .team-card .team-time svg { color: var(--gold-deep); }
.team-section .team-card .team-info > .team-contact { margin-top: auto; }
.team-section .team-card .team-specialty { margin-bottom: 8px; }

@media (min-width: 1051px) and (max-width: 1130px) {
  .site-header .header { padding-inline: 12px; gap: 6px; }
  .site-header .brand, .site-header.is-compact .brand { width: 165px; }
  .site-header #menu > a, .site-header #menu .menu-dropdown-link { padding-inline: 6px; font-size: 13px; }
  .site-header .header-actions .button, .site-header .header-actions .emergency-button, .site-header .header-actions .booking-button { padding: 8px 10px; font-size: 12px; }
}

/* Procedimientos destacados: nombres en blanco. */
html body .featured-treatments .featured-bar h3,
html body .featured-treatments .featured-card h3 { color: #FFFFFF; }
html body .featured-treatments .featured-bar > span,
html body .featured-treatments .featured-card:is(:hover,:focus-visible) .featured-bar > span,
html body .featured-treatments .featured-bar svg { color: #FFFFFF; }
html body .featured-treatments .featured-all,
html body .featured-treatments .featured-all svg { color: #FFFFFF; }
html body .featured-treatments .featured-all { border-bottom-color: #FFFFFF; }

/* Tarjetas del equipo: botón "Ver perfil" y contacto alineados abajo, con la misma altura. */
.team-section .team-card .team-profile-open { color: #FFFFFF; }
.team-section .team-card .team-info > .team-profile-open { margin-top: auto; }
.team-section .team-card .team-info > .team-profile-open + .team-contact { margin-top: 0; }

/* Fichas de tratamiento: botones celestes sobre fondo azul marino. */
html body .td-hero a.button.button:not(:hover):not(:focus-visible),
html body .td-card a.button.td-card-book:not(:hover):not(:focus-visible) { background: #BBDCF3 !important; border-color: #BBDCF3 !important; color: #14284A !important; }
html body .td-hero a.button.button:is(:hover,:focus-visible),
html body .td-card a.button.td-card-book:is(:hover,:focus-visible) { background: #DCEEFA !important; border-color: #DCEEFA !important; color: #14284A !important; }
html body .td-hero a.button svg, html body .td-card a.button svg { color: #14284A; }
html body .td-hero a.button.button.button.button:not(:hover):not(:focus-visible),
html body .td-card a.button.td-card-book.button.button:not(:hover):not(:focus-visible) { color: #14284A !important; }

/* Ventana "Ver perfil": el botón de disponibilidad va en azul. */
html body dialog.alpha-profile a.button.alpha-profile-contact,
html body dialog.alpha-profile a.button.alpha-profile-contact[href*="wa.me"] { background: #14284A !important; border-color: #14284A !important; color: #FFFFFF !important; }
html body dialog.alpha-profile a.button.alpha-profile-contact:is(:hover,:focus-visible),
html body dialog.alpha-profile a.button.alpha-profile-contact[href*="wa.me"]:is(:hover,:focus-visible) { background: #305090 !important; border-color: #305090 !important; color: #FFFFFF !important; }
html body dialog.alpha-profile a.alpha-profile-contact svg { color: #FFFFFF !important; }

/* Barra de desplazamiento vertical: azul sobre fondo blanco. */
html { scrollbar-color: #305090 #FFFFFF; }
::-webkit-scrollbar { width: 12px; height: 12px; background: #FFFFFF; }
::-webkit-scrollbar-track { background: #FFFFFF; }
::-webkit-scrollbar-thumb { background: #305090; border-radius: 8px; border: 2px solid #FFFFFF; }
::-webkit-scrollbar-thumb:hover { background: #14284A; }

/* Logo de la barra superior más grande. */
.site-header .brand { width: 300px; height: 64px; }
.site-header.is-compact .brand { width: 260px; height: 56px; }
.site-header .header, .site-header.is-compact .header { min-height: 80px; }
.site-header.is-compact .header { min-height: 68px; }
.site-header .brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
@media (min-width: 1051px) and (max-width: 1240px) {
  .site-header .brand, .site-header.is-compact .brand { width: 215px; height: 50px; }
}
@media (min-width: 1051px) and (max-width: 1130px) {
  .site-header .brand, .site-header.is-compact .brand { width: 185px; height: 44px; }
}
@media (max-width: 1050px) {
  .site-header .brand, .site-header.is-compact .brand { width: min(250px, calc(100% - 54px)); height: 54px; }
}
.site-header .brand { width: 270px; height: 84px; }
.site-header.is-compact .brand { width: 225px; height: 70px; }
.site-header .header, .site-header.is-compact .header { min-height: 100px; }
.site-header.is-compact .header { min-height: 84px; }
@media (min-width: 1051px) and (max-width: 1240px) {
  .site-header .brand, .site-header.is-compact .brand { width: 195px; height: 62px; }
  .site-header .header, .site-header.is-compact .header { min-height: 84px; }
}
@media (min-width: 1051px) and (max-width: 1130px) {
  .site-header .brand, .site-header.is-compact .brand { width: 165px; height: 54px; }
}
@media (max-width: 1050px) {
  .site-header .brand, .site-header.is-compact .brand { width: min(210px, calc(100% - 54px)); height: 64px; }
  .site-header .header, .site-header.is-compact .header { min-height: 80px; }
}

/* "Escríbenos por WhatsApp" de la portada: botón con borde, como antes (no verde). */
html body section.alpha-hero-editorial a.alpha-whatsapp-link,
html body a.alpha-whatsapp-link { background: rgb(36 44 58 / 50%) !important; border: 1px solid rgb(187 220 243 / 60%) !important; color: #FFFFFF !important; }
html body section.alpha-hero-editorial a.alpha-whatsapp-link:is(:hover,:focus-visible),
html body a.alpha-whatsapp-link:is(:hover,:focus-visible) { background: rgb(187 220 243 / 18%) !important; border-color: #BBDCF3 !important; color: #FFFFFF !important; }
html body a.alpha-whatsapp-link svg { color: #FFFFFF !important; }

/* Cinta de cifras: solo las estrellas en dorado; números y textos en blanco. */
html body .clinic-stats .metrics dd,
html body .clinic-stats .metrics dd span,
html body .clinic-stats .metrics dt { color: #FFFFFF; }
html body .clinic-stats .clinic-stats-google dd,
html body .clinic-stats .clinic-stats-google dd span { color: #FFB400; }
html body .clinic-stats .clinic-stats-google dt { color: #FFFFFF; }

/* "Ver tratamientos" (sección A tu lado): texto blanco con barra horizontal debajo, sin verde. */
html body .catalog-help a.catalog-whatsapp:not([href*="wa.me"]),
html body .catalog-help a.catalog-whatsapp:not([href*="wa.me"]):is(:hover,:focus-visible) {
  background: transparent !important; border: 0 !important; border-bottom: 2px solid #FFFFFF !important; border-radius: 0 !important;
  color: #FFFFFF !important; padding: 0 0 6px !important; min-height: 0 !important; width: auto !important; align-self: flex-start;
}
html body .catalog-help a.catalog-whatsapp:not([href*="wa.me"]) svg { color: #FFFFFF !important; }
html body .catalog-help a.catalog-whatsapp:not([href*="wa.me"]):is(:hover,:focus-visible) { border-bottom-color: #BBDCF3 !important; }
html body .catalog-help .catalog-help-actions a.catalog-whatsapp:not([href*="wa.me"]),
html body .catalog-help .catalog-help-actions a.catalog-whatsapp:not([href*="wa.me"]):is(:hover,:focus-visible) {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 12px;
  width: 100% !important; min-height: 52px !important; padding: 0 26px !important; align-self: stretch;
}

/* "Volver arriba": al pasar el mouse, fondo celeste con texto azul marino bien legible. */
html body .site-footer.alpha-footer .footer-bottom > a.footer-top:is(:hover,:focus-visible),
html body .site-footer.alpha-footer .footer-bottom > a.footer-top:is(:hover,:focus-visible) span,
html body .site-footer.alpha-footer .footer-bottom > a.footer-top:is(:hover,:focus-visible) svg { color: #14284A !important; }
html body .site-footer.alpha-footer .footer-bottom > a.footer-top:is(:hover,:focus-visible) { background: #BBDCF3 !important; border-color: #BBDCF3 !important; }

/* Teléfono del pie: texto simple, como el correo (sin casilla). */
html body footer.site-footer.alpha-footer a.footer-phone.footer-phone,
html body footer.site-footer.alpha-footer a.footer-phone.footer-phone:is(:hover,:focus-visible),
html body footer.site-footer.alpha-footer a.footer-phone.footer-phone:not(:hover):not(:focus-visible) {
  display: block !important; width: fit-content !important; min-height: 0 !important; margin-top: 14px !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  color: #DCE9F5 !important; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-decoration-color: rgb(220 233 245 / 35%); text-underline-offset: 3px;
}
html body footer.site-footer.alpha-footer a.footer-phone.footer-phone:is(:hover,:focus-visible) { text-decoration-color: #BBDCF3; color: #FFFFFF !important; }
html body footer.site-footer.alpha-footer a.footer-phone.footer-phone svg { display: none; }

/* Urgencias del pie: texto simple, como el correo y el teléfono (sin casilla), en rojo vivo. */
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency,
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency:is(:hover,:focus-visible),
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency:not(:hover):not(:focus-visible) {
  display: inline-flex !important; align-items: center; gap: 9px; width: fit-content !important; margin-top: 14px !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  color: #FF5A5A !important; font-size: 14.5px; font-weight: 700; text-decoration: underline; text-decoration-color: rgb(255 90 90 / 40%); text-underline-offset: 3px;
}
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency span { color: #FF5A5A !important; }
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency:is(:hover,:focus-visible),
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency:is(:hover,:focus-visible) span { color: #FF8A8A !important; text-decoration-color: #FF8A8A; }
html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency .footer-emergency-dot { background: #FF5A5A; }

/* Números de la cinta: dorado intermedio (las estrellas conservan el dorado intenso). */
html body .clinic-stats .metrics > div:not(.clinic-stats-google) dd,
html body .clinic-stats .metrics > div:not(.clinic-stats-google) dd span { color: #EDBD4E; }

/* Portada de escritorio: sin difuminado en los costados de la foto (codos y brazos de los doctores). */
@media (min-width: 1051px) {
  .alpha-hero-editorial .alpha-hero-photo { -webkit-mask-image: none !important; mask-image: none !important; }
}

/* Los costados de la foto continúan con el color exacto de su borde (sin cortes ni difuminados). */
@media (min-width: 1051px) {
  .alpha-hero-visual::before, .alpha-hero-visual::after {
    content: ""; position: absolute; top: -1%; height: 114%; z-index: 0; pointer-events: none;
    background-image: url("../images/galeria/alpha-dent-inicio-limpio.jpg"); background-repeat: no-repeat; background-size: 30000% 100%;
  }
  .alpha-hero-visual::before { left: 0; width: 100%; background-position: 0 0; }
  .alpha-hero-visual::after { right: 0; width: 12%; background-position: 100% 0; }
  .alpha-hero-visual .alpha-hero-photo { z-index: 1; }
}

/* "Agenda tu evaluación" de la barra: sin casilla, con barra horizontal debajo; al pasar el mouse aparece la casilla. */
html body .site-header .header-actions a.booking-button.booking-button.booking-button {
  background: transparent !important; border: 0 !important; border-bottom: 2px solid #FFFFFF !important; border-radius: 0 !important;
  color: #FFFFFF !important; padding: 8px 2px !important; box-shadow: none !important;
  transition: background-color .25s ease, color .25s ease, border-radius .25s ease, padding .25s ease;
}
html body .site-header .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible) {
  background: #BBDCF3 !important; border-bottom-color: #BBDCF3 !important; border-radius: 999px !important; color: #14284A !important; padding: 8px 16px !important;
}
html body .site-header .header-actions a.booking-button.booking-button.booking-button svg { color: currentColor !important; }
html body .site-header.is-compact .header-actions a.booking-button.booking-button.booking-button,
html body .site-header.is-on-light .header-actions a.booking-button.booking-button.booking-button,
html body .site-header.menu-open .header-actions a.booking-button.booking-button.booking-button { border-bottom-color: #14284A !important; color: #14284A !important; }
html body .site-header.is-compact .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible),
html body .site-header.is-on-light .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible),
html body .site-header.menu-open .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible) { background: #14284A !important; border-bottom-color: #14284A !important; color: #FFFFFF !important; }
/* Flecha del botón de la barra: la misma flecha vectorial del resto del sitio. */
html body .site-header .header-actions a.booking-button.booking-button::after {
  content: "" !important; display: inline-block; width: 20px; height: 20px; margin-left: 8px; vertical-align: -5px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12h15m-6-6 6 6-6 6'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12h15m-6-6 6 6-6 6'/></svg>") center / contain no-repeat;
}
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions a.booking-button.booking-button.booking-button:not(:hover):not(:focus-visible) {
  background: transparent !important; border-bottom-color: #FFFFFF !important; color: #FFFFFF !important;
}
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible) {
  background: #BBDCF3 !important; border-bottom-color: #BBDCF3 !important; color: #14284A !important;
}

/* "Agenda tu evaluación" de la barra: siempre en casilla, botón azul marino con texto blanco (arriba y al bajar). */
html body .site-header .header-actions a.booking-button.booking-button.booking-button,
html body .site-header .header-actions a.booking-button.booking-button.booking-button:not(:hover):not(:focus-visible),
html body .site-header.is-compact .header-actions a.booking-button.booking-button.booking-button,
html body .site-header.is-on-light .header-actions a.booking-button.booking-button.booking-button,
html body .site-header.menu-open .header-actions a.booking-button.booking-button.booking-button,
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions a.booking-button.booking-button.booking-button:not(:hover):not(:focus-visible) {
  background: #14284A !important; border: 1px solid #14284A !important; border-radius: 999px !important; color: #FFFFFF !important; padding: 10px 18px !important;
}
html body .site-header .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible),
html body .site-header.is-compact .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible),
html body .site-header.is-on-light .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible),
html body .site-header.menu-open .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible),
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .header-actions a.booking-button.booking-button.booking-button:is(:hover,:focus-visible) {
  background: #305090 !important; border-color: #305090 !important; border-radius: 999px !important; color: #FFFFFF !important; padding: 10px 18px !important;
}

/* "Escríbenos por WhatsApp" de la portada: sin casilla, con línea horizontal debajo. */
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link,
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) {
  background: transparent !important; border: 0 !important; border-bottom: 2px solid #FFFFFF !important; border-radius: 0 !important;
  color: #FFFFFF !important; padding: 8px 2px !important; min-height: 0 !important; box-shadow: none !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) { border-bottom-color: #BBDCF3 !important; }

/* Portada: textos con más contraste (blanco puro y acentos más vivos). */
html body .alpha-hero-editorial .alpha-hero-eyebrow { color: #FFD36B; font-weight: 800; text-shadow: 0 1px 10px rgb(0 0 0 / 55%); }
html body .alpha-hero-editorial h1 { color: #FFFFFF; text-shadow: 0 2px 18px rgb(0 0 0 / 60%), 0 1px 2px rgb(0 0 0 / 45%); }
html body .alpha-hero-editorial h1 span { color: #8FD6FF; }
html body .alpha-hero-editorial .alpha-hero-description { color: #FFFFFF; text-shadow: 0 1px 12px rgb(0 0 0 / 60%); }
html body .alpha-hero-editorial .alpha-hero-description strong { color: #FFFFFF; font-weight: 800; }
html body .alpha-hero-editorial h1 span { color: #BBDCF3; }
html body .alpha-hero-editorial h1 span { color: #14284A; text-shadow: 0 0 2px rgb(255 255 255 / 95%), 0 0 12px rgb(255 255 255 / 55%); }

/* Portada: "Agenda tu evaluación" igual al de la barra (azul marino, texto blanco) y "expertas." sin brillo, del mismo azul. */
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button,
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:not(:hover):not(:focus-visible) {
  background: #14284A !important; border: 1px solid #14284A !important; color: #FFFFFF !important; box-shadow: none !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:is(:hover,:focus-visible) {
  background: #305090 !important; border-color: #305090 !important; color: #FFFFFF !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button svg { color: #FFFFFF !important; }
html body .alpha-hero-editorial h1 span { color: #14284A; text-shadow: none; }
html body .alpha-hero-editorial .alpha-hero-eyebrow { color: #FFFFFF; }

/* Portada de escritorio: difuminado más azul. */
@media (min-width: 1051px) {
  section.alpha-hero-editorial .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(24 52 112 / 82%) 0%, rgb(24 52 112 / 72%) 32%, rgb(30 62 130 / 44%) 52%, rgb(36 72 150 / 18%) 70%, rgb(36 72 150 / 22%) 100%),
      linear-gradient(180deg, rgb(20 44 96 / 48%) 0%, rgb(20 44 96 / 14%) 16%, transparent 30%),
      linear-gradient(0deg, rgb(20 44 96 / 38%) 0%, transparent 18%);
  }
  html body .alpha-hero-editorial .alpha-google { background: #FFFFFF; }
}

/* Números de la cinta: mismo dorado intenso que las estrellas. */
html body .clinic-stats .metrics > div:not(.clinic-stats-google) dd,
html body .clinic-stats .metrics > div:not(.clinic-stats-google) dd span { color: #FFB400; }

/* Botones Odontología / Medicina estética: el círculo con el número es blanco. */
html body .cat-bar .cat-pills a span,
html body .cat-bar .cat-pills a:is(:hover,:focus-visible) span { background: #FFFFFF; color: #14284A; }
html body .alpha-hero-editorial h1 span { color: #BBDCF3; text-shadow: none; }
html body .alpha-hero-editorial h1 span { color: #86B6E6; text-shadow: none; }

/* Portada: "expertas." en el azul oscuro de los botones; "Agenda tu evaluación" en azul claro. */
html body .alpha-hero-editorial h1 span { color: #14284A; text-shadow: none; }
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button,
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:not(:hover):not(:focus-visible) {
  background: #BBDCF3 !important; border: 1px solid #BBDCF3 !important; color: #14284A !important; box-shadow: none !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:is(:hover,:focus-visible) {
  background: #DCEEFA !important; border-color: #DCEEFA !important; color: #14284A !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button svg { color: #14284A !important; }

/* Botón de Instagram: azul claro con texto azul marino. */
html body a.button.alpha-social-follow.alpha-social-follow.alpha-social-follow,
html body a.button.alpha-social-follow.alpha-social-follow.alpha-social-follow:not(:hover):not(:focus-visible) {
  background: #BBDCF3 !important; border: 1px solid #BBDCF3 !important; color: #14284A !important;
}
html body a.button.alpha-social-follow.alpha-social-follow.alpha-social-follow:is(:hover,:focus-visible) { background: #DCEEFA !important; border-color: #DCEEFA !important; color: #14284A !important; }
html body a.button.alpha-social-follow svg { color: #14284A !important; }

/* Portada de escritorio: difuminado de vuelta al gris pizarra de antes. */
@media (min-width: 1051px) {
  section.alpha-hero-editorial .alpha-hero-layout::after {
    background:
      linear-gradient(90deg, rgb(44 52 66 / 72%) 0%, rgb(44 52 66 / 62%) 32%, rgb(44 52 66 / 34%) 52%, rgb(44 52 66 / 12%) 70%, rgb(44 52 66 / 16%) 100%),
      linear-gradient(180deg, rgb(36 44 58 / 42%) 0%, rgb(36 44 58 / 12%) 16%, transparent 30%),
      linear-gradient(0deg, rgb(36 44 58 / 30%) 0%, transparent 20%);
  }
}

/* Portada: "Odontología · Concepción · Urgencias dentales 24/7" como cinta azul marino al pie. */
section.alpha-hero { position: relative; }
.alpha-hero-band {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 36px;
  margin: 0; padding: 19px 24px;
  background: #14284A; color: #BBDCF3;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.alpha-hero-band span { position: relative; }
.alpha-hero-band span + span::before { content: ""; position: absolute; left: -18px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #305090; }
section.alpha-hero .alpha-hero-layout { padding-bottom: 58px; box-sizing: border-box; }
@media (max-width: 560px) {
  .alpha-hero-band { flex-direction: column; gap: 8px; padding: 18px 20px; font-size: 11.5px; letter-spacing: .16em; }
  .alpha-hero-band span + span::before { display: none; }
  section.alpha-hero .alpha-hero-layout { padding-bottom: 104px; }
}

/* Portada completa al entrar: la altura es la de la ventana (sin mínimo en píxeles), así la cinta inferior siempre se ve. */
@media (min-width: 761px) {
  section.alpha-hero { min-height: 100svh; }
  section.alpha-hero .alpha-hero-layout { min-height: 100svh; }
}
@media (min-width: 1051px) and (max-height: 760px) {
  .alpha-hero-editorial h1 { font-size: clamp(36px, 4.2vw, 54px); }
  .alpha-hero-editorial .alpha-hero-description { margin: 12px 0 18px; }
  .alpha-hero-editorial .alpha-hero-copy > .alpha-google { margin-top: 16px; }
  section.alpha-hero .alpha-hero-layout .alpha-hero-copy { padding-top: 96px; padding-bottom: 12px; }
}

/* Portada: ambos botones en el azul oscuro del resto del sitio. */
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button,
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:not(:hover):not(:focus-visible),
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link,
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:not(:hover):not(:focus-visible) {
  background: #14284A !important; border: 1px solid #14284A !important; border-radius: 999px !important;
  color: #FFFFFF !important; padding: 0 28px !important; min-height: 52px !important; box-shadow: none !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:is(:hover,:focus-visible),
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) {
  background: #305090 !important; border-color: #305090 !important; color: #FFFFFF !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.button svg,
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link svg { color: #FFFFFF !important; }

/* Portada: flecha blanca visible en "Agenda tu evaluación"; "Escríbenos por WhatsApp" solo como texto azul con flecha. */
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button svg,
html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:is(:hover,:focus-visible) svg { color: #FFFFFF !important; stroke: #FFFFFF !important; }
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link,
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:not(:hover):not(:focus-visible),
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  padding: 0 !important; min-height: 0 !important; box-shadow: none !important; text-decoration: none; color: #BBDCF3 !important;
}
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) { color: #FFFFFF !important; }
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link svg { color: currentColor !important; stroke: currentColor !important; }
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link,
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:not(:hover):not(:focus-visible) { color: #FFFFFF !important; }
html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) { color: #BBDCF3 !important; }

/* Tablet y móvil: la portada es azul marino, así que el botón y "expertas." usan tonos que sí se ven sobre ese fondo. */
@media (max-width: 1050px) {
  html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button,
  html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:not(:hover):not(:focus-visible) {
    background: #305090 !important; border: 1px solid #BBDCF3 !important; color: #FFFFFF !important;
  }
  html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:is(:hover,:focus-visible) {
    background: #3E66B0 !important; border-color: #FFFFFF !important;
  }
  html body .alpha-hero-editorial h1 span { color: #BBDCF3; text-shadow: none; }
}

/* Móvil: menos aire entre la valoración y la foto, y botones centrados. */
@media (max-width: 760px) {
  section.alpha-hero .alpha-hero-layout { min-height: calc(560px + 112vw); }
  section.alpha-hero .alpha-hero-actions { align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
  section.alpha-hero .alpha-hero-actions a.button { width: min(100%, 340px); justify-content: center; }
}

/* Móvil: zonas táctiles de al menos 44 px y textos pequeños más legibles. */
@media (max-width: 760px) {
  html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link {
    display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px !important; padding: 10px 12px !important;
  }
  html body footer.site-footer.alpha-footer a.footer-phone.footer-phone,
  html body footer.site-footer.alpha-footer a.footer-mail,
  html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency,
  html body footer.site-footer.alpha-footer a.footer-map-link {
    display: inline-flex !important; align-items: center; min-height: 44px !important; margin-top: 4px !important;
  }
  .alpha-hero-band { font-size: 12.5px; }
  .alpha-hero-editorial .alpha-google, .alpha-hero-editorial .alpha-google span, .alpha-hero-editorial .alpha-google strong { font-size: 13px; }
}
@media (max-width: 760px) {
  html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:not(:hover):not(:focus-visible),
  html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) {
    display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px !important; padding: 10px 12px !important;
  }
  html body footer.site-footer.alpha-footer a.footer-phone.footer-phone.footer-phone:not(:hover):not(:focus-visible),
  html body footer.site-footer.alpha-footer a.footer-phone.footer-phone.footer-phone:is(:hover,:focus-visible),
  html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency.footer-emergency:not(:hover):not(:focus-visible),
  html body footer.site-footer.alpha-footer a.footer-emergency.footer-emergency.footer-emergency:is(:hover,:focus-visible) {
    display: inline-flex !important; align-items: center; min-height: 44px !important; margin-top: 2px !important;
  }
}

/* ═══ Tablet y móvil: la portada se ve como la de escritorio (doctores de fondo bajo la capa gris pizarra, texto encima) ═══ */
@media (max-width: 1050px) {
  section.alpha-hero.alpha-hero-editorial,
  section.alpha-hero .alpha-hero-layout { background: #C9CACD; }
  section.alpha-hero .alpha-hero-layout { position: relative; overflow: hidden; }
  section.alpha-hero-editorial .alpha-hero-layout::after {
    display: block; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(180deg, rgb(44 52 66 / 90%) 0%, rgb(44 52 66 / 78%) 42%, rgb(44 52 66 / 34%) 66%, rgb(36 44 58 / 12%) 82%, rgb(36 44 58 / 34%) 100%);
  }
  .alpha-hero-visual { position: absolute; z-index: 0; inset: auto 0 0 0; left: 0; width: auto; height: min(125vw, 680px); }
  .alpha-hero-editorial .alpha-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: none !important; mask-image: none !important; background: none; }
  .alpha-hero-editorial .alpha-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transform: none; }
  .alpha-hero-editorial .alpha-hero-copy { position: relative; z-index: 2; }
  /* Botón y "expertas." igual que en escritorio */
  html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button,
  html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:not(:hover):not(:focus-visible) {
    background: #14284A !important; border: 1px solid #14284A !important; color: #FFFFFF !important;
  }
  html body section.alpha-hero-editorial .alpha-hero-actions a.button.button.button.button:is(:hover,:focus-visible) { background: #305090 !important; border-color: #305090 !important; }
  html body .alpha-hero-editorial h1 span { color: #14284A; text-shadow: 0 0 2px rgb(255 255 255 / 60%); }
}

/* Tablet y móvil: texto alineado a la izquierda (como en la referencia) y logo claro con el símbolo en degradado, igual que en PC. */
@media (max-width: 1050px) {
  section.alpha-hero .alpha-hero-copy,
  section.alpha-hero .alpha-hero-copy h1,
  section.alpha-hero .alpha-hero-copy .alpha-hero-description,
  section.alpha-hero .alpha-hero-copy .alpha-hero-eyebrow { text-align: left; }
  section.alpha-hero .alpha-hero-copy { align-items: flex-start; margin-inline: 0; }
  section.alpha-hero .alpha-hero-actions { justify-content: flex-start; align-items: stretch; flex-direction: column; gap: 6px; }
  section.alpha-hero .alpha-hero-actions a.button { width: 100%; justify-content: center; }
  html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:not(:hover):not(:focus-visible),
  html body section.alpha-hero-editorial .alpha-hero-actions a.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link.alpha-whatsapp-link:is(:hover,:focus-visible) { justify-content: flex-start; padding-left: 2px !important; align-self: flex-start; }
  section.alpha-hero .alpha-hero-copy > .alpha-google { margin-left: 0; margin-right: auto; align-self: flex-start; }
  .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) .brand img { content: url("../images/marca/logo-header-claro.webp"); filter: none; }
}

/* Portadas internas: la sala de la clínica ocupa todo el banner */
html body .team-hero > img { width: 100%; object-position: 50% 58%; }
html body .team-hero::after { background: linear-gradient(90deg, rgb(14 28 54 / 90%) 0%, rgb(14 28 54 / 78%) 40%, rgb(14 28 54 / 45%) 70%, rgb(14 28 54 / 15%) 100%); }
html body .team-hero h1, html body .team-hero .team-tag, html body .team-hero-content > p:last-child { text-shadow: 0 2px 14px rgb(8 18 38 / 65%); }
html body .team-hero h1 { color: #FFFFFF; }
html body .team-hero h1 em { color: #D6EBFA; }
html body .team-hero-content > p:last-child { color: #FFFFFF; }
@media (max-width: 760px) { html body .team-hero::after { background: linear-gradient(0deg, rgb(14 28 54 / 92%) 20%, rgb(14 28 54 / 60%)); } }

/* "Ver más tratamientos" al final del desplegable de Servicios, en azul de la paleta */
html body .site-header #menu .menu-dropdown-panel .menu-dropdown-all a,
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown-panel .menu-dropdown-all a { color: #305090 !important; font-weight: 700; }

/* Desplegable de Servicios: mismo estado al pasar el mouse en cualquier estado del encabezado (transparente, compacto o sobre fondo claro). */
html body .site-header #menu .menu-dropdown-panel li > a,
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown-panel li > a { background: transparent !important; box-shadow: none !important; }
html body .site-header #menu .menu-dropdown-panel li > a:is(:hover, :focus-visible),
html body .site-header:not(.is-compact):not(.is-on-light):not(.menu-open) #menu .menu-dropdown-panel li > a:is(:hover, :focus-visible),
html body .site-header.is-compact #menu .menu-dropdown-panel li > a:is(:hover, :focus-visible),
html body .site-header.is-on-light #menu .menu-dropdown-panel li > a:is(:hover, :focus-visible) { background: #EAF3FB !important; color: #305090 !important; box-shadow: inset 3px 0 0 #305090 !important; }

/* Nosotros: foto de los fundadores a la izquierda; misión y visión a la derecha */
.about-photo { margin: 0; width: 100%; max-width: 480px; margin-inline: auto; border-radius: 20px; overflow: hidden; background: #C9CACD; box-shadow: 0 18px 44px rgb(20 40 74 / 18%); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about-copy { display: grid; gap: clamp(28px, 4vw, 44px); }
.about-block h2 { margin: 0 0 16px; padding-bottom: 14px; position: relative; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.03em; color: #14284A; }
.about-block h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: #305090; }
.about-block p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; color: #3A4A5F; }
.about-block p:last-child { margin-bottom: 0; }

/* "Ver perfil" que enlaza a la página del profesional: misma forma que el botón */
html body a.team-profile-open { text-decoration: none; }

/* Banner final en celular: más aire entre el teléfono y el correo */
@media (max-width: 760px) {
  html body .alpha-final-phone { display: flex; width: fit-content; margin: 22px auto 0; }
  html body .alpha-final-phone.alpha-final-mail { margin-top: 32px; }
}

/* Pie de página: teléfono y correo en líneas separadas, con aire entre ambos */
html body .site-footer.alpha-footer a.footer-mail { display: flex; width: fit-content; margin-top: 16px; }
@media (max-width: 760px) {
  html body footer.site-footer.alpha-footer a.footer-mail.footer-mail { display: flex !important; width: fit-content; margin-top: 16px !important; }
}

/* "expertas." en escritorio igual que en celular: azul marino con un leve halo blanco */
@media (min-width: 761px) {
  html body .alpha-hero-editorial h1 span { color: #14284A; text-shadow: 0 0 2px rgb(255 255 255 / 60%); }
}

/* Pie: enlaces legales (privacidad y términos) */
html body .alpha-footer .footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
html body .alpha-footer .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; color: #BBDCF3; text-decoration: none; }
html body .alpha-footer .footer-legal a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
html body .alpha-footer .footer-legal a { white-space: nowrap; }
@media (min-width: 761px) { html body .alpha-footer .footer-legal { flex-wrap: nowrap; margin-left: auto; margin-right: 8px; } }
