/* =========================================================
   CONFIGURACIÓN GLOBAL
========================================================= */

:root {
  --altura-header: 110px;
  --azul: #123c7c;
  --azul-claro: #0095d5;
  --azul-oscuro: #172b55;
  --turquesa: #2b9b91;
  --turquesa-claro: #54a6a8;
  --verde-whatsapp: #25d366;
  --texto: #1f2b59;
  --texto-secundario: #5f6878;
  --fondo-suave: #f5fbfc;
  --ancho-contenido: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-header) + 20px);
}

body {
  margin: 0;
  padding-top: var(--altura-header);
  overflow-x: hidden;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--texto);
  background: #ffffff;


}


img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.encabezado {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  display: flex;
  width: 100%;
  min-height: var(--altura-header);
  padding: 0 clamp(20px, 4vw, 64px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 30px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: min-height .3s ease, padding .3s ease, box-shadow .3s ease;
}

.contlogo {
  display: flex;
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: width .3s ease, height .3s ease, flex-basis .3s ease;
}

.contlogo a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.contlogo img,
.encabezado .logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);

  transition:
    width 0.3s ease,
    height 0.3s ease,
    transform 0.3s ease;
}

.menu {
  margin-left: auto;
}

.menu > ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(18px, 2.4vw, 45px);
  list-style: none;
}

.menu > ul > li {
  position: relative;
  list-style: none;
}

.menu > ul > li > a:not(.whatsapp_cita):not(.facebook):not(.tiktok) {
  position: relative;
  display: inline-flex;
  padding-bottom: 5px;
  align-items: center;
  gap: 7px;
  color: var(--azul-claro);
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.menu > ul > li > a:not(.whatsapp_cita):not(.facebook):not(.tiktok)::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;

  width: 0;
  height: 3px;

  background: var(--azul);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu > ul > li > a:not(.whatsapp):not(.facebook):not(.tiktok):hover {
  color: var(--azul);
}

.menu > ul > li > a:not(.whatsapp):not(.facebook):not(.tiktok):hover::after {
  width: 100%;
}



.redes_sociales {
  display: flex;
  align-items: center;
  gap: 18px;
}

.redes_sociales a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transition: transform 0.3s ease;
}

.redes_sociales i {
  font-size: 25px;
}

.redes_sociales .facebook {
  color: #1877f2;
}

.redes_sociales .tiktok {
  color: #000000;
}

.redes_sociales .whatsapp {
  color: #25D366 !important;
}

.redes_sociales a:hover {
  transform: scale(1.15);
}


/* Submenú */

.menu-servicios {
  position: relative;
}

