/* =========================================================
   SURROGACY CONNECT CONSULTING — estilos base
   ========================================================= */

:root {
  --azul-oscuro:   #0D5F91;
  --azul-turquesa: #1D9CB8;
  --verde-agua:    #49BBA9;
  --amarillo:      #FFE3A3;
  --negro:         #0A0A0A;
  --blanco:        #FFFFFF;
  --gris-texto:    #4A4F55;
  --gris-borde:    #E3E1DB;
  --crema-fondo:   #FBF9F5;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --header-height: 84px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gris-texto);
  background: var(--crema-fondo);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--negro);
  margin: 0 0 .5em;
  line-height: 1.1;
}

/* Título de Circunstancias Médicas: siempre centrado, también en PC. */
#circunstancias h2 {
  text-align: center;
}

a { color: inherit; text-decoration: none; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--azul-oscuro);
  color: var(--blanco);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13,95,145,.35);
}

/* focus visible accesible en todo el sitio */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--verde-agua);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(251, 249, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-borde);
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 46px;
  width: auto;
}

/* agrupa nav + selector de idioma + hamburguesa a la derecha del header */
.header-right {
  display: flex;
  align-items: center;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--negro);
  position: relative;
  padding: 6px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--azul-turquesa);
  transition: right .22s ease;
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--azul-turquesa), var(--azul-oscuro));
  color: var(--blanco);
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(13, 95, 145, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(13, 95, 145, .32);
  background: linear-gradient(135deg, var(--verde-agua), var(--azul-turquesa));
}
.nav-cta:active { transform: translateY(0); }

/* =========================================================
   DROPDOWN DE ESCRITORIO (Quiénes somos / Programas / Familias / Contactanos)
   ========================================================= */

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--negro);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--azul-turquesa);
  transition: right .22s ease;
}
.dropdown-toggle:hover::after,
.dropdown-toggle[aria-expanded="true"]::after { right: 0; }

.dropdown-toggle svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform .22s ease;
}
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* el botón "Contactanos" mantiene el look de pill de nav-cta */
.dropdown-toggle.nav-cta {
  padding: 11px 24px;
}
.dropdown-toggle.nav-cta::after { content: none; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13, 20, 30, .14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 110;
}
.dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu-right {
  left: auto;
  right: 0;
}

.dropdown-menu li + li { margin-top: 2px; }

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gris-texto);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--crema-fondo);
  color: var(--azul-oscuro);
}

/* =========================================================
   SELECTOR DE IDIOMA (ES / EN)
   ========================================================= */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: 999px;
  padding: 3px;
  margin-left: 22px;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .03em;
  color: var(--gris-texto);
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.lang-btn:hover { color: var(--azul-oscuro); }

.lang-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--azul-turquesa), var(--azul-oscuro));
  color: var(--blanco);
}
.lang-btn[aria-pressed="true"]:hover { color: var(--blanco); }

/* botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 200;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--negro);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* menú mobile pantalla completa */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: var(--blanco);
  transform: translateX(100%);
  transition: transform .32s ease;
  overflow-y: auto;
  z-index: 90;
  padding: 20px 28px 60px;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-logo {
  width: 190px;
  height: auto;
  margin: 10px auto 20px;
  display: block;
}

.mobile-menu nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-item {
  border-bottom: 1px solid var(--gris-borde);
}

/* fila con el link principal + el botón que despliega el submenú */
.mobile-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.mobile-menu-row > a {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--negro);
}

.submenu-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: var(--crema-fondo);
  border-radius: 50%;
  color: var(--azul-oscuro);
  cursor: pointer;
  transition: transform .25s ease, background .2s ease;
}
.submenu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}
.submenu-toggle[aria-expanded="true"] {
  background: var(--azul-oscuro);
  color: var(--blanco);
}
.submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* submenú colapsado por default: acordeón real, no todo desplegado de una */
.submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
}
.submenu.is-open {
  max-height: 320px;
  opacity: 1;
  margin-bottom: 16px;
}
.submenu a {
  font-size: .95rem;
  color: var(--gris-texto);
  display: inline-block;
  padding: 2px 0;
}
.submenu a::before {
  content: "— ";
  color: var(--verde-agua);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 90px) 24px 90px;
  background: linear-gradient(180deg, #FFFDF7 0%, var(--crema-fondo) 100%);
  text-align: center;
}

/* Foto de fondo, nítida y a todo el ancho, sin difuminar */
.hero::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  background-image: url("portrait-young-family.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  z-index: 0;
}

/* Velo suave, solo para que el texto se lea, sin oscurecer la foto */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    radial-gradient(
      55% 80% at 50% 40%,
      rgba(251, 249, 245, 0.55) 0%,
      rgba(251, 249, 245, 0.35) 55%,
      rgba(251, 249, 245, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(251, 249, 245, 0.25) 0%,
      rgba(251, 249, 245, 0.03) 14%,
      rgba(251, 249, 245, 0.03) 82%,
      rgba(251, 249, 245, 0.25) 100%
    );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.hero-logo {
  width: 170px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 6px 18px rgba(13, 95, 145, 0.12));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--azul-turquesa);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  margin-bottom: .4em;
  text-shadow: 0 1px 16px rgba(251, 249, 245, 0.7);
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 28px;
  text-shadow: 0 1px 14px rgba(251, 249, 245, 0.85), 0 1px 3px rgba(251, 249, 245, 0.6);
}

/* =========================================================
   SECCIONES
   ========================================================= */

.section { padding: 90px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }

.section-light { background: var(--crema-fondo); }

/* sección de apertura para páginas internas (sin hero grande arriba) */
.section-page-top {
  padding-top: calc(var(--header-height) + 60px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--azul-turquesa);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--azul-oscuro); }

