/* Ajustes de compatibilidad y responsive sobre la exportación original de Mobirise. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea,
.display-1,
.display-2,
.display-4,
.display-5,
.display-7,
.navbar,
.btn {
  font-family: 'Exo', sans-serif !important;
}

img {
  max-width: 100%;
}

site-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  color: inherit;
  line-height: 1;
  vertical-align: -0.125em;
}

site-icon .site-icon-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.button-icon {
  margin-right: 0.5rem;
  font-size: 1.05em;
}

.treatment-icon-list {
  display: flex;
  flex-direction: column;
}

.treatment-icon-line {
  display: flex;
  align-items: flex-start;
  line-height: 1.7;
}

.treatment-icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.16rem;
  margin-right: 0.6rem;
  color: #145da8;
}

.cid-tbxplP2THe .contact-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1.5rem;
  color: #ffcc00;
}

.cid-t0Xa19SJLu .footer-hours-icon {
  margin-right: 0.45rem;
  color: #ffcc00;
}

.cid-t0Xa19SJLu .item .card-img site-icon.img1 {
  box-sizing: border-box;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.4rem;
}

.cid-tcfZK8rxWH .gallery-search-icon,
.cid-tcfZK8rxWH .carousel-control site-icon,
.cid-tcfZK8rxWH .close site-icon {
  width: 1em;
  height: 1em;
}

.cid-tcfZK8rxWH .close::before {
  content: none;
}

.navbar-toggler:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: 3px;
}

.cid-tcgtBdU4HS {
  padding: clamp(3rem, 6vw, 6rem) 0 !important;
  background: linear-gradient(135deg, #eaf5ff 0%, #cce5ff 100%) !important;
}

.cid-tcgtBdU4HS .video-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 93, 168, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(19, 49, 110, 0.14);
}

.cid-tcgtBdU4HS .video-preview {
  position: relative;
  display: block;
  width: 100%;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  background: #13316e;
}

.cid-tcgtBdU4HS .video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(19, 49, 110, 0.32) 100%);
  pointer-events: none;
}

.cid-tcgtBdU4HS .video-preview img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 0.45s ease;
}

.cid-tcgtBdU4HS .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #ffcc00;
  box-shadow: 0 14px 35px rgba(19, 49, 110, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cid-tcgtBdU4HS .video-play-symbol {
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 4px;
  color: #145da8;
}

.cid-tcgtBdU4HS .video-preview:hover img {
  transform: scale(1.035);
}

.cid-tcgtBdU4HS .video-preview:hover .video-play {
  box-shadow: 0 18px 42px rgba(19, 49, 110, 0.4);
  transform: translate(-50%, -50%) scale(1.08);
}

.cid-tcgtBdU4HS .video-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2.5rem, 5vw, 5rem);
  text-align: left;
}

.cid-tcgtBdU4HS .video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: #145da8;
  font-family: 'Exo', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cid-tcgtBdU4HS .video-kicker::before {
  content: "";
  width: 2rem;
  height: 3px;
  background: #ffcc00;
}

.cid-tcgtBdU4HS .video-title {
  margin: 0;
  color: #13316e;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cid-tcgtBdU4HS .video-description {
  max-width: 30rem;
  margin: 1.25rem 0 2rem;
  color: #425466;
  font-size: 1.05rem;
  line-height: 1.65;
}

.cid-tcgtBdU4HS .video-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  color: #145da8;
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  border: 2px solid #ffcc00;
  border-radius: 999px;
  background: #ffcc00;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cid-tcgtBdU4HS .video-action:hover {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 93, 168, 0.16);
  transform: translateY(-2px);
}

.cid-tcgtBdU4HS .video-action-icon {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 991px) {
  .cid-tcgtBdU4HS .video-feature-card {
    grid-template-columns: 1fr;
  }

  .cid-tcgtBdU4HS .video-preview,
  .cid-tcgtBdU4HS .video-preview img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575px) {
  .cid-tcgtBdU4HS {
    padding: 2.5rem 1rem !important;
  }

  .cid-tcgtBdU4HS .video-feature-card {
    border-radius: 20px;
  }

  .cid-tcgtBdU4HS .video-play {
    width: 66px;
    height: 66px;
    border-width: 4px;
  }

  .cid-tcgtBdU4HS .video-content {
    padding: 1.75rem 1.5rem 2rem;
  }

  .cid-tcgtBdU4HS .video-title {
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .cid-tcgtBdU4HS .video-description {
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
  }

  .cid-tcgtBdU4HS .video-action {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cid-tcgtBdU4HS .video-preview img,
  .cid-tcgtBdU4HS .video-play,
  .cid-tcgtBdU4HS .video-action {
    transition: none;
  }
}

/* Reconocimiento institucional */
.hospital-staff-section {
  padding: 0;
  color: #ffffff;
  background: linear-gradient(110deg, #17465e 0%, #0a679c 100%);
}

.hospital-staff-section .container {
  max-width: 1180px;
}

.hospital-staff-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: 0 auto;
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(0.25rem, 2vw, 1rem);
  color: #ffffff;
}

.hospital-staff-icon {
  display: grid;
  width: clamp(3.25rem, 5vw, 4.5rem);
  height: clamp(3.25rem, 5vw, 4.5rem);
  place-items: center;
  color: #ffcc00;
}

.hospital-staff-icon site-icon {
  width: 100%;
  height: 100%;
}

.hospital-staff-kicker {
  margin: 0 0 0.12rem;
  color: #ffcc00;
  font-size: clamp(0.82rem, 1.35vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.hospital-staff-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.75vw, 2.65rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hospital-staff-title strong,
.hospital-staff-title span {
  display: inline;
}

.hospital-staff-title strong {
  font-weight: 800;
}

.hospital-staff-title span {
  margin-left: 0.25em;
  font-weight: 300;
}

@media (max-width: 767px) {
  .hospital-staff-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.25rem 0;
    text-align: left;
  }

  .hospital-staff-icon {
    width: 3rem;
    height: 3rem;
  }

  .hospital-staff-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .hospital-staff-title {
    font-size: clamp(1.35rem, 5.8vw, 1.75rem);
    line-height: 1.08;
  }

  .hospital-staff-title strong,
  .hospital-staff-title span {
    display: block;
  }

  .hospital-staff-title span {
    margin: 0.15rem 0 0;
  }
}

/* Barra final del footer */
.cid-rUTpL6oEdG {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #13316e !important;
}

.cid-rUTpL6oEdG .container {
  max-width: 1180px;
}

.cid-rUTpL6oEdG .row-copirayt,
.cid-rUTpL6oEdG .row-credit {
  display: flex;
  align-items: center;
  min-width: 0;
}

.cid-rUTpL6oEdG .row-credit {
  justify-content: flex-end;
}

.cid-rUTpL6oEdG .mbr-text {
  width: 100%;
  color: #ffffff;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .cid-rUTpL6oEdG .media-container-row {
    gap: 0.45rem;
  }

  .cid-rUTpL6oEdG .row-copirayt,
  .cid-rUTpL6oEdG .row-credit {
    justify-content: center;
  }

  .cid-rUTpL6oEdG .row-credit .mbr-text {
    text-align: center !important;
  }
}