.submenu-servicios {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 10000;

  width: min(280px, 90vw);
  margin: 0;
  padding: 0;

  list-style: none;
  background: var(--azul);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.menu-servicios:hover .submenu-servicios,
.menu-servicios.submenu-abierto .submenu-servicios {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu-servicios li {
  margin: 0;
  padding: 0;

  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.submenu-servicios li:last-child {
  border-bottom: 0;
}

.submenu-servicios li a {
  display: block;
  padding: 16px 24px;

  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;

  transition: background-color 0.25s ease;
}

.submenu-servicios li a::after {
  display: none !important;
  content: none !important;
}

.submenu-servicios li a:hover {
  color: #ffffff !important;
  background: #26314d;
}


/* Header reducido al hacer scroll */

.encabezado.header-scroll {
  min-height: 58px;
  padding-top: 4px;
  padding-bottom: 4px;

  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
}

.encabezado.header-scroll .contlogo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.encabezado.header-scroll .logo-img {
  width: 100%;
  height: 100%;
}

.encabezado.header-scroll .whatsapp_cita {

    height: 48px;

    padding: 0 22px;

    border-radius: 30px;

    font-size: 0.95rem;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.encabezado.header-scroll .whatsapp_cita i{

    font-size: 1.2rem;
}

/* =========================================================
   BANNER
========================================================= */

.banner-principal {
  position: relative;
  width: min(var(--ancho-contenido), calc(100% - 32px));
  height: clamp(430px, 46vw, 560px);
  margin: 22px auto 36px;
  overflow: hidden;
  border-radius: 24px;
  background: #f3f4f6;
  box-shadow: 0 16px 36px rgba(12, 82, 169, 0.12);
}

.banner-principal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slide {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);

  transition:
    opacity 1s ease,
    transform 1s ease,
    visibility 1s ease;
}

.banner-slide.activo {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.banner-overlay {
  display: flex;
  width: 100%;
  height: 100%;

  align-items: center;

  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(5, 28, 42, 0.50) 0%,
    rgba(5, 28, 42, 0.60) 45%,
    rgba(5, 28, 42, 0.40) 100%
  );
}

.banner-contenedor {
  position: relative;

  display: flex;
  width: 100%;
  height: 100%;
  padding: 0 clamp(24px, 3vw, 48px);

  align-items: center;
}

.banner-contenido {
  max-width: 650px;
  color: #ffffff;
}

.banner-contenido h1, 
.banner-contenido h2 {
  max-width: 850px;
  margin: 0 0 20px;

  color: #ffffff;
  font-size: clamp(1rem, 2.5vw, 3vw);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  
}

.banner-contenido h1 span,
.banner-contenido h2 span {
    display: block;

    margin-top: 5px;

    color: #5ed1d3;
}



.descripcion-servicio {
  max-width: 500px;
  
  margin: 0 0 22px;

  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  
}

.banner-eslogan {
  position: absolute;
  right: clamp(24px, 4vw, 70px);
  bottom: 45px;

  max-width: 430px;
  padding: 14px 16px;

  border-left: 5px solid #00A0A0;
  border-radius: 0 12px 12px 0;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.banner-eslogan p {
  margin: 0;

  color: #f4fbff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}


/* =========================================================
   PROCESO DE SERVICIO
========================================================= */

.proceso-servicio {
  padding: 0 6% 90px;
  background: linear-gradient(180deg, #ffffff 0%, var(--fondo-suave) 100%);
}

.proceso-contenedor {
  width: min(var(--ancho-contenido), 100%);
  margin: 0 auto;
}

.proceso-encabezado {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
}

.proceso-etiqueta {
  display: inline-block;
  margin-bottom: 12px;
  color: #10A0A0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.proceso-encabezado h2 {
  margin: 0 0 18px;
  color: #0040A0;
  font-size: clamp(2.1rem, 4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
}

.proceso-encabezado p {
  margin: 0;
  color: #5f6878;
  font-size: 18px;
  line-height: 1.7;
}

.pasos-lista {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.paso-card {
  position: relative;

  min-height: 340px;
  padding: 34px 24px 32px;

  text-align: center;

  border: 1px solid #edf3f6;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(29, 43, 95, 0.09);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.paso-card:hover {
  box-shadow: 0 24px 60px rgba(29, 43, 95, 0.15);
  transform: translateY(-8px);
}

.paso-numero {
  position: absolute;
  top: 20px;
  left: 20px;

  color: #10A0A0;
  font-size: 18px;
  font-weight: 900;
}

.paso-imagen {
  width: 135px;
  height: 135px;
  margin: 22px auto 26px;

  overflow: hidden;
  border-radius: 50%;
  background: #eef7f8;
  box-shadow: 0 14px 28px rgba(29, 43, 95, 0.14);
}

.paso-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paso-card h3 {
  margin: 0 0 14px;

  color: #0040A0;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.paso-card p {
  margin: 0;

  color: #5f6878;
  font-size: 15.5px;
  line-height: 1.65;
}

.proceso-beneficio {
  display: flex;
  margin-top: 38px;
  padding: 32px 38px;

  align-items: center;
  gap: 24px;

  border-left: 7px solid var(--turquesa-claro);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(29, 43, 95, 0.09);
}

.beneficio-icono {
  display: grid;
  min-width: 76px;
  height: 76px;

  place-items: center;

  border-radius: 50%;
  background: #eef7f8;
  font-size: 34px;
}

.proceso-beneficio span {
  color: var(--turquesa-claro);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.proceso-beneficio h3 {
  margin: 6px 0 8px;

  color: #1d2b5f;
  font-size: 28px;
  font-weight: 900;
}

.proceso-beneficio p {
  margin: 0;

  color: var(--texto-secundario);
  font-size: 16px;
  line-height: 1.7;
}


/* =========================================================
   CONTADORES Y COBERTURA
========================================================= */
.contador-section {
    width: 100%;
    padding: 55px 24px 30px;
    background: #ffffff;
}

.contador-layout {
    display: block;

    width: min(1200px, 100%);
    margin: 0 auto;
}

.contador-left {
    width: 100%;
    max-width: 100%;
}

.contador-titulo {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.contador-titulo h2 {
    margin: 0 0 16px;
    color: #0040A0;
    font-size: clamp(2.1rem, 4vw, 46px);
    line-height: 1.05;
}


.contador-titulo span{
  color: #10A0A0;
  font-weight: bold;
  font-size: 14px;

}

.contador-titulo p {
    max-width: 700px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================
   CONTADORES EN TARJETAS
========================================================= */

.contador-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    width: min(1200px, 100%);
    margin: 34px auto 0;
}

.stat-card {
    position: relative;

    display: flex;
    min-height: 170px;
    padding: 22px 18px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    overflow: hidden;
    text-align: center;

    border: 1px solid rgba(24, 43, 85, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);

    box-shadow:
        0 14px 35px rgba(24, 43, 85, 0.08),
        0 4px 12px rgba(24, 43, 85, 0.04);

    opacity: 1;
    transform: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: -65px;
    right: -65px;

    width: 145px;
    height: 145px;

    border-radius: 50%;
    background: rgba(75, 160, 159, 0.08);
}

.stat-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 0;
    height: 4px;

    border-radius: 10px 10px 0 0;
    background: #4ba09f;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(75, 160, 159, 0.35);

    box-shadow:
        0 20px 45px rgba(24, 43, 85, 0.14),
        0 8px 18px rgba(24, 43, 85, 0.08);

    transform: translateY(-6px);
}

.stat-card:hover::after {
    width: 65%;
}

.stat-icon {
    position: relative;
    z-index: 1;

    display: flex;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;
    color: #ffffff;
    font-size: 23px;

    box-shadow: 0 10px 25px rgba(24, 43, 85, 0.14);
}

.stat-number {
    position: relative;
    z-index: 1;

    margin-bottom: 8px;

    color: #123c7c;
    font-size: clamp(2.25rem, 3vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
}

.stat-text {
    position: relative;
    z-index: 1;

    max-width: 150px;

    color: #5f6878;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

/* Íconos de los contadores */
.stat-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Colores del fondo de cada icono */

.stat-icon.pacientes {
    background: #5A9B9A !important;
}

.stat-icon.estrellas {
    background: #4F8FC9 !important;
}

.stat-icon.experiencia {
    background:  #2F5597 !important;
}

.stat-icon.servicios {
    background: #5B9258 !important;
}

.contador-right{
    width:min(1400px,calc(100% - 40px));
    margin:clamp(70px,6vw,100px) auto 0;
}

/* =========================================================
   COBERTURA Y MAPA
========================================================= */

.cobertura-card {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 24px;

    width: 100%;
    min-width: 0;
    max-width: 1200px;
    min-height: 650px;
    margin: 0 auto;
    padding: 22px;

    align-items: stretch;

    overflow: hidden;
    border: 1px solid rgba(12, 82, 169, 0.14);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(12, 82, 169, 0.10);
}

/* COLUMNA IZQUIERDA */

.cobertura-left {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
}

.cobertura-left h3 {
    margin: 0 0 24px;

    color: #0040A0;
    font-size: clamp(38px, 3vw, 58px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -1px;
}

.cobertura-left h3 strong {
    display: block;
    color: #10A0A0;
}

/* LISTA DE ZONAS */

.zonas-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;

    width: 100%;
}

.zona-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 20px;
    gap: 14px;

    width: 100%;
    min-width: 0;
    min-height: 82px;
    padding: 13px 14px;

    align-items: center;

    border: 1px solid rgba(12, 82, 169, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(12, 82, 169, 0.10);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.zona-item:hover,
.zona-item.active {
    border-color: rgba(21, 167, 170, 0.50);
    box-shadow: 0 16px 34px rgba(12, 82, 169, 0.18);
    transform: translateY(-3px);
}

.zona-item > i {
    display: grid;
    width: 48px;
    height: 48px;

    place-items: center;

    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
}

.zona-item h4 {
    margin: 0 0 5px;

    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
}

.zona-item p {
    margin: 0;

    color: #243657;
    font-size: 11.5px;
    line-height: 1.35;
}

.zona-item b {
    color: #1c2f66;
    font-size: 28px;
    line-height: 1;
}

.zona-item.quito > i {
    background: #559C9E;
}

.zona-item.quito h4 {
    color: #559C9E;
}

.zona-item.cumbaya > i {
    background: #4F8FC9;
}

.zona-item.cumbaya h4 {
    color: #4F8FC9;
}

.zona-item.tumbaco > i {
    background: #69A875;
}

.zona-item.tumbaco h4 {
    color: #69A875;
}

.zona-item.chillos > i {
    background: #4169B2;
}

.zona-item.chillos h4 {
    color: #4169B2;
}

.zona-item.tambillo > i {
    background: #397F82;
}

.zona-item.tambillo h4 {
    color: #397F82;
}

.zona-item.calderon > i {
    background: #5C9562;
}

.zona-item.calderon h4 {
    color: #5C9562;
}




/* CONTENEDOR DEL MAPA */

.cobertura-map {
    position: relative;

    display: block;
    width: 100%;
    min-width: 0;
    min-height: 606px;

    overflow: hidden;
    border-radius: 22px;
    background: #eef5f5;
}

/* IMAGEN DEL MAPA */

.mapa-img-final {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 606px;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;
}

/* MENSAJE INFERIOR DEL MAPA */

.distancia-info-fija {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 10;

    display: flex;
    width: min(310px, calc(100% - 32px));
    padding: 10px 12px;

    align-items: center;
    gap: 10px;

    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(12, 82, 169, 0.16);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.distancia-info-fija i {
    flex: 0 0 auto;

    color: #e62c28;
    font-size: 23px;
}

.distancia-info-fija p {
    margin: 0;

    color: #25405b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

/* TARJETA DE INFORMACIÓN DE LA ZONA */

.info-right-final {
    position: absolute;
    top: 50%;
    right: 28px;
    z-index: 20;

    display: none;
    width: min(300px, calc(100% - 56px));
    padding: 24px 22px;

    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 42px rgba(12, 82, 169, 0.22);

    transform: translateY(-50%);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.info-right-final button {
    position: absolute;
    top: 10px;
    right: 14px;

    padding: 0;
    border: 0;

    color: #0b315f;
    background: transparent;

    font-size: 27px;
    cursor: pointer;
}

.info-right-final h4 {
    display: flex;
    margin: 0 0 13px;

    align-items: center;
    gap: 10px;

    color: #7045d8;
    font-size: 26px;
    font-weight: 900;
}

.info-right-final h4 i {
    font-size: 34px;
}

.info-right-final span {
    display: inline-block;
    padding: 6px 12px;

    border: 1px solid rgba(21, 167, 170, 0.45);
    border-radius: 999px;

    color: #10A0A0;
    background: rgba(21, 167, 170, 0.08);

    font-size: 12px;
    font-weight: 800;
}

.info-right-final p {
    margin: 15px 0;
    padding-bottom: 13px;

    border-bottom: 1px solid rgba(12, 82, 169, 0.12);
    color: #25405b;

    font-size: 13px;
    line-height: 1.45;
}

.info-right-final ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-right-final li {
    margin-bottom: 10px;

    color: #123c7c;
    font-size: 13px;
    font-weight: 800;
}

.info-right-final li i {
    margin-right: 7px;
    color: #10A0A0;
}

.tiempo-promedio {
    margin-top: 18px;
    padding: 10px;

    text-align: center;

    border: 1px solid rgba(21, 167, 170, 0.16);
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fcfd, #eaf7f7);
}

.tiempo-promedio i {
    display: block;
    margin-bottom: 6px;

    color: #15a7aa;
    font-size: 20px;
}

.tiempo-promedio small {
    display: block;
    margin-bottom: 4px;

    color: #0f8f91;
    font-size: 12px;
    font-weight: 700;
}

.tiempo-promedio strong {
    display: block;

    color: #123c7c !important;
    font-size: 18px;
    font-weight: 900;
}





/* =========================================================
   FOOTER
========================================================= */

.footer {
  width: 100%;

  overflow: hidden;
  border-top: 8px solid transparent;
  border-image: linear-gradient(90deg, var(--azul), var(--turquesa)) 1;
  background: linear-gradient(135deg, #f9fdff 0%, #eef8f7 100%);
  color: var(--texto);
}

.footer-container {
  display: grid;
  grid-template-columns:repeat(4,1fr);
  align-items: stretch;
  gap: clamp(22px, 2.6vw, 42px);
  width: min(var(--ancho-contenido), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.footer-brand img {
  padding-right: -3px;
}



.footer-logo {
  display: block;
  width: min(270px, 100%);
  margin-bottom: 28px;
}

.footer-brand p {
  max-width: 330px;

  color: #123c7c;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

.footer-col {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  padding-left: 30px;
  flex-direction: column;
}

.footer-col::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #d8e1ea;
}

.footer-col h3 {
  display: flex;
  margin: 0 0 24px;
  align-items: center;
  gap: 12px;
  color: #123c7c;
  font-size: clamp(19px, 1.5vw, 25px);
  font-weight: 800;
}

.footer-col h3 i {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 50%;
  color: #123c7c;
  background: rgba(43, 155, 145, 0.12);
  font-size: 24px;
}

.footer-col p,
.footer-col li {
  color: var(--texto);
  font-size: 15px;
  line-height: 1.75;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  display: flex;
  padding: 20px 0;

  align-items: center;
  gap: 22px;

  border-bottom: 1px solid rgba(18, 60, 124, 0.13);
}

.footer-col li > i {
  min-width: 42px;
  color: var(--turquesa);
  font-size: 32px;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #10A0A0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-col ul li a:hover {
  color: #123c7c;
  transform: translateX(5px);
}

.footer-col ul li a i {
  color: #10A0A0;
  font-size: 20px;
}

.footer-col ul li a:hover i {
  color: #1f4f8c;
}

.footer-btn {
  display: flex;
  width: min(220px, 100%);
  min-height: 80px;
  margin-top: 35px;
  padding: 10px 22px 10px 10px;

  align-items: center;
  justify-content: flex-start;
  gap: 4px;

  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--turquesa), #1f58a8);

  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-btn:hover {
  box-shadow: 0 12px 28px rgba(18, 60, 124, 0.22);
  transform: translateY(-3px);
}

.footer-btn img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-follow {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.footer-follow h3 {
  justify-content: center;
}

.footer-follow p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  margin: -10px 0 18px;

  justify-content: center;
  gap: 16px;
}

.social-links a {
  display: grid;
  width: 48px;
  height: 48px;

  place-items: center;

  border-radius: 50%;
  color: #ffffff;
  background: var(--azul);

  font-size: 22px;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.social-links a:hover {
  background: var(--turquesa);
  transform: translateY(-3px);
}


.zona-atencion {
  display: flex;
  width: 100%;
  max-width: 430px;
  margin: 0 auto 18px;
  padding: 20px;

  align-items: center;
  gap: 16px;

  border: 1px solid rgba(43, 155, 145, 0.25);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(18, 60, 124, 0.1);
}

.zona-atencion i {
  color: var(--turquesa);
  font-size: 35px;
}

.zona-atencion h4 {
  margin: 0 0 6px;

  color: var(--turquesa);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.zona-atencion p {
  margin: 0;

  font-size: 12px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  margin: 0 1%;
  padding: 30px 4%;

  align-items: center;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;

  border-radius: 4px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--azul), var(--turquesa));
}





.footer-bottom span,
.footer-bottom p {
  margin: 0;
  font-size: 14px;
}


/* ===========================
   EFECTO HOVER CONTADORES
=========================== */

.stat-icon{
    transition: transform .35s ease, box-shadow .35s ease;
}

.stat-card:hover .stat-icon{
    transform: translateY(-10px) scale(1.15) rotate(-8deg);
    box-shadow: 0 18px 30px rgba(0,0,0,.18);
}




/* =========================================================
   RESPONSIVE GENERAL - FISIO NURSE
========================================================= */


/* =========================================================
   LAPTOP GRANDE
   1250px o menos
========================================================= */
@media (max-width: 1250px) {

    :root {
        --altura-header: 100px;
    }

    /* HEADER */
    .encabezado {
        padding-inline: 24px;
        gap: 16px;
    }

    .contlogo {
        width: 90px;
        height: 90px;
        flex-basis: 90px;
    }

    .menu > ul {
        gap: 14px;
    }

    .menu > ul > li > a:not(.whatsapp_cita):not(.facebook):not(.tiktok) {
        font-size: 12px;
    }

    .whatsapp_cita {
        padding: 8px 12px;
        font-size: 11px;
    }

    .whatsapp_cita img {
        width: 28px;
        height: 28px;
    }

    /* PROCESO */
    .pasos-lista {
        gap: 20px;
    }

    /* MAPA */
    .contador-right {
        width: min(1200px, calc(100% - 24px));
        margin-top: clamp(54px, 6vw, 80px);
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}


/* =========================================================
   LAPTOP / TABLET HORIZONTAL
   1100px o menos
========================================================= */
@media (max-width: 1100px) {

    /* HEADER */
    .menu > ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px 14px;
    }

    /* BANNER */
    .banner-principal {
        width: calc(100% - 28px);
    }

    /* PROCESO */
    .pasos-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .paso-card {
        min-height: 320px;
    }

    /* CONTADORES */
    .contador-layout {
        width: min(920px, 100%);
    }

    .contador-left {
        max-width: 820px;
        margin-inline: auto;
    }

    .contador-titulo {
        text-align: center;
    }

    .contador-titulo p {
        margin-inline: auto;
    }

    /* MAPA */
    .cobertura-card {
        grid-template-columns:
            minmax(270px, 320px)
            minmax(0, 1fr);

        gap: 20px;
    }

    /* FOOTER */
    .footer-container {
        width: min(
            var(--ancho-contenido),
            calc(100% - 32px)
        );
    }
}


/* =========================================================
   TABLET
   900px o menos
========================================================= */
@media (max-width: 900px) {

    :root {
        --altura-header: 0px;
    }

    body {
        padding-top: 0;
    }

    /* =====================================================
       HEADER
    ===================================================== */

    .encabezado,
    .encabezado.header-scroll {
        position: relative;

        min-height: auto;

        padding: 12px 18px;

        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;

        background: #ffffff;
    }

    .contlogo,
    .encabezado.header-scroll .contlogo {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
    }

    .menu {
        width: 100%;
        margin-left: 0;
    }

    .menu > ul {
        justify-content: center;
        gap: 10px 14px;
        flex-wrap: wrap;
    }

    /* SUBMENÚ */
    .submenu-servicios {
        left: 50%;

        width: min(390px, calc(100vw - 24px));

        transform: translate(-50%, 10px);
    }

    .menu-servicios:hover .submenu-servicios,
    .menu-servicios.submenu-abierto .submenu-servicios {
        transform: translate(-50%, 0);
    }

    /* =====================================================
       BANNER
    ===================================================== */

    .banner-principal {
        width: calc(100% - 24px);

        height: clamp(460px, 70vw, 550px);

        margin: 18px auto 32px;

        border-radius: 20px;
    }

    .banner-contenedor {
        padding: 30px 24px;
    }

    .banner-contenido {
        max-width: 600px;
    }

    .banner-contenido h1,
    .banner-contenido h2 {
        font-size: clamp(30px, 5vw, 42px);
    }

    .descripcion-servicio {
        max-width: 520px;
        font-size: clamp(16px, 2.5vw, 20px);
    }

    .banner-eslogan {
        right: 24px;
        bottom: 24px;
        max-width: 340px;
    }

    .banner-eslogan p {
        font-size: 15px;
    }

    /* =====================================================
       PROCESO
    ===================================================== */

    .proceso-servicio {
        padding: 20px 5% 70px;
    }

    .proceso-encabezado {
        margin-bottom: 45px;
    }

    .proceso-encabezado h2 {
        font-size: clamp(2rem, 5vw, 2.6rem);
    }

    .pasos-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .paso-card {
        min-height: 310px;
    }

    /* =====================================================
       CONTADORES
    ===================================================== */

    .contador-section {
        padding: 48px 20px 35px;
    }

    .contador-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .stat-card {
        min-height: 165px;
    }

    /* =====================================================
       COBERTURA
    ===================================================== */

    .contador-right {
        width: calc(100% - 24px);
        margin-top: 60px;
    }

    .cobertura-card {
        grid-template-columns: 1fr;
        max-width: 760px;
        min-height: auto;
    }

    .cobertura-left {
        width: 100%;
    }

    .cobertura-left h3 {
        text-align: center;
    }

    .zonas-lista {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cobertura-map,
    .mapa-img-final {
        min-height: 460px;
    }

    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-container {
        grid-template-columns: 1fr;

        width: min(720px, calc(100% - 32px));

        text-align: center;
    }

    .footer-brand,
    .footer-follow {
        align-items: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
    }

    .footer-brand p {
        max-width: 650px;
        text-align: center;
    }

    .footer-col {
        padding-left: 0;
    }

    .footer-col::before {
        display: none;
    }

    .footer-col h3,
    .footer-col li {
        justify-content: center;
    }

    .footer-btn {
        margin-inline: auto;
    }

    .social-links,
    .zona-atencion {
        justify-content: center;
    }
}


/* =========================================================
   TABLET PEQUEÑA
   700px o menos
========================================================= */
@media (max-width: 700px) {

    /* BANNER */
    .banner-principal {
        height: clamp(440px, 90vw, 520px);
    }

    /* PROCESO */
    .pasos-lista {
        grid-template-columns: 1fr;

        max-width: 520px;
        margin-inline: auto;
    }

    .paso-card {
        min-height: auto;
    }

    /* MAPA */
    .cobertura-card {
        padding: 16px;
    }

    .zonas-lista {
        grid-template-columns: 1fr;
    }

    .cobertura-map,
    .mapa-img-final {
        min-height: 410px;
    }
}


/* =========================================================
   MÓVIL
   640px o menos
========================================================= */
@media (max-width: 640px) {

    /* =====================================================
       HEADER
    ===================================================== */

    .encabezado,
    .encabezado.header-scroll {
        padding: 10px 12px 14px;
    }

    .contlogo,
    .encabezado.header-scroll .contlogo {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .menu > ul {
        gap: 8px 10px;
    }

    .menu > ul > li > a:not(.whatsapp_cita):not(.facebook):not(.tiktok) {
        font-size: 10px;
        letter-spacing: 0;
    }

    .whatsapp_cita {
        padding: 7px 9px;
        font-size: 9px;
    }

    .whatsapp_cita img {
        width: 23px;
        height: 23px;
    }

    .redes_sociales {
        gap: 12px;
    }

    .redes_sociales i {
        font-size: 18px;
    }

    /* =====================================================
       SUBMENÚ
    ===================================================== */

    .menu-servicios {
        position: relative;
    }

    .submenu-servicios {
        position: absolute;
        top: calc(100% + 2px);
        left: 50%;

        width: min(270px, calc(100vw - 30px));
        
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        border-radius: 8px;

        transform: translate(-50%, 8px);

        z-index: 99999;
    }

    .menu-servicios:hover .submenu-servicios,
    .menu-servicios.submenu-abierto .submenu-servicios {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .submenu-servicios li a {
        padding: 12px 16px;

        font-size: 12px !important;
        line-height: 1.3;
    }

    /* =====================================================
       BANNER
    ===================================================== */

    .banner-principal {
        width: calc(100% - 20px);

        height: auto;
        min-height: 520px;

        margin: 16px auto 30px;

        border-radius: 18px;

        overflow: hidden;
    }

    .banner-slide {
        background-size: auto 92%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #dfe7e8;
    }

    .banner-overlay {
        position: relative;

        width: 100%;
        min-height: 520px;
    }

    .banner-contenedor {
        width: 100%;
        min-height: 520px;

        padding: 45px 24px 40px;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        text-align: center;
    }

    .banner-contenido {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;
    }

    .banner-contenido h1,
    .banner-contenido h2 {
        width: 100%;
        max-width: 100%;

        margin: 0 auto 22px;

        font-size: clamp(27px, 8vw, 34px);

        line-height: 1.08;

        text-align: center;

        letter-spacing: -0.5px;
    }

    .banner-contenido h1 span,
    .banner-contenido h2 span {
        display: inline;
        margin: 0;
    }

    .descripcion-servicio {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;

        font-size: 16px;

        line-height: 1.55;

        text-align: center;
    }

    .banner-eslogan {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        max-width: 100%;

        margin: 28px auto 0;

        padding: 18px;

        border-left: 0;
        border-top: 4px solid #7fd9c2;

        border-radius: 14px;

        transform: none;
    }

    .banner-eslogan p {
        margin: 0;

        font-size: 14px;

        line-height: 1.5;

        text-align: center;
    }

    /* =====================================================
       PROCESO
    ===================================================== */

    .proceso-servicio {
        padding: 50px 18px 55px;
    }

    .proceso-encabezado {
        margin-bottom: 35px;
    }

    .proceso-etiqueta {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .proceso-encabezado h2 {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    .proceso-encabezado p {
        font-size: 15px;
        line-height: 1.65;
    }

    .pasos-lista {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .paso-card {
        min-height: auto;

        padding: 30px 20px;
    }

    .paso-imagen {
        width: 120px;
        height: 120px;
    }

    .proceso-beneficio {
        padding: 26px 20px;

        flex-direction: column;

        text-align: center;

        border-top: 6px solid var(--turquesa-claro);
        border-left: 0;
    }

    /* =====================================================
       CONTADORES
    ===================================================== */

    .contador-section {
        padding: 44px 14px 50px;
    }

    .contador-titulo {
        margin-bottom: 25px;
    }

    .contador-titulo h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .contador-titulo p {
        font-size: 15px;
    }

    .contador-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        min-height: 160px;
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 2.1rem;
    }

    .stat-text {
        font-size: 13px;
    }

    /* =====================================================
       COBERTURA / MAPA
    ===================================================== */

    .contador-right {
        width: calc(100% - 20px);

        margin: 45px auto 0;
    }

    .cobertura-card {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 20px;

        padding: 14px;

        border-radius: 20px;
    }

    .cobertura-left h3 {
        margin-bottom: 20px;

        font-size: clamp(2rem, 9vw, 2.7rem);

        line-height: 1.05;
    }

    .zonas-lista {
        grid-template-columns: 1fr;
    }

    .zona-item {
        grid-template-columns:
            48px
            minmax(0, 1fr)
            18px;

        min-height: 75px;

        padding: 11px 12px;
    }

    .zona-item > i {
        width: 44px;
        height: 44px;

        font-size: 20px;
    }

    /* MAPA COMPLETO */
    .cobertura-map {
        position: relative;

        width: 100%;

        height: auto;
        min-height: 0;

        overflow: hidden;

        border-radius: 18px;
    }

    .mapa-img-final {
        display: block;

        width: 100%;
        height: auto;

        min-height: 0;

        object-fit: contain;

        border-radius: 18px;
    }

    /* =====================================================
       AVISO DEL MAPA
    ===================================================== */

    .distancia-info-fija {
        position: relative;

        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        margin-top: 14px;
    }

    .distancia-info-fija p {
        font-size: 10px;
        line-height: 1.4;
    }

    /* =====================================================
       TARJETA DESPLEGABLE DEL MAPA
    ===================================================== */

    .info-right-final {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;

        margin-top: 15px;

        padding: 14px;

        border-radius: 16px;

        transform: none;
    }

    .info-right-final h4 {
        margin-bottom: 8px;

        font-size: 21px;

        gap: 7px;
    }

    .info-right-final h4 i {
        font-size: 26px;
    }

    .info-right-final span {
        padding: 5px 10px;

        font-size: 10px;
    }

    .info-right-final p {
        margin: 10px 0;

        padding-bottom: 9px;

        font-size: 11.5px;

        line-height: 1.4;
    }

    .info-right-final li {
        margin-bottom: 7px;

        font-size: 11.5px;
    }

    .tiempo-promedio {
        margin-top: 10px;

        padding: 7px;
    }

    .tiempo-promedio i {
        margin-bottom: 3px;

        font-size: 16px;
    }

    .tiempo-promedio small {
        font-size: 10px;
    }

    .tiempo-promedio strong {
        font-size: 15px;
    }

    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-container {
        width: calc(100% - 28px);

        padding-top: 34px;

        gap: 28px;
    }

    .footer-logo {
        width: min(230px, 100%);

        margin-inline: auto;
    }

    .footer-brand p {
        font-size: 14px;

        text-align: center;
    }

    .footer-col h3 {
        margin-bottom: 16px;

        font-size: 20px;
    }

    .footer-col li {
        padding: 14px 0;

        gap: 12px;
    }

    .zona-atencion {
        flex-direction: column;

        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 16px;

        padding: 24px 18px;

        text-align: center;
    }
}


/* =========================================================
   MÓVIL PEQUEÑO
   480px o menos
========================================================= */
@media (max-width: 480px) {

    /* HEADER */
    .menu > ul {
        gap: 8px;
    }

    .menu > ul > li > a:not(.whatsapp_cita):not(.facebook):not(.tiktok) {
        font-size: 9.5px;
    }

    /* SUBMENÚ */
    .submenu-servicios {
        width: min(245px, calc(100vw - 24px));
    }

    .submenu-servicios li a {
        padding: 11px 14px;

        font-size: 11.5px !important;
    }

    /* BANNER */
    .banner-principal {
        width: calc(100% - 14px);

        margin-top: 12px;
    }

    .banner-contenedor {
        padding: 35px 16px 30px;
    }

    .banner-contenido h1,
    .banner-contenido h2 {
        font-size: clamp(24px, 7.5vw, 30px);
    }

    .descripcion-servicio {
        font-size: 15px;
    }

    .banner-eslogan {
        margin-top: 22px;

        padding: 15px;
    }

    .banner-eslogan p {
        font-size: 13px;
    }

    /* CONTADORES */
    .contador-grid {
        grid-template-columns: 1fr;

        max-width: 360px;

        margin-inline: auto;
    }

    .stat-card {
        min-height: 165px;
    }

    /* MAPA */
    .distancia-info-fija p {
        font-size: 9px;
    }

    /* FOOTER */
    .footer-btn {
        white-space: normal;
    }
}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   360px o menos
========================================================= */
@media (max-width: 360px) {

    /* HEADER */
    .contlogo,
    .encabezado.header-scroll .contlogo {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .menu > ul > li > a:not(.whatsapp_cita):not(.facebook):not(.tiktok) {
        font-size: 9px;
    }

    /* BANNER */
    .banner-contenido h1,
    .banner-contenido h2 {
        font-size: 23px;
    }

    .descripcion-servicio {
        font-size: 14px;
    }

    .banner-eslogan p {
        font-size: 12px;
    }

    /* PROCESO */
    .paso-card h3 {
        font-size: 19px;
    }

    .paso-card p {
        font-size: 14px;
    }

    /* MAPA */
    .cobertura-left h3 {
        font-size: 1.9rem;
    }
}