.section-dark {
  background: var(--azul-oscuro);
  background-image: radial-gradient(circle at 85% 20%, rgba(29,156,184,.35), transparent 55%);
}
.section-dark h2, .section-dark .section-eyebrow { color: var(--blanco); }
.section-dark .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.section-dark .card h3 { color: var(--blanco); }
.section-dark .card p { color: rgba(255,255,255,.78); }

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--azul-turquesa);
  margin-bottom: 10px;
}

.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: .6em; }

.section-placeholder, .section-lead {
  max-width: 60ch;
  line-height: 1.6;
}
.section-dark .section-lead { color: rgba(255,255,255,.85); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--verde-agua);
}
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p { margin: 0; font-size: .92rem; line-height: 1.5; }

/* =========================================================
   TIPO DE FAMILIAS — bloques con imagen y texto detallado
   ========================================================= */
.familias-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.familia-block {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  scroll-margin-top: var(--header-height);
}

.familia-icon-wrap {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  border-radius: 20px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  box-shadow: 0 12px 30px rgba(13, 20, 30, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.familia-icon {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.familia-content h3 {
  font-size: 1.2rem;
  color: var(--azul-oscuro);
  margin: 0 0 10px;
}
.familia-content p {
  max-width: 70ch;
  line-height: 1.7;
  margin: 0 0 12px;
  color: var(--gris-texto);
}
.familia-content p:last-child { margin-bottom: 0; }

.familia-compromiso {
  padding-left: 16px;
  border-left: 3px solid var(--verde-agua);
  font-style: italic;
}

@media (max-width: 640px) {
  /* En móvil, el título de Circunstancias Médicas queda centrado
     para que la segunda línea también quede centrada debajo de la primera. */
  #circunstancias h2 {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .familia-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  .familia-content p { max-width: none; }
  .familia-compromiso {
    text-align: left;
    border-left: none;
    border-top: 3px solid var(--verde-agua);
    padding-left: 0;
    padding-top: 12px;
  }
}

/* fila de título con bandera del país */
.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.card-title h3 { margin-bottom: 0; }

.flag {
  flex-shrink: 0;
  display: inline-block;
  width: 34px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .35);
}
.flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================================
   EQUIPO (Quiénes somos)
   ========================================================= */

.team-grid {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 0;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(13, 20, 30, .07);
}

.team-photo-wrap {
  position: relative;
  background: var(--negro);
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 300px;
}
/* franja de color de marca al pie de la foto, prolija y formal */
.team-photo-wrap::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--azul-oscuro) 0%,
    var(--azul-turquesa) 33%,
    var(--verde-agua) 66%,
    var(--amarillo) 100%);
}

.team-bio {
  padding: 40px 42px;
}
.team-name {
  font-size: 1.5rem;
  margin-bottom: .2em;
}
.team-role {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  color: var(--azul-turquesa);
  letter-spacing: .01em;
  margin: 0 0 20px;
}
.team-bio p {
  font-size: .95rem;
  line-height: 1.7;
  margin: 0 0 16px;
}
.team-bio p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .team-card { grid-template-columns: 1fr; }
  .team-photo { min-height: 260px; }
  .team-bio { padding: 30px 24px; }
}

/* =========================================================
   CONTACTO
   ========================================================= */

.section-contact {
  background: var(--blanco);
  border-top: 1px solid var(--gris-borde);
}

.contact-form {
  max-width: 560px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--negro);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--gris-borde);
  border-radius: 10px;
  background: var(--crema-fondo);
  color: var(--negro);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--azul-turquesa);
}
.form-radio-group {
  border: none;
  padding: 0;
  margin: 0;
}
.form-radio-group legend {
  font-size: .85rem;
  font-weight: 600;
  color: var(--negro);
  padding: 0;
  margin-bottom: 6px;
}
.radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
  font-weight: 400;
  color: var(--negro);
  cursor: pointer;
}
.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--azul-turquesa);
  cursor: pointer;
}
.contact-form .btn { align-self: flex-start; }

.form-note {
  font-size: .88rem;
  color: var(--verde-agua);
  font-weight: 600;
  min-height: 1.2em;
}
.form-note.form-note-error {
  color: #c0392b;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--azul-oscuro);
  background-image: radial-gradient(circle at 15% 0%, rgba(73, 187, 169, .28), transparent 55%),
                     radial-gradient(circle at 85% 100%, rgba(29, 156, 184, .3), transparent 55%);
  padding: 64px 24px 34px;
}

/* línea superior con los 4 colores de marca: prolija, sutil, sin logo en caja */
.footer-gradient-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--azul-oscuro) 0%,
    var(--azul-turquesa) 33%,
    var(--verde-agua) 66%,
    var(--amarillo) 100%);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
}
.footer-logo {
  height: 46px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  margin-bottom: 34px;
}
.footer-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  padding: 4px 0;
  transition: color .18s ease;
}
.footer-nav a:hover { color: var(--verde-agua); }

.footer-note {
  font-size: .68rem;
  line-height: 1.55;
  color: rgba(255,255,255,.45);
  max-width: 540px;
  margin: 0 auto 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-note strong { color: rgba(255,255,255,.65); }

.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}

/* botón flotante whatsapp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 80;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* =========================================================
   TARJETAS DE PROGRAMAS (link a página de país)
   ========================================================= */

a.card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card-link:hover,
a.card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13, 20, 30, .12);
  border-color: var(--verde-agua);
}
.section-dark a.card-link:hover,
.section-dark a.card-link:focus-visible {
  box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--verde-agua);
}
a.card-link:hover .card-cta,
a.card-link:focus-visible .card-cta { color: var(--amarillo); }

/* =========================================================
   PÁGINAS "¿POR QUÉ [PAÍS]?"
   ========================================================= */

.country-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px 56px;
  align-items: center;
  margin-top: 24px;
}