.cid-rUTpFezVg4 {
  --topbar-height: 2.9rem;
  min-height: calc(80px + var(--topbar-height)) !important;
}

.cid-rUTpFezVg4 .site-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
  height: var(--topbar-height);
  color: #ffffff;
  background: #13316e;
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.28s ease, visibility 0s;
}

.cid-rUTpFezVg4.topbar-hidden .site-topbar {
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0s 0.28s;
}

.cid-rUTpFezVg4 .site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cid-rUTpFezVg4 .topbar-phones,
.cid-rUTpFezVg4 .topbar-right,
.cid-rUTpFezVg4 .topbar-address,
.cid-rUTpFezVg4 .topbar-social {
  display: flex;
  align-items: center;
}

.cid-rUTpFezVg4 .topbar-phones,
.cid-rUTpFezVg4 .topbar-address {
  gap: 0.45rem;
}

.cid-rUTpFezVg4 .topbar-right {
  min-width: 0;
  gap: 1.15rem;
}

.cid-rUTpFezVg4 .topbar-phones a,
.cid-rUTpFezVg4 .topbar-address,
.cid-rUTpFezVg4 .topbar-social a {
  color: #ffffff;
  text-decoration: none;
}

.cid-rUTpFezVg4 .topbar-phones a:hover,
.cid-rUTpFezVg4 .topbar-address:hover,
.cid-rUTpFezVg4 .topbar-social a:hover {
  color: #ffcc00;
}

.cid-rUTpFezVg4 .topbar-phones > site-icon,
.cid-rUTpFezVg4 .topbar-address > site-icon {
  color: #ffcc00;
  font-size: 1.1rem;
}

.cid-rUTpFezVg4 .topbar-separator {
  width: 3px;
  height: 3px;
  margin: 0 0.15rem;
  border-radius: 50%;
  background: #ffcc00;
}

.cid-rUTpFezVg4 .topbar-address {
  min-width: 0;
  white-space: nowrap;
}

.cid-rUTpFezVg4 .topbar-social {
  gap: 0.25rem;
}

.cid-rUTpFezVg4 .topbar-social a {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cid-rUTpFezVg4 .topbar-social a:hover,
.cid-rUTpFezVg4 .topbar-social a:focus-visible {
  color: #145da8;
  border-color: #ffcc00;
  background: #ffcc00;
}

.cid-rUTpFezVg4 .topbar-social site-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.cid-rUTpFezVg4 .navbar {
  top: var(--topbar-height);
  box-shadow: 0 10px 28px rgba(19, 49, 110, 0.08);
  transition: top 0.28s ease, box-shadow 0.28s ease;
}

.cid-rUTpFezVg4.topbar-hidden .navbar {
  top: 0;
}

.cid-rUTpFezVg4 .header-nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.cid-rUTpFezVg4 .navbar-logo img {
  height: 6.25rem !important;
}

.cid-rUTpFezVg4 .nav-link::before {
  top: auto;
  bottom: 1rem;
}

@media (min-width: 1201px) {
  .cid-rUTpFezVg4 .navbar-buttons {
    margin-right: 0;
  }

  .cid-rUTpFezVg4 .nav-dropdown .link {
    margin-right: 0.8rem;
    margin-left: 0.8rem;
    padding: 1.5rem 0 !important;
  }

  .cid-rUTpFezVg4 .navbar-buttons .btn {
    min-width: 10.75rem;
    padding: 1.05rem 1.5rem !important;
  }

  .cid-rUTpFezVg4 .navbar-buttons .btn:hover,
  .cid-rUTpFezVg4 .navbar-buttons .btn:focus-visible {
    color: #145da8 !important;
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.22);
    transform: none;
  }
}