/* Variante sin imagen al costado: la bandera pasa a ser el fondo
   de toda la sección (ver .country-bg-*), así que el texto ocupa
   todo el ancho disponible. */
.country-intro-solo {
  grid-template-columns: 1fr;
  max-width: 62ch;
}

.country-intro-text h2 { margin-top: 4px; }

.country-intro-text h3 {
  font-size: 1.12rem;
  margin: 22px 0 8px;
  color: var(--azul-oscuro);
}

.country-intro-text p {
  margin: 0;
  max-width: 62ch;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .country-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =========================================================
   FONDO DE BANDERA DIFUMINADO (páginas "¿Por qué [país]?")
   La bandera cubre gran parte de la sección, muy tenue y con
   los bordes disueltos hacia el fondo crema de la página, para
   que el texto y las tarjetas de arriba se sigan leyendo bien.
   ========================================================= */

.country-bg-colombia {
  position: relative;
  overflow: hidden;
}

.country-bg-colombia::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center, center, center top;
  background-size: cover, cover, cover;
  /* Capa blanca semitransparente (aclara la bandera), dos degradés
     en el color de fondo de la página que disuelven la bandera hacia
     arriba/abajo y hacia los costados, y debajo la bandera en sí —
     así se funde con la página en los bordes en vez de un corte duro. */
  background-image:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)),
    linear-gradient(to bottom, var(--crema-fondo) 0%, transparent 16%, transparent 62%, var(--crema-fondo) 98%),
    radial-gradient(ellipse 92% 105% at 50% 18%, transparent 0%, transparent 55%, var(--crema-fondo) 96%),
    url("colombia-bandera.png");
  pointer-events: none;
}

.country-intro-text h2,
.country-intro-text h3 {
  color: var(--negro);
  text-shadow: 0 1px 22px var(--crema-fondo), 0 1px 4px var(--crema-fondo);
}

.country-intro-text p {
  color: var(--negro);
  font-weight: 500;
  text-shadow: 0 1px 16px var(--crema-fondo), 0 1px 4px var(--crema-fondo), 0 0 2px var(--crema-fondo);
}

.country-bg-colombia > .section-inner {
  position: relative;
  z-index: 1;
}

.country-highlights {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.country-highlight {
  padding-left: 20px;
  border-left: 3px solid var(--verde-agua);
}
.country-highlight h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
  color: var(--azul-oscuro);
}
.country-highlight p {
  margin: 0;
  max-width: 70ch;
  line-height: 1.65;
}

/* Sin marco para el bloque "De Colombia a tu hogar" */
.country-highlight-clean {
  padding-left: 0;
  border-left: 0;
}

.country-closing {
  margin-top: 46px;
  padding: 28px 30px;
  background: var(--crema-fondo);
  border-left: 4px solid var(--verde-agua);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--azul-oscuro);
}

/* Solo texto para el cierre, sin cuadro ni marco */
.country-closing-clean {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* --- Cuadro del programa (Programa Ovodonación, etc.) --- */

.program-cost-question {
  margin: 0;
  padding: 14px 24px 12px;
  color: var(--azul-oscuro);
  background: #f7fafb;
  border-bottom: 1px solid var(--gris-borde);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  letter-spacing: .01em;
}

.program-box {
  margin-top: 54px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(13, 20, 30, .08);
}

.program-box-title {
  margin: 0;
  padding: 24px 30px;
  background: linear-gradient(135deg, var(--azul-turquesa), var(--azul-oscuro));
  color: var(--blanco);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .01em;
}

.program-list {
  margin: 0;
  padding: 26px 30px 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.program-item {
  padding: 20px 21px;
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f8fafb);
  box-shadow: 0 7px 18px rgba(13, 20, 30, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.program-item:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 151, 155, .45);
  box-shadow: 0 12px 24px rgba(13, 20, 30, .09);
}

.program-item dt {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: .94rem;
  color: var(--azul-oscuro);
  margin-bottom: 9px;
}
.program-item dt::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--azul-turquesa);
  box-shadow: 0 0 0 4px rgba(35, 151, 155, .12);
}
.program-item dd {
  margin: 0;
  font-size: .91rem;
  line-height: 1.6;
  color: var(--gris-texto);
}

.program-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 30px;
  background: var(--crema-fondo);
  border-top: 1px solid var(--gris-borde);
}
.program-total span {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gris-texto);
}
.program-total strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--azul-oscuro);
}

.program-total {
  margin-top: 0;
}

@media (max-width: 700px) {
  .program-list {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 12px;
  }
  .program-box-title {
    padding: 21px 20px;
  }
  .program-total {
    padding: 22px 20px;
  }
}

/* --- Cuadro comparativo de programas (Colombia) --- */

.program-compare-box {
  margin-top: 54px;
}

.program-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.program-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .92rem;
}

.program-compare-table thead th {
  background: var(--crema-fondo);
  color: var(--azul-oscuro);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  padding: 22px 18px;
  border-bottom: 2px solid var(--gris-borde);
}

.program-compare-table td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid var(--gris-borde);
  color: var(--gris-texto);
}

.program-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.program-compare-table tbody tr:hover td {
  background: rgba(29, 156, 184, .05);
}

.program-compare-table .pc-label-col {
  text-align: left;
  font-weight: 600;
  color: var(--azul-oscuro);
  background: var(--blanco);
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 var(--gris-borde);
}

.program-compare-table tbody tr:hover .pc-label-col {
  background: #f4faf9;
}

.program-compare-table thead th.pc-label-col {
  background: var(--crema-fondo);
  font-size: 1.05rem;
}

.program-compare-table .pc-price-row td {
  background: var(--crema-fondo);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--azul-oscuro);
  border-top: 2px solid var(--gris-borde);
  border-bottom: none;
  padding-top: 18px;
  padding-bottom: 18px;
}

.program-compare-table .pc-price-row .pc-label-col {
  background: var(--crema-fondo);
}

.pc-updating {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-size: .95rem;
  color: var(--azul-turquesa);
  letter-spacing: .01em;
}

.pc-check {
  color: var(--verde-agua);
  font-weight: 700;
  font-size: 1.05rem;
}

.pc-x2 {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(29, 156, 184, .12);
  color: var(--azul-turquesa);
  font-size: .68rem;
  font-weight: 700;
  vertical-align: middle;
}

.pc-dash {
  color: #c9c5bd;
}

.pc-num {
  font-weight: 700;
  color: var(--azul-oscuro);
}

.program-compare-note {
  margin: 0;
  padding: 18px 30px 28px;
  font-size: .82rem;
  font-style: italic;
  color: var(--gris-texto);
}

.program-compare-table-2col {
  min-width: 560px;
}

.program-compare-exclusions {
  margin: 0;
  padding: 4px 30px 30px;
  border-top: 1px solid var(--gris-borde);
}

.program-compare-exclusions h4 {
  margin: 22px 0 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--azul-oscuro);
}

.program-compare-exclusions ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.program-compare-exclusions li {
  position: relative;
  padding-left: 20px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--gris-texto);
}

.program-compare-exclusions li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #c9c5bd;
  font-weight: 700;
}

@media (max-width: 700px) {
  .program-compare-exclusions {
    padding: 4px 20px 24px;
  }
  .program-compare-exclusions ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .program-compare-table {
    min-width: 640px;
    font-size: .86rem;
  }
  .program-compare-table-2col {
    min-width: 460px;
  }
  .program-compare-table thead th {
    font-size: 1.02rem;
    padding: 16px 14px;
  }
  .program-compare-table td {
    padding: 11px 14px;
  }
  .program-compare-note {
    padding: 16px 20px 24px;
  }
}

/* =========================================================
   CTA "Demos el próximo paso juntos" — debajo del cuadro
   comparativo de programas en cada página de país
   ========================================================= */
.program-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 36px 0 0;
  /* El desplegable debe quedar por encima del footer cuando se abre. */
  position: relative;
  z-index: 20;
}

.program-cta-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--azul-oscuro);
  font-weight: 600;
}

.program-cta .has-dropdown {
  position: relative;
  z-index: 30;
}

/* El desplegable se abre siempre hacia ARRIBA (escritorio y celular),
   así queda completo y no lo tapa el footer. */
.program-cta .dropdown-menu {
  top: auto;
  bottom: calc(100% + 14px);
  left: 50%;
  right: auto;
  min-width: 260px;
  max-width: min(430px, calc(100vw - 32px));
  width: max-content;
  z-index: 9999;
  transform: translate(-50%, 6px);
}
.program-cta .dropdown-menu.is-open {
  transform: translate(-50%, 0);
}

@media (max-width: 700px) {
  .program-cta {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    margin-top: 28px;
  }
  .program-cta-text {
    font-size: 1.05rem;
  }

  /* En celular el menú no puede desbordar el ancho de la pantalla.
     Las opciones largas en inglés/español ahora hacen salto de línea. */
  .program-cta .dropdown-menu {
    min-width: 0;
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
  }

  .program-cta .dropdown-menu a {
    white-space: normal;
    line-height: 1.4;
    padding: 11px 12px;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .header-inner { padding: 0 16px; }
  .logo-img { height: 38px; }
  .lang-switch { margin-left: 10px; }
  .lang-btn { padding: 6px 10px; font-size: .7rem; }
  .section { padding: 64px 20px; }
  .hero { padding-top: calc(var(--header-height) + 60px); }
  .program-box-title,
  .program-list,
  .program-total { padding-left: 20px; padding-right: 20px; }
}

/* =========================================================
   TARJETAS DE BENEFICIOS — PÁGINAS DE PAÍSES
   Diseño en cuadrícula para aprovechar el ancho disponible
   ========================================================= */

.country-intro-solo {
  max-width: none;
  display: block;
  margin-top: 28px;
}

.country-intro-text {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--gris-borde);
  border-top: 4px solid var(--azul-turquesa);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: 0 12px 30px rgba(13,20,30,.06);
}

.country-intro-text .section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.country-intro-text h2 {
  margin-bottom: 24px;
}

.country-intro-text h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.country-intro-text p {
  max-width: none;
  line-height: 1.7;
}

.country-highlights {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.country-highlight,
.country-highlight-clean {
  min-height: 100%;
  padding: 28px 30px;
  border: 1px solid var(--gris-borde);
  border-left: 4px solid var(--verde-agua);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(13,20,30,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.country-highlight:hover,
.country-highlight-clean:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(13,20,30,.1);
  border-color: rgba(29,156,184,.45);
}

.country-highlight h3,
.country-highlight-clean h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--azul-oscuro);
}

.country-highlight p,
.country-highlight-clean p {
  max-width: none;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

.country-closing {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .country-intro-text {
    padding: 24px 22px;
  }

  .country-highlights {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .country-highlight,
  .country-highlight-clean {
    padding: 24px 22px;
  }
}

/* =========================================================
   AJUSTE FINAL DEL HERO — imagen a todo el ancho
   ========================================================= */
.hero {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 38px;
  min-height: 620px;
}

.hero::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  transform: none;
}

.hero-inner {
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1000px) {
  .hero {
    min-height: 680px;
  }
}

@media (max-width: 500px) {
  .hero {
    min-height: 560px;
    padding-bottom: 28px;
  }
}


/* =========================================================
   PÁGINA — ¿POR QUÉ ELEGIRNOS?
   ========================================================= */

.why-us-page {
  min-height: calc(100vh - var(--header-height));
}

.why-us-page .section-inner {
  max-width: 980px;
}

.why-us-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 26px;
}