@media (max-width: 1200px) {
  .cid-rUTpFezVg4 .site-topbar-inner {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .cid-rUTpFezVg4 .header-nav-inner {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }

  .cid-rUTpFezVg4 .navbar-logo img {
    height: 5.25rem !important;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl {
    flex-flow: row wrap !important;
    justify-content: space-between !important;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .navbar-toggler {
    display: grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    margin-left: auto;
    opacity: 1;
    padding: 0;
    position: relative;
    z-index: 10;
    color: #145da8;
    background: transparent !important;
  }

  .cid-rUTpFezVg4 .navbar-toggler .hamburger {
    display: none;
  }

  .cid-rUTpFezVg4 .navbar-menu-icon {
    display: block;
    width: 32px;
    height: 24px;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .navbar-collapse {
    display: none !important;
    flex-basis: 100% !important;
    padding: 1rem 0;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .navbar-collapse.show {
    display: block !important;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .navbar-nav {
    flex-direction: column;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .nav-dropdown .link {
    padding: 0.65rem 0 !important;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .navbar-buttons {
    margin-top: 1rem;
  }

  .cid-rUTpFezVg4 .navbar-expand-xl .navbar-buttons .btn {
    width: auto;
    min-width: 12rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 767px) {
  .cid-rUTpFezVg4 {
    --topbar-height: 3.5rem;
  }

  .cid-rUTpFezVg4 .site-topbar-inner {
    display: grid;
    grid-template-areas: "phones social";
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    padding: 0.45rem 1rem;
    column-gap: 0.75rem;
    row-gap: 0;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .cid-rUTpFezVg4 .topbar-phones {
    grid-area: phones;
    gap: 0.35rem;
  }

  .cid-rUTpFezVg4 .topbar-right {
    display: contents;
  }

  .cid-rUTpFezVg4 .topbar-address {
    display: none;
  }

  .cid-rUTpFezVg4 .topbar-social {
    grid-area: social;
  }

  .cid-rUTpFezVg4 .topbar-social a {
    width: 1.7rem;
    height: 1.7rem;
  }

  .cid-rUTpFezVg4 .header-nav-inner {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .cid-rUTpFezVg4 .navbar-logo img {
    height: 3.4rem !important;
  }

  .cid-rUTpFBi4e9 .text-content {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .cid-rUTpFBi4e9 .mbr-title {
    font-size: clamp(1.9rem, 8vw, 2.25rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px;
  }

  .display-2 {
    letter-spacing: -1px;
  }

  .cid-tceWhqXmKM h2 {
    font-size: 1.65rem !important;
    line-height: 1.15 !important;
  }

  .cid-tceWhqXmKM h3 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
  }

  .mbr-section-title,
  .mbr-section-subtitle {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cid-rUTpFezVg4 .site-topbar,
  .cid-rUTpFezVg4 .navbar,
  .cid-rUTpFezVg4 .topbar-social a {
    transition: none;
  }
}

/* Rediseño integral 2026 */
.site-redesign {
  --brand-navy: #13316e;
  --brand-deep: #17465e;
  --brand-blue: #145da8;
  --brand-sky: #0a76ad;
  --brand-yellow: #ffcc00;
  --ink: #17324d;
  --muted: #617187;
  --surface: #f3f8fc;
  --surface-strong: #e8f3fb;
  --line: rgba(20, 93, 168, 0.14);
  --shadow-sm: 0 12px 30px rgba(19, 49, 110, 0.09);
  --shadow-lg: 0 28px 70px rgba(19, 49, 110, 0.16);
  --radius-md: 20px;
  --radius-lg: 30px;
  color: var(--ink);
  background: #ffffff;
}

.site-redesign main {
  overflow: clip;
}

.site-redesign section[id] {
  scroll-margin-top: 8rem;
}

.site-redesign .container {
  width: min(100% - 2rem, 1180px);
  max-width: 1180px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--brand-navy);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  color: #ffffff;
  transform: translateY(0);
}

.section-eyebrow {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
}

.section-heading-centered {
  margin: 0 auto;
  text-align: center;
}

/* Header refinado */
.site-redesign .cid-rUTpFezVg4 .navbar {
  border-bottom: 1px solid rgba(20, 93, 168, 0.08);
  box-shadow: 0 8px 24px rgba(19, 49, 110, 0.06);
}

.site-redesign .cid-rUTpFezVg4 .navbar-logo img {
  height: 5.35rem !important;
  width: auto !important;
}

.site-redesign .cid-rUTpFezVg4 .navbar-buttons .btn {
  border-radius: 12px !important;
}

/* Hero */
.site-redesign .cid-rUTpFBi4e9,
.site-redesign .cid-rUTpFBi4e9 > .carousel,
.site-redesign .cid-rUTpFBi4e9 .carousel-inner,
.site-redesign .cid-rUTpFBi4e9 .carousel-item,
.site-redesign .cid-rUTpFBi4e9 .media-container-row {
  min-height: clamp(600px, 48vw, 720px);
}

.site-redesign .cid-rUTpFBi4e9 .carousel,
.site-redesign .cid-rUTpFBi4e9 .carousel-inner,
.site-redesign .cid-rUTpFBi4e9 .carousel-item,
.site-redesign .cid-rUTpFBi4e9 .media-container-row {
  width: 100%;
}

.site-redesign .cid-rUTpFBi4e9 .media-container-row {
  position: relative;
}

.site-redesign .cid-rUTpFBi4e9 .image-element {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
}

.site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap {
  position: absolute;
  inset: 0;
  height: 100%;
}

.site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(242, 250, 255, 0.98) 0%, rgba(242, 250, 255, 0.9) 31%, rgba(238, 248, 254, 0.45) 52%, rgba(238, 248, 254, 0.04) 76%);
}

.site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap img {
  height: 100%;
  object-position: center center;
}

.site-redesign .cid-rUTpFBi4e9 .text-element {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-redesign .cid-rUTpFBi4e9 .text-content {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  width: min(100% - 2rem, 1180px);
  max-width: 1180px;
  height: 100%;
  padding: 2.5rem 0;
}

.site-redesign .cid-rUTpFBi4e9 .hero-panel {
  width: min(100%, 650px);
  max-width: 650px;
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  text-align: left;
}

.hero-kicker {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--brand-blue);
  font-size: clamp(0.74rem, 1.2vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.hero-title {
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero-name-nowrap {
  white-space: nowrap;
}

.hero-role {
  margin: 1rem 0 0;
  color: var(--brand-blue);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-claim {
  max-width: 560px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-credentials span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.75rem;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-credentials site-icon {
  width: 1rem;
  height: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.75rem, 3vw, 2rem);
}

.hero-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
}

.hero-button-primary,
.hero-button-primary:hover {
  color: #ffffff;
  background: var(--brand-blue);
}

.hero-button-secondary {
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 93, 168, 0.25);
}

.hero-button-secondary:hover {
  color: var(--brand-navy);
  background: #ffffff;
  border-color: var(--brand-blue);
}

.hero-button site-icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* Banda inmediata de reserva */
.quick-contact {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
  padding: 0 0 3.5rem !important;
  background: linear-gradient(to bottom, transparent 0, transparent 3.5rem, #ffffff 3.5rem, #ffffff 100%) !important;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: auto minmax(20rem, 1fr) minmax(20rem, 1.15fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: 0;
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  background: linear-gradient(105deg, var(--brand-deep) 0%, #0b6fa7 100%);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.quick-contact-heading {
  display: flex;
  flex-direction: column;
  min-width: 9rem;
}

.quick-contact-heading span,
.quick-contact-location small {
  color: var(--brand-yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
}

.quick-contact-heading strong {
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.2;
}

.quick-contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.quick-contact-phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
}

.quick-contact-phones a:hover {
  color: var(--brand-yellow);
}

.quick-contact-phones site-icon {
  color: var(--brand-yellow);
}

.quick-contact-location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
}

.quick-contact-location:hover {
  color: #ffffff;
}

.quick-contact-location > site-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--brand-yellow);
}

.quick-contact-location > span,
.quick-contact-location strong,
.quick-contact-location span span {
  display: block;
}

.quick-contact-location strong {
  margin: 0.15rem 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.quick-contact-location span span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.3;
}

/* Presentación profesional */
.about-modern {
  padding: clamp(4.5rem, 7vw, 7rem) 0 !important;
}

.about-primary {
  background: #ffffff !important;
}

.about-secondary {
  background: linear-gradient(135deg, var(--surface) 0%, #ffffff 100%) !important;
}

.about-modern .row {
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0;
}

.about-primary .row {
  flex-direction: row !important;
}

.about-secondary .row {
  flex-direction: row-reverse;
}

.about-modern .image-wrapper,
.about-modern .text-wrapper {
  padding: 0;
}

.about-modern .image-wrapper {
  flex: 1 1 42%;
  max-width: 500px;
}

.about-modern .image-wrapper::before {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 42%;
  height: 42%;
  content: "";
  background: var(--brand-yellow);
  border-radius: 24px;
  opacity: 0.95;
}

.about-secondary .image-wrapper::before {
  right: auto;
  left: -1rem;
}

.about-modern .image-wrapper img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(360px, 38vw, 520px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-primary .image-wrapper img {
  object-position: 58% center;
}

.about-secondary .image-wrapper img {
  object-position: 38% center;
}

.about-modern .col-lg {
  flex: 1 1 50%;
  max-width: 620px;
  padding: 0;
}

.about-modern .mbr-section-title {
  margin: 0 0 0.6rem !important;
  color: var(--brand-navy) !important;
  font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.about-role {
  margin: 0;
  color: var(--brand-blue);
  font-size: 1.12rem;
  font-weight: 700;
}

.about-license {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0.45rem 0.7rem;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-modern .mbr-text {
  max-width: none !important;
  margin: 1.35rem 0 0;
  color: var(--muted) !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-highlights > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0 0.55rem;
  min-width: 0;
  padding: 0.85rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.about-highlights site-icon {
  grid-row: 1 / span 2;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-blue);
}

.about-highlights strong {
  color: var(--ink);
  font-size: 0.78rem;
}

/* Galería */
.site-redesign .cid-tcfZK8rxWH {
  padding: clamp(4rem, 6vw, 6rem) 0 !important;
  background: linear-gradient(135deg, #123f5b 0%, #0d6ca4 100%) !important;
}

.site-redesign .cid-tcfZK8rxWH .section-eyebrow {
  color: var(--brand-yellow);
}

.site-redesign .cid-tcfZK8rxWH .mbr-section-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-redesign .cid-tcfZK8rxWH .container-fluid {
  max-width: 1240px;
  padding-right: 1rem;
  padding-left: 1rem;
}

.site-redesign .cid-tcfZK8rxWH .mbr-gallery {
  margin-top: 2.25rem !important;
}

.site-redesign .cid-tcfZK8rxWH .item {
  padding: 0.55rem;
}

.site-redesign .cid-tcfZK8rxWH .item-wrapper {
  height: 250px;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(4, 29, 47, 0.28);
}

.site-redesign .cid-tcfZK8rxWH .item-wrapper img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.site-redesign .cid-tcfZK8rxWH .item-wrapper:hover img {
  transform: scale(1.045);
}

.site-redesign .cid-tcfZK8rxWH .item-wrapper img.gallery-focus-top {
  object-position: center 18%;
}

.site-redesign .cid-tcfZK8rxWH .item-wrapper .icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

/* Especialidades */
.specialty-heading {
  padding: clamp(4.25rem, 7vw, 6.5rem) 0 1.5rem !important;
}

.specialty-heading-pediatric,
.specialty-panel-pediatric {
  background: var(--surface) !important;
}

.specialty-heading-adult,
.specialty-panel-adult {
  background: #ffffff !important;
}

.specialty-heading .title {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.specialty-heading .section-eyebrow {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.specialty-heading .mbr-section-title {
  margin: 0;
  padding-bottom: 0.55rem !important;
  color: var(--brand-navy) !important;
  font-size: clamp(2.3rem, 4vw, 3.5rem) !important;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.specialty-heading .mbr-section-subtitle {
  color: var(--muted) !important;
  font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
  line-height: 1.5;
}

.specialty-panel {
  padding: 0 0 clamp(4.5rem, 7vw, 7rem) !important;
}

.specialty-panel .content-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  margin: 0;
}

.specialty-panel .card {
  width: auto;
  max-width: none;
  padding: 0;
}

.specialty-panel .block-right {
  order: 1;
}

.specialty-panel .block-left {
  order: 2;
}

.specialty-panel .card-inner,
.specialty-panel .card-inner-2 {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.specialty-panel .card-inner {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.specialty-panel .wrapper-img-1 {
  position: relative;
  min-height: 180px;
}

.specialty-panel .wrapper-img-1 img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.specialty-panel .mbr-section-subtitle-1 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  color: var(--brand-navy) !important;
  background: var(--brand-yellow) !important;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.specialty-panel .wrapper-text-1 {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem !important;
}

.specialty-panel .treatment-icon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
  margin: 0 0 1.5rem;
}

.specialty-panel .treatment-icon-line {
  min-width: 0;
  align-items: flex-start;
  padding: 0.35rem 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.specialty-panel .treatment-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0;
  margin-right: 0.5rem;
  color: var(--brand-blue);
}

.specialty-panel .card-inner-2 img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.specialty-panel-pediatric .card-inner-2 img {
  object-position: center;
}

.specialty-panel-adult .card-inner-2 img {
  object-position: 62% center;
}

.specialty-cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.8rem 1rem;
  color: #ffffff;
  background: var(--brand-blue);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.specialty-cta:hover {
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

/* Video y franja institucional */
.site-redesign .cid-tcgtBdU4HS {
  padding: clamp(4rem, 7vw, 6.5rem) 0 !important;
  background: linear-gradient(145deg, #eaf5ff 0%, #d8ebfa 100%) !important;
}

.site-redesign .hospital-staff-section .container {
  width: min(100% - 2rem, 1180px);
}

/* Contacto */
.contact-modern {
  padding: clamp(4.5rem, 7vw, 7rem) 0 !important;
  background: linear-gradient(145deg, #eff8ff 0%, #dceefa 100%) !important;
}

.contact-modern .mbr-section-head {
  max-width: 760px;
  margin: 0 auto 2.5rem !important;
  text-align: center;
}

.contact-modern .mbr-section-title {
  margin: 0;
  color: var(--brand-navy) !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-intro {
  max-width: 660px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-modern > .container > .row {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-modern .card-container {
  display: flex !important;
  height: 100%;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-modern .card-wrapper {
  width: 100% !important;
  align-items: flex-start;
  padding: 1.1rem 0 !important;
  border-bottom: 1px solid var(--line);
}

.contact-modern .card-wrapper:last-of-type {
  border-bottom: 0;
  margin-bottom: 1.5rem;
}

.contact-modern .image-wrapper {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  margin-right: 0.9rem;
  place-items: center;
  background: var(--brand-navy);
  border-radius: 14px;
}

.contact-modern .contact-icon {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  color: var(--brand-yellow);
}

.contact-modern .card-title {
  color: var(--brand-blue) !important;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.contact-modern .card-wrapper .mbr-text,
.contact-modern .card-wrapper .mbr-text a {
  color: var(--ink) !important;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-whatsapp-cta {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  padding: 0.9rem 1rem;
  color: #ffffff;
  background: var(--brand-blue);
  border-radius: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.contact-whatsapp-cta:hover {
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

.contact-modern .map-wrapper {
  padding: 0;
}

.contact-modern .google-map,
.contact-modern .google-map iframe {
  min-height: 500px;
  height: 100%;
}

.contact-modern .google-map iframe {
  display: block;
  width: 100%;
}

/* Medios de pago */
.site-redesign .cid-t2uMCEBjnF {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 !important;
  background: #ffffff !important;
}

.site-redesign .cid-t2uMCEBjnF h2 {
  color: var(--brand-navy);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.035em;
}

.site-redesign .cid-t2uMCEBjnF .clients {
  gap: 0.75rem;
}

.site-redesign .cid-t2uMCEBjnF .clients .clients-item {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 !important;
  padding: 0.9rem;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.site-redesign .cid-t2uMCEBjnF .clients .clients-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer */
.site-redesign .site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(4.25rem, 7vw, 6.25rem) 0 0 !important;
  color: #ffffff;
  background: linear-gradient(135deg, #103f5a 0%, #0d608f 48%, #0876ad 100%) !important;
}

.site-redesign .site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 204, 0, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 86%, rgba(255, 255, 255, 0.1), transparent 28rem);
  pointer-events: none;
}

.site-footer > .container,
.footer-legal {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(10rem, 0.72fr) minmax(12rem, 0.92fr) minmax(15rem, 1.3fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer-brand h2 {
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.1vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.footer-eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--brand-yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-role {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0.55rem 0.75rem;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-license site-icon {
  width: 1rem;
  height: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.footer-social a {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--brand-navy);
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
}

.footer-social site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-column-title {
  position: relative;
  margin: 0 0 1.4rem;
  padding-bottom: 0.85rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  content: "";
  background: var(--brand-yellow);
  border-radius: 999px;
}

.footer-navigation ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-navigation a:hover,
.footer-specialty-link:hover,
.footer-contact-item:hover {
  color: var(--brand-yellow);
}

.footer-navigation site-icon {
  width: 1rem;
  height: 1rem;
  color: var(--brand-yellow);
}

.footer-specialties {
  display: grid;
  gap: 0.75rem;
}

.footer-specialties .footer-column-title {
  margin-bottom: 0.65rem;
}

.footer-specialty-link {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.3;
}

.footer-specialty-link > span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--brand-yellow);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.footer-specialty-link site-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.footer-hours {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-hours > site-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--brand-yellow);
}

.footer-hours span,
.footer-contact-item span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer-hours small,
.footer-contact-item small {
  margin-bottom: 0.18rem;
  color: var(--brand-yellow);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.footer-hours strong {
  color: #ffffff;
}

.footer-contact {
  display: grid;
  gap: 0.65rem;
}

.footer-contact .footer-column-title {
  margin-bottom: 0.65rem;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-contact-item:hover,
.footer-contact-item:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 204, 0, 0.65);
}

.footer-contact-item > site-icon {
  width: 1.35rem;
  height: 1.35rem;
  justify-self: center;
  color: var(--brand-yellow);
}

.footer-legal {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  background: rgba(19, 49, 110, 0.88) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-legal p:last-child {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-redesign .site-footer {
    padding-top: 3.75rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand h2 {
    max-width: none;
  }

  .footer-column-title {
    margin-bottom: 1.1rem;
  }

  .footer-specialties .footer-column-title,
  .footer-contact .footer-column-title {
    margin-bottom: 0.4rem;
  }

  .footer-legal-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .footer-legal p:last-child {
    text-align: left;
  }
}

@media (max-width: 1200px) {
  .site-redesign .cid-rUTpFBi4e9,
  .site-redesign .cid-rUTpFBi4e9 > .carousel,
  .site-redesign .cid-rUTpFBi4e9 .carousel-inner,
  .site-redesign .cid-rUTpFBi4e9 .carousel-item,
  .site-redesign .cid-rUTpFBi4e9 .media-container-row {
    min-height: 640px;
  }

  .quick-contact-grid {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .quick-contact-location {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 991px) {
  .site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap img {
    object-position: 60% center;
  }

  .site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap::after {
    background: linear-gradient(90deg, rgba(242, 250, 255, 0.98) 0%, rgba(242, 250, 255, 0.88) 48%, rgba(238, 248, 254, 0.3) 78%, rgba(238, 248, 254, 0.08) 100%);
  }

  .site-redesign .cid-rUTpFBi4e9 .hero-panel {
    width: min(100%, 600px);
  }

  .about-modern .row,
  .about-primary .row,
  .about-secondary .row {
    flex-direction: column !important;
  }

  .about-modern .image-wrapper,
  .about-modern .col-lg {
    width: 100%;
    max-width: 720px;
    flex-basis: auto;
  }

  .about-modern .image-wrapper img {
    height: min(62vw, 500px);
  }

  .specialty-panel .content-row {
    grid-template-columns: 1fr;
  }

  .specialty-panel .card-inner-2 img {
    min-height: 380px;
    max-height: 480px;
  }

  .contact-modern .google-map,
  .contact-modern .google-map iframe {
    min-height: 440px;
  }
}

@media (max-width: 767px) {
  .site-redesign .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .site-redesign section[id] {
    scroll-margin-top: 7.5rem;
  }

  .site-redesign .cid-rUTpFezVg4 .navbar-logo img {
    display: block;
    width: clamp(11.5rem, 62vw, 13.75rem) !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  .site-redesign .cid-rUTpFezVg4 .navbar-brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.5rem);
    margin-right: 0;
  }

  .site-redesign .cid-rUTpFezVg4 .navbar-logo,
  .site-redesign .cid-rUTpFezVg4 .navbar-logo a {
    display: block;
    min-width: 0;
  }

  .site-redesign .cid-rUTpFezVg4 .navbar-expand-xl .navbar-toggler {
    display: grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    margin-left: 0.75rem;
  }

  .site-redesign .cid-rUTpFBi4e9,
  .site-redesign .cid-rUTpFBi4e9 > .carousel,
  .site-redesign .cid-rUTpFBi4e9 .carousel-inner,
  .site-redesign .cid-rUTpFBi4e9 .carousel-item,
  .site-redesign .cid-rUTpFBi4e9 .media-container-row {
    min-height: 670px;
  }

  .site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap img {
    object-position: 67% center;
  }

  .site-redesign .cid-rUTpFBi4e9 .image-element .img-wrap::after {
    background: linear-gradient(180deg, rgba(239, 249, 255, 0.94) 0%, rgba(239, 249, 255, 0.82) 60%, rgba(239, 249, 255, 0.95) 100%);
  }

  .site-redesign .cid-rUTpFBi4e9 .text-content {
    width: min(100% - 1.5rem, 1180px);
    padding: 1.5rem 0;
  }

  .site-redesign .cid-rUTpFBi4e9 .hero-panel {
    width: 100%;
    max-width: none;
    padding: 1.5rem;
    border-radius: 24px;
    backdrop-filter: blur(7px);
  }

  .hero-title {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }

  .hero-role {
    font-size: 1.05rem;
  }

  .hero-claim {
    font-size: 0.95rem;
  }

  .hero-credentials {
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .hero-credentials span {
    min-width: 0;
    padding: 0.45rem 0.55rem;
    font-size: clamp(0.7rem, 3.5vw, 0.76rem);
    letter-spacing: 0.025em;
    white-space: nowrap;
  }

  .hero-credentials site-icon {
    width: 0.9rem;
    height: 0.9rem;
  }

  .hero-actions,
  .hero-button {
    width: 100%;
  }

  .hero-button,
  .specialty-cta,
  .contact-whatsapp-cta {
    gap: 0.45rem;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    font-size: clamp(0.78rem, 3.8vw, 0.9rem);
    white-space: nowrap;
  }

  .quick-contact {
    padding-bottom: 2.75rem !important;
  }

  .quick-contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: -1.4rem;
    padding: 1.35rem;
    border-radius: 19px;
  }

  .quick-contact-phones {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-contact-phones a {
    font-size: 1.15rem;
  }

  .quick-contact-location {
    grid-column: auto;
  }

  .about-modern {
    padding: 4rem 0 !important;
  }

  .about-modern .row {
    gap: 2.5rem;
  }

  .about-modern .image-wrapper {
    width: calc(100% - 0.75rem);
  }

  .about-modern .image-wrapper img {
    height: 330px;
    border-radius: 24px;
  }

  .about-modern .mbr-section-title {
    font-size: clamp(2rem, 9vw, 2.7rem) !important;
  }

  .about-modern .mbr-text {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .site-redesign .cid-tcfZK8rxWH .gallery-image {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .site-redesign .cid-tcfZK8rxWH .item-wrapper {
    height: clamp(165px, 46vw, 260px);
    min-height: clamp(165px, 46vw, 260px);
  }

  .site-redesign .cid-tcfZK8rxWH .item-wrapper img {
    height: 100%;
    min-height: 0;
  }

  .specialty-heading {
    padding: 4rem 0 1.2rem !important;
  }

  .specialty-heading .mbr-section-title {
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
  }

  .specialty-panel {
    padding-bottom: 4rem !important;
  }

  .specialty-panel .card-inner,
  .specialty-panel .card-inner-2 {
    border-radius: 24px;
  }

  .specialty-panel .card-inner-2 img {
    min-height: 270px;
    max-height: 320px;
  }

  .specialty-panel .treatment-icon-list {
    grid-template-columns: 1fr;
  }

  .specialty-panel .wrapper-text-1 {
    padding: 1.25rem !important;
  }

  .specialty-cta,
  .contact-whatsapp-cta {
    width: 100%;
  }

  .site-redesign .cid-tcgtBdU4HS {
    padding: 4rem 0 !important;
  }

  .site-redesign .hospital-staff-section .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .contact-modern {
    padding: 4rem 0 !important;
  }

  .contact-modern > .container > .row {
    margin: 0;
    border-radius: 24px;
  }

  .contact-modern .card-container {
    height: auto;
    min-height: 0;
    margin-bottom: 0 !important;
    padding: 1.25rem;
  }

  .contact-modern .map-wrapper {
    width: 100%;
    min-height: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-modern .google-map,
  .contact-modern .google-map iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 85vw, 380px);
    min-height: 340px;
  }

  .site-redesign .cid-t2uMCEBjnF .clients .clients-item {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 380px) {
  .site-redesign .cid-rUTpFBi4e9,
  .site-redesign .cid-rUTpFBi4e9 > .carousel,
  .site-redesign .cid-rUTpFBi4e9 .carousel-inner,
  .site-redesign .cid-rUTpFBi4e9 .carousel-item,
  .site-redesign .cid-rUTpFBi4e9 .media-container-row {
    min-height: 700px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-credentials {
    gap: 0.45rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-button,
  .site-redesign .cid-tcfZK8rxWH .item-wrapper img,
  .skip-link {
    transition: none;
  }
}

/* Slider principal inspirado en el patrón responsive de FERTYS */
.doctor-hero-slider {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: #eef8fd;
  touch-action: pan-y;
}

.doctor-hero-slider:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: -3px;
}

.doctor-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.doctor-slider-track {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translate3d(0, 0, 0);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.doctor-slide {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 100%;
  min-height: clamp(600px, 48vw, 720px);
  overflow: hidden;
  background: #e8f3fb;
}

.doctor-slide::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(242, 250, 255, 0.98) 0%, rgba(242, 250, 255, 0.9) 31%, rgba(238, 248, 254, 0.45) 52%, rgba(238, 248, 254, 0.04) 76%);
  pointer-events: none;
}

.doctor-slide-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, center);
  background: #e8f3fb;
  pointer-events: none;
  user-select: none;
}

.site-redesign .doctor-hero-slider .doctor-slide-content {
  position: relative;
  display: flex;
  width: min(100% - 2rem, 1180px);
  max-width: 1180px;
  min-height: inherit;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
  padding: 2.5rem 0 6rem;
}

.doctor-slide:not(.is-active) .hero-panel {
  visibility: hidden;
}

.doctor-slide.is-active .hero-panel {
  animation: doctor-slide-copy-in 520ms 120ms both;
}

@keyframes doctor-slide-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doctor-slide-pediatric .hero-title,
.doctor-slide-adult .hero-title {
  max-width: 12ch;
  font-size: clamp(2.45rem, 3.6vw, 3.65rem);
  line-height: 1.02;
  text-wrap: balance;
}

.doctor-slider-controls {
  position: absolute;
  z-index: 4;
  bottom: 5rem;
  left: 50%;
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.38rem;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 93, 168, 0.14);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.doctor-hero-slider[data-ready="true"] .doctor-slider-controls {
  display: flex;
}

.doctor-slider-arrow,
.doctor-slider-toggle,
.doctor-slider-dot {
  display: grid;
  padding: 0;
  place-items: center;
  color: var(--brand-blue);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.doctor-slider-arrow,
.doctor-slider-toggle {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.doctor-slider-arrow:hover,
.doctor-slider-toggle:not(:disabled):hover,
.doctor-slider-arrow:focus-visible,
.doctor-slider-toggle:focus-visible {
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

.doctor-slider-arrow site-icon,
.doctor-slider-toggle site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.doctor-slider-dots {
  display: flex;
  align-items: center;
}

.doctor-slider-dot {
  width: 2rem;
  height: 2.65rem;
}

.doctor-slider-dot span {
  width: 0.45rem;
  height: 0.45rem;
  background: rgba(20, 93, 168, 0.32);
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.doctor-slider-dot.is-active span {
  width: 1.35rem;
  background: var(--brand-yellow);
}

.doctor-slider-play-icon,
.doctor-slider-toggle[aria-pressed="true"] .doctor-slider-pause-icon {
  display: none;
}

.doctor-slider-toggle[aria-pressed="true"] .doctor-slider-play-icon {
  display: block;
}

.doctor-slider-toggle:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Acceso full width a especialidades */
.site-redesign section.specialties-intro {
  scroll-margin-top: 5.5rem;
  padding: 0 !important;
  color: var(--brand-navy);
  background: var(--brand-yellow) !important;
}

.specialties-intro-inner {
  display: flex;
  min-height: 138px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 0;
}

@media (min-width: 768px) {
  .specialties-intro-inner {
    padding-left: clamp(3rem, 8vw, 6rem);
  }
}

.specialties-intro-icon {
  display: grid;
  width: 4.7rem;
  height: 4.7rem;
  flex: 0 0 4.7rem;
  place-items: center;
  color: #ffffff;
  background: var(--brand-navy);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(19, 49, 110, 0.2);
}

.specialties-intro-icon site-icon {
  width: 2.7rem;
  height: 2.7rem;
}

.specialties-intro-kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
}

.specialties-intro-title {
  margin: 0;
  color: var(--brand-navy);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-transform: none;
}

.specialties-intro + .specialty-heading {
  padding-top: clamp(3.25rem, 5vw, 4.75rem) !important;
}

.specialty-title-with-icon {
  display: block;
  text-align: center;
  color: var(--brand-navy) !important;
  font-size: clamp(2.3rem, 4vw, 3.5rem) !important;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.specialty-title-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.specialty-title-label strong {
  display: inline;
  width: auto !important;
  flex: 0 1 auto;
}

.specialty-title-label site-icon {
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 3.15rem;
  color: var(--brand-blue);
}

@media (max-width: 1200px) {
  .doctor-slide {
    min-height: 640px;
  }

  .doctor-slide::after {
    background: linear-gradient(90deg, rgba(242, 250, 255, 0.98) 0%, rgba(242, 250, 255, 0.9) 46%, rgba(238, 248, 254, 0.25) 82%, rgba(238, 248, 254, 0.06) 100%);
  }
}

@media (min-width: 768px) {
  .doctor-slide-adult::after {
    background: linear-gradient(90deg, rgba(242, 250, 255, 0.98) 0%, rgba(242, 250, 255, 0.9) 31%, rgba(238, 248, 254, 0.42) 54%, rgba(238, 248, 254, 0.04) 78%);
  }

}

@media (max-width: 767px) {
  .doctor-slide {
    --mobile-hero-photo-height: clamp(260px, 72vw, 360px);
    min-height: 900px;
  }

  .doctor-slide::after {
    bottom: auto;
    height: var(--mobile-hero-photo-height);
    background: linear-gradient(180deg, rgba(19, 49, 110, 0.04) 0%, rgba(232, 243, 251, 0.12) 64%, #e8f3fb 100%);
  }

  .doctor-slide-image {
    height: var(--mobile-hero-photo-height);
    object-position: var(--slide-mobile-position, center);
  }

  .site-redesign .doctor-hero-slider .doctor-slide-content {
    width: min(100% - 1.5rem, 1180px);
    align-items: flex-start;
    padding: calc(var(--mobile-hero-photo-height) - 2rem) 0 7.5rem;
  }

  .doctor-slide-pediatric .hero-title,
  .doctor-slide-adult .hero-title {
    max-width: none;
    font-size: clamp(2.05rem, 9vw, 2.75rem);
  }

  .hero-title-mobile-optional,
  .doctor-slide:first-child .hero-button-secondary {
    display: none;
  }

  .doctor-slider-controls {
    top: var(--mobile-slider-controls-top);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .quick-contact {
    margin-top: -3rem;
    background: linear-gradient(to bottom, transparent 0, transparent 3rem, #ffffff 3rem, #ffffff 100%) !important;
  }

  .site-redesign section.specialties-intro {
    scroll-margin-top: 5.3rem;
  }

  .specialties-intro-inner {
    min-height: 116px;
    gap: 0.9rem;
    padding: 1.15rem 0;
  }

  .specialties-intro-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-basis: 3.5rem;
    border-radius: 15px;
  }

  .specialties-intro-icon site-icon {
    width: 2rem;
    height: 2rem;
  }

  .specialties-intro-kicker {
    font-size: 0.63rem;
    letter-spacing: 0.09em;
  }

  .specialties-intro-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
  }

  .specialty-title-label {
    gap: 0.55rem;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
  }

  .specialty-title-label strong {
    max-width: 11rem;
    white-space: normal;
  }

  .specialty-title-label site-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-basis: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-slider-track,
  .doctor-slide.is-active .hero-panel,
  .doctor-slider-arrow,
  .doctor-slider-toggle,
  .doctor-slider-dot span {
    animation: none;
    transition: none;
  }
}

/* Contacto flotante: llamada, WhatsApp y progreso de lectura */
.contact-dock {
  --contact-fab-size: 4rem;
  --contact-back-size: 3rem;
  position: relative;
  z-index: 1200;
}

.contact-channel {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: var(--contact-fab-size);
  height: var(--contact-fab-size);
  z-index: 1200;
}

.contact-channel-call {
  left: max(1rem, env(safe-area-inset-left));
}

.contact-channel-whatsapp {
  right: max(1rem, env(safe-area-inset-right));
}

.contact-fab {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(19, 49, 110, 0.26);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(19, 49, 110, 0.32);
}

.contact-fab:active {
  transform: translateY(0) scale(0.96);
}

.contact-fab site-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-fab-call {
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

.contact-fab-whatsapp {
  color: #ffffff;
  background: #25d366;
}

.contact-fab-whatsapp::before {
  position: absolute;
  inset: -0.45rem;
  content: '';
  border: 2px solid rgba(37, 211, 102, 0.42);
  border-radius: inherit;
  pointer-events: none;
  animation: contact-whatsapp-pulse 2s ease-out infinite;
}

@keyframes contact-whatsapp-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.82);
  }

  72%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.contact-popover {
  position: absolute;
  bottom: calc(var(--contact-fab-size) + 0.85rem);
  width: min(20rem, calc(100vw - 2rem));
  padding: 0.9rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(19, 49, 110, 0.22);
  animation: contact-popover-enter 180ms ease-out both;
}

.contact-popover[hidden] {
  display: none !important;
}

.contact-popover-call {
  left: 0;
}

.contact-popover-whatsapp {
  right: 0;
}

@keyframes contact-popover-enter {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-popover-header {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 2.25rem;
  gap: 0.7rem;
  align-items: center;
  padding: 0.1rem 0.1rem 0.8rem;
}

.contact-popover-icon,
.contact-popover-close {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 12px;
}

.contact-popover-icon {
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

.contact-popover-whatsapp .contact-popover-icon {
  color: #ffffff;
  background: #25d366;
}

.contact-popover-icon site-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-popover-heading {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.contact-popover-heading strong {
  color: var(--brand-navy);
  font-size: 0.92rem;
  line-height: 1.2;
}

.contact-popover-heading small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.contact-popover-close {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--brand-navy);
  background: var(--surface);
  border: 0;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.contact-popover-close:hover {
  color: #ffffff;
  background: var(--brand-blue);
  transform: rotate(6deg);
}

.contact-popover-close site-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.contact-popover-options {
  display: grid;
  gap: 0.55rem;
}

.contact-option {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1rem;
  min-height: 4.25rem;
  gap: 0.72rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  color: var(--ink) !important;
  text-decoration: none !important;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.contact-option:hover {
  color: var(--brand-navy) !important;
  background: #ffffff;
  border-color: rgba(20, 93, 168, 0.24);
  transform: translateX(2px);
}

.contact-option > site-icon:first-child {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.66rem;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  border-radius: 12px;
}

.contact-popover-whatsapp .contact-option > site-icon:first-child {
  color: #ffffff;
  background: #25d366;
}

.contact-option > site-icon:last-child {
  width: 1rem;
  height: 1rem;
  color: var(--brand-blue);
}

.contact-option span {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
}

.contact-option small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.contact-option strong {
  color: var(--brand-navy);
  font-size: 1rem;
  line-height: 1.25;
}

.contact-back-to-top {
  --scroll-progress: 0deg;
  position: absolute;
  right: calc((var(--contact-fab-size) - var(--contact-back-size)) / 2);
  bottom: calc(var(--contact-fab-size) + 0.9rem);
  display: grid;
  width: var(--contact-back-size);
  height: var(--contact-back-size);
  padding: 3px;
  place-items: center;
  color: var(--brand-navy);
  background: conic-gradient(var(--brand-yellow) var(--scroll-progress), rgba(19, 49, 110, 0.16) 0);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(19, 49, 110, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transform: translateY(0.5rem);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.contact-back-to-top span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: #ffffff;
  border-radius: inherit;
}

.contact-back-to-top site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-channel-whatsapp.is-open .contact-back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
}

@media (max-width: 767px) {
  .contact-dock {
    --contact-fab-size: 3.6rem;
    --contact-back-size: 2.8rem;
  }

  .contact-channel {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 2rem));
    transition: opacity 180ms ease, visibility 0s 180ms, transform 180ms ease;
  }

  .contact-dock.is-page-scrolled .contact-channel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 180ms ease, visibility 0s, transform 180ms ease;
  }

  .contact-channel-call {
    left: max(0.75rem, env(safe-area-inset-left));
  }

  .contact-channel-whatsapp {
    right: max(0.75rem, env(safe-area-inset-right));
  }

  .contact-fab site-icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  .contact-popover {
    width: min(19rem, calc(100vw - 1.5rem));
    padding: 0.8rem;
    border-radius: 18px;
  }

  .contact-popover-header {
    grid-template-columns: 2.4rem minmax(0, 1fr) 2.25rem;
    gap: 0.58rem;
  }

  .contact-popover-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .contact-option {
    min-height: 4rem;
    gap: 0.6rem;
    padding: 0.58rem 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-fab,
  .contact-channel,
  .contact-popover,
  .contact-popover-close,
  .contact-option,
  .contact-back-to-top {
    animation: none;
    transition: none;
  }

  .contact-fab-whatsapp::before {
    animation: none;
  }
}