.why-us-intro {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.why-us-intro p {
  font-size: 1.12rem;
  line-height: 1.8;
  margin: 0 0 8px;
}

.why-us-highlight {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  color: var(--azul-oscuro);
  font-weight: 600;
  margin-bottom: 12px !important;
}

.why-us-list {
  display: grid;
  gap: 18px;
}

.why-us-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 28px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(13, 20, 30, .06);
}

.why-us-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--crema-fondo);
  border-radius: 50%;
  font-size: 1.55rem;
}

.why-us-item h2 {
  font-size: 1.25rem;
  color: var(--azul-oscuro);
  margin: 2px 0 8px;
}

.why-us-item p {
  margin: 0;
  line-height: 1.75;
  font-size: .98rem;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

.why-us-closing {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.55;
  color: var(--negro);
}

@media (max-width: 640px) {
  .why-us-page h1 {
    font-size: 2.55rem;
  }

  .why-us-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }

  .why-us-icon {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .why-us-intro {
    margin-bottom: 34px;
  }
}

/* =========================================================
   BOTÓN FLOTANTE "CONTÁCTANOS" — premium / moderno
   Siempre visible mientras se hace scroll (position: fixed)
   ========================================================= */

.contact-float-wrap {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 81;
}

.contact-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--azul-turquesa) 0%, var(--azul-oscuro) 100%);
  color: var(--blanco);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 26px rgba(13, 95, 145, .38), 0 2px 8px rgba(0, 0, 0, .16);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  animation: contactFloatIn .6s ease both, contactFloatPulse 2.8s ease-in-out 1.4s infinite;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Neutraliza los estilos genéricos de .dropdown-toggle para que la pill
   conserve su look premium (fondo, color, tamaño) */
.contact-float-wrap .dropdown-toggle.contact-float {
  padding: 14px 20px 14px 16px;
}
.contact-float-wrap .dropdown-toggle.contact-float::after { content: none; }

/* Ícono de chat: tamaño fijo, no rota al abrir el menú */
.contact-float-wrap .contact-float-icon svg {
  width: 20px;
  height: 20px;
}
.contact-float-wrap .dropdown-toggle[aria-expanded="true"] .contact-float-icon svg {
  transform: none;
}

/* Flechita indicadora del desplegable */
.contact-float-chevron {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.contact-float-chevron svg {
  width: 12px;
  height: 12px;
  transition: transform .22s ease;
}
.contact-float-wrap .dropdown-toggle[aria-expanded="true"] .contact-float-chevron svg {
  transform: rotate(180deg);
}

/* El menú se abre hacia ARRIBA porque el botón vive abajo de la pantalla */
.contact-float-wrap .dropdown-menu {
  top: auto;
  bottom: calc(100% + 14px);
  left: auto;
  right: 0;
  transform: translateY(-6px);
}
.contact-float-wrap .dropdown-menu.is-open {
  transform: translateY(0);
}

.contact-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--verde-agua) 0%, var(--azul-turquesa) 100%);
  opacity: 0;
  transition: opacity .3s ease;
}

.contact-float:hover,
.contact-float:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 34px rgba(13, 95, 145, .46), 0 4px 12px rgba(0, 0, 0, .2);
}

.contact-float:hover::before,
.contact-float:focus-visible::before { opacity: 1; }

.contact-float:focus-visible {
  outline: 2px solid var(--amarillo);
  outline-offset: 3px;
}

.contact-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-float-icon svg { width: 20px; height: 20px; }

.contact-float-label { white-space: nowrap; }

@keyframes contactFloatIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes contactFloatPulse {
  0%, 100% {
    box-shadow: 0 10px 26px rgba(13, 95, 145, .38), 0 2px 8px rgba(0, 0, 0, .16),
      0 0 0 0 rgba(73, 187, 169, .38);
  }
  50% {
    box-shadow: 0 10px 26px rgba(13, 95, 145, .38), 0 2px 8px rgba(0, 0, 0, .16),
      0 0 0 9px rgba(73, 187, 169, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-float { animation: contactFloatIn .01s linear both; }
}

@media (max-width: 640px) {
  .contact-float-wrap {
    right: 16px;
    bottom: 88px;
  }
  .contact-float { padding: 13px; }
  .contact-float-label { display: none; }
  .contact-float-chevron { display: none; }
  .contact-float-wrap .dropdown-menu {
    min-width: 240px;
    right: 0;
  }
}

/* =========================================================
   AJUSTE FINAL PARA CELULARES
   - El desplegable de la CTA inferior se abre hacia arriba,
     evitando que el footer lo tape o que quede fuera de pantalla.
   - El botón flotante de Contactanos conserva el texto y aumenta
     su tamaño para que sea más visible y fácil de tocar.
   ========================================================= */
@media (max-width: 700px) {
  .program-cta {
    position: relative;
    z-index: 100;
  }

  .program-cta .has-dropdown {
    position: relative;
    z-index: 101;
  }

  .program-cta .dropdown-menu,
  .program-cta .dropdown-menu.is-open {
    top: auto;
    bottom: calc(100% + 14px);
    left: 50%;
    right: auto;
    width: min(420px, calc(100vw - 32px));
    min-width: 0;
    max-width: calc(100vw - 32px);
    transform: translate(-50%, 8px);
    z-index: 10000;
  }

  .program-cta .dropdown-menu.is-open {
    transform: translate(-50%, 0);
  }

  .program-cta .dropdown-menu a {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    padding: 13px 14px;
  }

  /* Botón flotante Contactanos: más grande y con texto visible */
  .contact-float-wrap {
    right: 16px;
    bottom: 98px;
    z-index: 90;
  }

  .contact-float-wrap .dropdown-toggle.contact-float {
    min-height: 58px;
    min-width: 178px;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: 999px;
  }

  .contact-float-wrap .contact-float-icon {
    width: 27px;
    height: 27px;
  }

  .contact-float-wrap .contact-float-icon svg {
    width: 27px;
    height: 27px;
  }

  .contact-float-label {
    display: inline;
    white-space: nowrap;
  }

  .contact-float-chevron {
    display: flex;
  }

  .contact-float-chevron svg {
    width: 15px;
    height: 15px;
  }

  .contact-float-wrap .dropdown-menu {
    min-width: 0;
    width: min(330px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    right: 0;
  }

  /* WhatsApp también queda cómodo para tocar en pantallas pequeñas */
  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 64px;
    height: 64px;
  }

  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 380px) {
  .contact-float-wrap .dropdown-toggle.contact-float {
    min-width: 164px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: .94rem;
  }
}

/* =========================================================
   AJUSTE SOLICITADO: BOTÓN FLOTANTE CENTRADO Y MÁS GRANDE
   ========================================================= */
.contact-float-wrap {
  left: 50%;
  right: auto;
  bottom: 24px;
  transform: translateX(-50%);
}

.contact-float-wrap .dropdown-toggle.contact-float {
  min-height: 64px;
  min-width: 210px;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  font-size: 1.05rem;
}

.contact-float-wrap .contact-float-icon,
.contact-float-wrap .contact-float-icon svg {
  width: 29px;
  height: 29px;
}

.contact-float-wrap .contact-float-chevron svg {
  width: 16px;
  height: 16px;
}

.contact-float-wrap .dropdown-menu {
  left: 50%;
  right: auto;
  transform: translate(-50%, -6px);
}

.contact-float-wrap .dropdown-menu.is-open {
  transform: translate(-50%, 0);
}

@media (max-width: 700px) {
  .contact-float-wrap {
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
  }

  .contact-float-wrap .dropdown-toggle.contact-float {
    min-height: 62px;
    min-width: 205px;
    padding: 17px 22px;
    font-size: 1rem;
  }

  .contact-float-wrap .dropdown-menu {
    left: 50%;
    right: auto;
    width: min(330px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    transform: translate(-50%, -6px);
  }

  .contact-float-wrap .dropdown-menu.is-open {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 380px) {
  .contact-float-wrap .dropdown-toggle.contact-float {
    min-width: 190px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: .96rem;
  }
}

/* =========================================================
   AJUSTE DE ALINEACIÓN — TARJETAS DE PAÍSES
   Solo reorganiza la distribución de los cuadros y centra
   el título y el texto introductorio de cada país.
   ========================================================= */

.country-bg-colombia > .section-inner > h2,
.section-page-top:not(.country-bg-colombia) > .section-inner > h2 {
  text-align: center;
}

.country-bg-colombia > .section-inner > .section-lead,
.section-page-top:not(.country-bg-colombia) > .section-inner > .section-lead,
.section-page-top:not(.country-bg-colombia) > .section-inner > .country-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Excepción: "Cómo nació SCC" y "Circunstancias médicas particulares" tienen
   párrafos largos de varias líneas. Centrarlos línea por línea los hacía ver
   desprolijos; se justifican en bloque, con guionado, para una lectura más
   prolija y profesional. */
#historia .section-lead,
#circunstancias .section-lead {
  text-align: left;
}

#historia .section-lead p,
#circunstancias .section-lead p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

.country-highlights {
  align-items: stretch;
}

/* El bloque con mayor cantidad de texto queda arriba y centrado
   ocupando todo el ancho; los restantes quedan debajo en dos columnas. */
.country-highlights > .country-highlight:first-child,
.country-highlights > .country-highlight-clean:first-child {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .country-highlights > .country-highlight:first-child,
  .country-highlights > .country-highlight-clean:first-child {
    grid-column: auto;
  }
}

/* =========================================================
   GUATEMALA — distribución de tarjetas como el diseño de referencia
   ========================================================= */
body:has(.country-highlight-medical) .country-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "legal legal"
    "medical requirements"
    "photo requirements"
    "photo home";
  gap: 22px;
  align-items: stretch;
  margin-top: 22px;
}

body:has(.country-highlight-medical) .country-highlight {
  min-width: 0;
  padding: 25px 28px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-left: 4px solid var(--verde-agua);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(13, 20, 30, .045);
}

body:has(.country-highlight-medical) .country-highlight h3 {
  font-size: 1.14rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

body:has(.country-highlight-medical) .country-highlight p {
  max-width: none;
  line-height: 1.62;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

body:has(.country-highlight-medical) .country-highlight:nth-child(1) {
  grid-area: legal;
}

body:has(.country-highlight-medical) .country-highlight-medical {
  grid-area: medical;
}

body:has(.country-highlight-medical) .country-highlight-image {
  grid-area: photo;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body:has(.country-highlight-medical) .country-highlight-image img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

body:has(.country-highlight-medical) .country-highlight-requirements {
  grid-area: requirements;
}

body:has(.country-highlight-medical) .country-highlight-home {
  grid-area: home;
  align-self: stretch;
}

body:has(.country-highlight-medical) .country-highlight-care {
  display: none;
}

body:has(.country-highlight-medical) .country-closing {
  margin-top: 26px;
  padding: 25px 28px;
  background: transparent;
  border-left: 4px solid var(--verde-agua);
  border-radius: 0;
}

@media (max-width: 760px) {
  body:has(.country-highlight-medical) .country-highlights {
    grid-template-columns: 1fr;
    grid-template-areas:
      "legal"
      "medical"
      "requirements"
      "photo"
      "home";
    gap: 18px;
  }

  body:has(.country-highlight-medical) .country-highlight {
    padding: 22px 20px;
  }

  body:has(.country-highlight-medical) .country-highlight-image {
    padding: 16px 20px;
  }

  body:has(.country-highlight-medical) .country-highlight-image img {
    min-height: 220px;
    height: 260px;
  }
}

/* =========================================================
   AJUSTES SOLICITADOS — MÉXICO Y COLOMBIA
   ========================================================= */

/* México: texto introductorio centrado y bien separado debajo del título */
.section-page-top .country-intro {
  display: block;
  width: min(100%, 780px);
  max-width: 780px;
  margin: 18px auto 34px;
  text-align: center;
  line-height: 1.65;
  font-size: 1.08rem;
}

/* Colombia: eliminar completamente la bandera de fondo */
.country-bg-colombia::before {
  display: none !important;
  background-image: none !important;
}

/* =========================================================
   BOTÓN DE INSTAGRAM — HEADER
   Ubicado antes del selector ES / EN y siempre visible junto
   al encabezado fijo del sitio.
   ========================================================= */

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 42px;
  height: 42px;
  padding: 9px;
  margin-left: 20px;
  border: 1px solid rgba(13, 95, 145, .22);
  border-radius: 999px;
  color: var(--azul-oscuro);
  background: linear-gradient(135deg, rgba(73, 187, 169, .14), rgba(29, 156, 184, .08));
  box-shadow: 0 5px 14px rgba(13, 95, 145, .10);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.instagram-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: var(--blanco);
  background: linear-gradient(135deg, var(--verde-agua), var(--azul-oscuro));
  box-shadow: 0 8px 18px rgba(13, 95, 145, .22);
  transform: translateY(-1px);
}

.instagram-link:active {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .instagram-link {
    width: 42px;
    height: 42px;
    padding: 9px;
    margin-left: 14px;
  }
  .instagram-link svg { width: 20px; height: 20px; }
}

@media (max-width: 500px) {
  .instagram-link {
    min-height: 38px;
    width: 38px;
    padding: 7px;
    margin-left: 8px;
  }
  .instagram-link svg { width: 20px; height: 20px; }
}


/* Ajustes de composición — septiembre 2026 */
#circunstancias .country-highlights {
  gap: 26px;
}

#circunstancias .country-highlight {
  padding: 28px 30px;
  border: 1px solid var(--gris-borde);
  border-top: 4px solid var(--verde-agua);
  border-left: 1px solid var(--gris-borde);
  border-radius: 18px;
  background: var(--blanco);
  box-shadow: 0 10px 30px rgba(13, 20, 30, .055);
}

#circunstancias .country-highlight:last-child {
  max-width: 780px;
  width: 100%;
  margin: 4px auto 0;
  text-align: center;
  border-top-color: var(--azul-turquesa);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

#circunstancias .country-highlight:last-child h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

#circunstancias .country-highlight:last-child p {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
}

#porque-elegirnos h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#porque-elegirnos .section-eyebrow {
  display: block;
  text-align: center;
}

@media (max-width: 640px) {
  #circunstancias .country-highlight {
    padding: 24px 20px;
  }
  #circunstancias .country-highlight:last-child {
    max-width: 100%;
  }
}

/* =========================================================
   CIRCUNSTANCIAS MÉDICAS — réplica del diseño de referencia
   ========================================================= */
#circunstancias.medical-reference-page {
  padding-top: calc(var(--header-height) + 44px);
  padding-bottom: 86px;
  background: #fbfaf7;
  overflow: hidden;
}

#circunstancias .medical-reference-inner {
  max-width: 1080px;
}

#circunstancias .medical-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 61%) minmax(370px, 39%);
  gap: 0;
  align-items: start;
  min-height: 420px;
  position: relative;
}

#circunstancias .medical-hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 28px 0 16px;
}

#circunstancias .medical-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

#circunstancias .medical-back-link,
#circunstancias .medical-eyebrow {
  margin: 0;
  color: #1788b1;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

#circunstancias .medical-eyebrow {
  letter-spacing: .12em;
}

#circunstancias .medical-kicker-divider {
  color: #9fa9ae;
  font-size: 16px;
  transform: translateY(-1px);
}

#circunstancias .medical-hero-copy h2 {
  margin: 0;
  max-width: 610px;
  text-align: left !important;
  font-size: clamp(3rem, 4.45vw, 4.15rem);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.035em;
  color: #17385f;
}

#circunstancias .medical-title-line {
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 10px;
  background: #49bbae;
  margin: 18px 0 20px;
}

#circunstancias .medical-lead {
  max-width: 625px;
  margin: 0;
  color: #4c6076;
  font-size: 16px;
  line-height: 1.58;
}

#circunstancias .medical-lead p {
  margin: 0 0 12px;
  text-align: left;
  hyphens: none;
}

#circunstancias .medical-hero-art {
  height: 406px;
  margin-top: -40px;
  margin-right: -72px;
  overflow: hidden;
  position: relative;
  pointer-events: none;
}

#circunstancias .medical-hero-art img {
  position: absolute;
  height: 100%;
  width: auto;
  max-width: none;
  top: 0;
  left: 50%;
  transform: translateX(-46%);
  /* Integra el blanco exterior de la imagen con el fondo crema. */
  mix-blend-mode: multiply;
  opacity: .98;
}

#circunstancias .medical-reference-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 18px;
  padding: 0 0 0;
}

#circunstancias .medical-card {
  border: 1px solid rgba(225, 228, 228, .72);
  border-radius: 21px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 24px rgba(23, 56, 95, .035);
  overflow: hidden;
}

#circunstancias .medical-card-vih {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 245px;
  padding: 26px 38px 26px 28px;
}

#circunstancias .medical-card-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d9dcdd;
  padding-right: 28px;
}

#circunstancias .medical-icon-blob {
  width: 132px;
  height: 142px;
  display: grid;
  place-items: center;
  color: #0e89ae;
  border-radius: 45% 55% 52% 48% / 52% 44% 56% 48%;
  background: linear-gradient(150deg, #eaf7f5 0%, #dff5f2 100%);
  transform: rotate(-4deg);
}

#circunstancias .medical-icon-blob svg {
  width: 82px;
  height: 82px;
  transform: rotate(4deg);
}

#circunstancias .medical-card-copy {
  padding: 4px 0 0 34px;
}

#circunstancias .medical-card h3 {
  margin: 0 0 13px;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 600;
  color: #086b9d;
  letter-spacing: -.015em;
}

#circunstancias .medical-card p {
  margin: 0 0 11px;
  color: #4d6175;
  font-size: 16px;
  line-height: 1.5;
}

#circunstancias .medical-card-genetics {
  display: grid;
  grid-template-columns: minmax(0, 61%) minmax(0, 39%);
  min-height: 442px;
  background: linear-gradient(90deg, #f5fcfb 0%, #fbfefe 61%, #fff 61%);
}

#circunstancias .medical-genetics-copy {
  padding: 26px 34px 24px 34px;
}

#circunstancias .medical-genetics-heading {
  display: grid;
  grid-template-columns: 112px 1px minmax(0,1fr);
  gap: 23px;
  align-items: center;
  min-height: 103px;
  margin-bottom: 12px;
}

#circunstancias .medical-icon-blob-small {
  width: 102px;
  height: 96px;
  border-radius: 48% 52% 50% 50% / 58% 44% 56% 42%;
}

#circunstancias .medical-icon-blob-small svg {
  width: 66px;
  height: 66px;
}

#circunstancias .medical-heading-divider {
  align-self: stretch;
  width: 1px;
  background: #d7dddd;
}

#circunstancias .medical-genetics-heading h3 {
  margin: 0;
  font-size: 29px;
  line-height: 1.05;
}

#circunstancias .medical-genetics-body p {
  margin-bottom: 13px;
}

#circunstancias .medical-genetics-art {
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: #fbfaf7;
}

/* El encuentro entre el texto y la imagen queda fundido, sin un corte duro. */
#circunstancias .medical-genetics-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, #f5fcfb 0%, rgba(245,252,251,.72) 35%, rgba(245,252,251,0) 100%);
}

#circunstancias .medical-genetics-art img {
  position: absolute;
  height: 100%;
  width: auto;
  max-width: none;
  top: 0;
  left: 50%;
  transform: translateX(-61%);
  /* El blanco de la imagen se mezcla con el fondo y evita bordes visibles. */
  mix-blend-mode: multiply;
  opacity: .98;
}

@media (max-width: 900px) {
  #circunstancias .medical-hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  #circunstancias .medical-hero-copy {
    padding-right: 0;
  }

  #circunstancias .medical-hero-art {
    height: 310px;
    margin: 18px -70px 0 0;
  }

  #circunstancias .medical-card-vih {
    grid-template-columns: 175px minmax(0,1fr);
  }

  #circunstancias .medical-card-genetics {
    grid-template-columns: 1fr;
  }

  #circunstancias .medical-genetics-art {
    height: 330px;
  }
}

@media (max-width: 640px) {
  #circunstancias.medical-reference-page {
    padding-top: calc(var(--header-height) + 30px);
    padding-left: 18px;
    padding-right: 18px;
  }

  #circunstancias .medical-hero-copy {
    padding-left: 0;
  }

  #circunstancias .medical-kicker-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  #circunstancias .medical-hero-copy h2 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  #circunstancias .medical-hero-art {
    height: 235px;
    margin-right: -45px;
  }

  #circunstancias .medical-reference-cards {
    gap: 22px;
    margin-top: 6px;
  }

  #circunstancias .medical-card-vih {
    display: block;
    padding: 22px 20px;
  }

  #circunstancias .medical-card-icon-col {
    border-right: 0;
    border-bottom: 1px solid #d9dcdd;
    padding: 0 0 18px;
    margin-bottom: 20px;
  }

  #circunstancias .medical-icon-blob {
    width: 112px;
    height: 112px;
  }

  #circunstancias .medical-card-copy {
    padding: 0;
  }

  #circunstancias .medical-card h3,
  #circunstancias .medical-genetics-heading h3 {
    font-size: 25px;
  }

  #circunstancias .medical-genetics-copy {
    padding: 22px 20px 18px;
  }

  #circunstancias .medical-genetics-heading {
    grid-template-columns: 88px 1px minmax(0,1fr);
    gap: 16px;
  }

  #circunstancias .medical-icon-blob-small {
    width: 80px;
    height: 80px;
  }

  #circunstancias .medical-genetics-art {
    height: 260px;
  }
}


/* =========================================================
   NUESTRA HISTORIA (Cómo nació SCC) — dos columnas
   Izquierda: título grande. Derecha: subtítulo + texto.
   ========================================================= */

.historia-section .historia-layout {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.9fr);
  column-gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.historia-side .back-link { margin-bottom: 56px; }

.historia-side .section-eyebrow {
  display: block;
  margin-bottom: 18px;
  letter-spacing: .12em;
}

.historia-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 28px;
  text-align: left;
}

.historia-line {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 2px;
  background: var(--azul-turquesa);
  opacity: .8;
}

.historia-content { padding-top: 52px; }

.historia-content h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1em;
  text-align: left;
}

.historia-content .section-lead {
  max-width: 62ch;
  margin: 0;
  text-align: left;
  line-height: 1.65;
  color: var(--gris-texto);
}

#historia .historia-content .section-lead p {
  text-align: left;
  text-align-last: auto;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  margin: 0 0 1.4em;
}

#historia .historia-content .section-lead p:last-child { margin-bottom: 0; }
.historia-content .section-lead strong { font-weight: 500; color: var(--negro); }

@media (max-width: 860px) {
  .historia-section .historia-layout {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .historia-side .back-link { margin-bottom: 28px; }
  .historia-title { font-size: clamp(2.4rem, 11vw, 3.4rem); margin-bottom: 20px; }
  .historia-content { padding-top: 0; }
  .section.historia-section { padding-top: calc(var(--header-height) + 24px); }
}
