@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins_regular-webfont.woff2') format('woff2'),
       url('../fonts/poppins/poppins_regular-webfont.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins_medium-webfont.woff2') format('woff2'),
       url('../fonts/poppins/poppins_medium-webfont.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins_semibold-webfont.woff2') format('woff2'),
       url('../fonts/poppins/poppins_semibold-webfont.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins_bold-webfont.woff2') format('woff2'),
       url('../fonts/poppins/poppins_bold-webfont.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Marca MailFlex */
  --navy: #062A74;
  --azul: #1492F6;
  --cian: #22DDE4;
  --blanco: #ffffff;
  --degradado: linear-gradient(135deg, #1492F6 0%, #22DDE4 100%);

  /* Derivados */
  --navy-oscuro: #041F57;
  --azul-txt: #0B63C4;
  --tinte: #EEF5FF;
  --tinte-2: #DDEBFD;
  --texto: #2B3B63;
  --texto-suave: #56668C;
  --linea: #DCE5F2;
  --linea-azul: rgba(255, 255, 255, 0.16);
  --suave-azul: #B7C8EA;

  --radio: 16px;
  --radio-peq: 10px;
  --sombra: 0 24px 56px -24px rgba(6, 42, 116, 0.45);
  --fuente: 'Poppins', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --bs-body-font-family: var(--fuente);
  --bs-body-color: var(--texto);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.65;
  --bs-link-color: var(--azul-txt);
  --bs-link-hover-color: var(--navy);
}

body { font-family: var(--fuente); color: var(--texto); background: var(--blanco); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.5rem; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.14; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.4; }
p { max-width: 64ch; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
sup { font-size: 0.55em; }
::selection { background: var(--azul); color: #fff; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
.azul :focus-visible, .pie :focus-visible { outline-color: var(--cian); }

.seccion { position: relative; padding: 6.5rem 0; }
.seccion--tinte { background: var(--tinte); }
section[id] { scroll-margin-top: 72px; }

.azul { background: radial-gradient(120% 100% at 85% 0%, #0A3A96 0%, var(--navy) 45%, var(--navy-oscuro) 100%); color: #fff; overflow: hidden; }
.azul h2, .azul h3, .azul h4 { color: #fff; }
.azul p { color: var(--suave-azul); }

.entradilla { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--texto-suave); }
.azul .entradilla { color: var(--suave-azul); }

.cabeza { max-width: 44rem; margin-bottom: 3rem; }
.cabeza h2 { margin-bottom: 0.9rem; }
.cabeza--separada { margin-top: 6rem; }


/* Botones */
.btn-mf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--fuente); font-size: 1rem; font-weight: 600; line-height: 1.2;
  padding: 0.95rem 1.75rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-mf:hover { text-decoration: none; transform: translateY(-2px); }
.btn-mf--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(6, 42, 116, 0.7); }
.btn-mf--navy:hover { background: #0A3A96; color: #fff; }
.btn-mf--cian { background: var(--cian); color: var(--navy); box-shadow: 0 10px 28px -12px rgba(34, 221, 228, 0.8); }
.btn-mf--cian:hover { background: #6BE9EE; color: var(--navy); }
.btn-mf--linea { background: #fff; border-color: var(--tinte-2); color: var(--navy); }
.btn-mf--linea:hover { border-color: var(--navy); color: var(--navy); }
.btn-mf--peq { font-size: 0.9375rem; padding: 0.6rem 1.2rem; }
.btn-mf--grande { font-size: 1.0625rem; padding: 1.1rem 2.2rem; }
.btn-mf[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.texto-degradado { background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cabeza--centro { margin-left: auto; margin-right: auto; text-align: center; }
.cabeza--centro .entradilla { margin-left: auto; margin-right: auto; }

/* Cabecera */
.cabecera { position: fixed; inset: 0 0 auto 0; z-index: 1040; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(10px); transition: box-shadow 0.25s ease; }
.cabecera.fija { box-shadow: 0 1px 0 var(--linea), 0 10px 30px -22px rgba(6, 42, 116, 0.5); }
.cabecera .navbar { padding: 0.9rem calc(var(--bs-gutter-x) * 0.5); }
.cabecera .navbar-brand { padding: 0; }
.cabecera .navbar-brand img { height: 36px; width: auto; }
.cabecera .nav-link { font-size: 0.9375rem; font-weight: 500; color: var(--navy); padding: 0.5rem 0.85rem; }
.cabecera .nav-link:hover, .cabecera .nav-link.activo { color: var(--azul-txt); }
.cabecera .navbar-toggler { border: 1px solid var(--linea); color: var(--navy); padding: 0.4rem 0.65rem; }
.cabecera .navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero { position: relative; padding: 9.5rem 0 5.5rem; overflow: hidden; background: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38rem 26rem at 12% 8%, rgba(34, 221, 228, 0.16), transparent 70%),
    radial-gradient(44rem 30rem at 92% 30%, rgba(20, 146, 246, 0.16), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--tinte) 100%);
}
.hero > .container { position: relative; }
.hero-texto { max-width: 52rem; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.05; margin-bottom: 1.4rem; }
.hero .entradilla { max-width: 42rem; margin: 0 auto; }
.hero-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }

.hero-escena { position: relative; max-width: 960px; margin: 4.5rem auto 0; padding-top: 2.5rem; }
.hero-cinta { position: absolute; top: 0; left: 30%; width: 105%; height: auto; pointer-events: none; }
.hero-marco {
  position: relative; border-radius: 20px; padding: 10px; background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 40px 90px -40px rgba(6, 42, 116, 0.55); backdrop-filter: blur(6px);
}
.hero-marco img { display: block; width: 100%; border-radius: 12px; }

.flotante {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem; border-radius: 18px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border: 1px solid #fff; box-shadow: 0 22px 48px -20px rgba(6, 42, 116, 0.45);
}
.flotante img { width: 44px; height: 44px; flex: 0 0 auto; }
.flotante p { margin: 0; line-height: 1.25; }
.flotante b { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.flotante span { display: block; font-size: 0.8125rem; color: var(--texto-suave); }
.flotante--1 { left: -4.5rem; top: 22%; }
.flotante--2 { right: -4rem; top: 48%; }
.flotante--3 { left: -2.5rem; bottom: -1.75rem; }

.datos {
  list-style: none; padding: 0; margin: 5rem auto 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--tinte-2); border-radius: 24px; box-shadow: 0 24px 60px -36px rgba(6, 42, 116, 0.45);
}
.datos li { padding: 1.75rem 1.75rem 1.6rem; text-align: center; }
.datos li + li { border-left: 1px solid var(--tinte-2); }
.datos b { display: block; white-space: nowrap; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.datos span { font-size: 0.9375rem; line-height: 1.45; color: var(--texto-suave); }

@media (prefers-reduced-motion: no-preference) {
  .cinta { animation: cinta-entra 1.1s 0.3s cubic-bezier(.2,.7,.2,1) both; }
  .cinta-2 { animation-delay: 0.45s; }
  .flotante { animation: flotar 6s ease-in-out infinite; }
  .flotante--2 { animation-delay: -2s; }
  .flotante--3 { animation-delay: -4s; }
}
@keyframes cinta-entra { from { opacity: 0; transform: translateX(120px); } }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Secciones oscuras */
.azul { background: radial-gradient(120% 90% at 85% 0%, #0A3A96 0%, var(--navy) 45%, var(--navy-oscuro) 100%); color: #fff; overflow: hidden; }
.azul h2, .azul h3 { color: #fff; }
.azul p { color: var(--suave-azul); }
.azul .entradilla { color: var(--suave-azul); }

/* El problema: comparativa ilustrada */
.compara { height: 100%; border-radius: 28px; padding: 2rem 2rem 2.25rem; display: flex; flex-direction: column; }
.compara--antes { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.compara--mf { background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); position: relative; }
.compara--mf::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--degradado); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.compara-tit { display: flex; align-items: center; gap: 0.6rem; font-size: 1.125rem; margin: 0; }
.compara--antes .compara-tit { color: var(--suave-azul) !important; font-weight: 500; }
.compara--mf .compara-tit { color: var(--navy) !important; }
.compara-tit img { width: 42px; height: auto; }
.compara-ilu { margin: 1.25rem 0 1.5rem; border-radius: 20px; padding: 0.5rem; }
.compara--mf .compara-ilu { background: linear-gradient(160deg, #F4F8FF 0%, var(--tinte-2) 100%); }
.compara--antes .compara-ilu { background: rgba(255, 255, 255, 0.04); }
.compara-ilu img { display: block; width: 100%; max-width: 440px; margin: 0 auto; }

.chips { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem 0.45rem 0.5rem; border-radius: 999px; font-size: 0.875rem; line-height: 1.3; }
.chips li::before { content: ""; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 0.7rem; }
.chips--no li { background: rgba(255, 255, 255, 0.07); color: var(--suave-azul); }
.chips--no li::before { background-color: rgba(255, 255, 255, 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23B7C8EA' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.chips--si li { background: var(--tinte); color: var(--navy); font-weight: 500; }
.chips--si li::before { background-color: var(--azul); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--degradado); background-size: 0.7rem, cover; }

/* Funciones: cuadrícula de tarjetas ilustradas */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.tarjeta {
  grid-column: span 4; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E3ECF8; border-radius: 26px; padding: 0.85rem 0.85rem 1.6rem;
  transition: translate 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tarjeta--7 { grid-column: span 7; }
.tarjeta--5 { grid-column: span 5; }
.tarjeta:hover { translate: 0 -4px; border-color: var(--tinte-2); box-shadow: 0 30px 60px -34px rgba(6, 42, 116, 0.45); }
.tarjeta-ilu {
  flex: 0 0 auto; height: 240px; display: flex; align-items: center; justify-content: center;
  border-radius: 20px; background: linear-gradient(160deg, #F6F9FF 0%, var(--tinte) 55%, var(--tinte-2) 100%);
  padding: 0.75rem; margin-bottom: 1.35rem; overflow: hidden;
}
.tarjeta-ilu img { width: 100%; max-width: 360px; max-height: 100%; height: auto; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.tarjeta:hover .tarjeta-ilu img { transform: scale(1.04); }
.tarjeta h3 { font-size: 1.1875rem; margin: 0 0.65rem 0.35rem; }
.tarjeta p { margin: 0 0.65rem; font-size: 0.9375rem; line-height: 1.55; color: var(--texto-suave); }

.esenciales { margin-top: 4.5rem; text-align: center; }
.esenciales-tit { margin: 0 auto 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.pildoras { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.pildoras li {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem 0.6rem 0.75rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--tinte-2); color: var(--navy); font-weight: 500; font-size: 0.9375rem;
  box-shadow: 0 8px 20px -16px rgba(6, 42, 116, 0.5);
}
.pildoras li::before { content: ""; width: 0.5rem; height: 0.85rem; border-radius: 1px; background: var(--degradado); transform: skewX(-22deg); }
.pildoras--peq { justify-content: flex-start; margin-top: 1.5rem; }
.pildoras--peq li { font-size: 0.875rem; padding: 0.45rem 0.9rem 0.45rem 0.65rem; background: var(--tinte); border-color: transparent; box-shadow: none; }

/* Licencia */
.lema { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.lema span { display: block; }
.licencia { position: relative; max-width: 460px; margin: 0 auto; padding: 1.5rem 4.5rem 3rem 0; }
.licencia-tarjeta {
  position: relative; aspect-ratio: 1.586; border-radius: 26px; padding: 1.75rem; overflow: hidden;
  background: linear-gradient(135deg, #0B47B8 0%, var(--navy) 55%, #031A4D 100%);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7);
  display: flex; flex-direction: column; rotate: -6deg;
}
.licencia-tarjeta::after { content: ""; position: absolute; right: -30%; top: -40%; width: 80%; height: 120%; background: var(--degradado); opacity: 0.35; filter: blur(40px); border-radius: 50%; }
.licencia-cab { position: relative; display: flex; justify-content: space-between; align-items: center; padding-right: 3rem; }
.licencia-cab img { height: 30px; width: auto; }
.licencia-chip { position: relative; display: block; margin-top: 1.4rem; width: 44px; height: 34px; border-radius: 8px; background: var(--degradado); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.licencia-tipo { position: relative; margin: auto 0 0.2rem; font-size: 0.875rem; color: #C9D8F5 !important; }
.licencia-precio { position: relative; margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: #fff !important; letter-spacing: -0.02em; }
.licencia-pie { position: relative; display: flex; gap: 0.5rem; margin-top: 1rem; }
.licencia-pie span { width: 2.2rem; height: 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.25); }
.licencia-extra {
  position: absolute; right: 0; display: flex; align-items: baseline; gap: 0.5rem; padding: 0.75rem 1.1rem;
  border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); white-space: nowrap;
}
.licencia-extra b { font-size: 1.375rem; font-weight: 700; line-height: 1; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.licencia-extra span { font-size: 0.9375rem; font-weight: 500; color: var(--navy); }
.licencia-extra--1 { top: 0; }
.licencia-extra--2 { top: 40%; right: -1.5rem; }
.licencia-extra--3 { bottom: 0.5rem; right: 1rem; }

/* Cómo funciona */
.pasos-nav { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pasos-nav::-webkit-scrollbar { display: none; }
.paso-btn {
  flex: 1 0 auto; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem; border: 1px solid var(--tinte-2); border-radius: 999px;
  background: #fff; color: var(--navy); font-family: var(--fuente); font-size: 0.9375rem; font-weight: 500;
  white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.paso-btn > span:first-child {
  display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--tinte); font-size: 0.8125rem; font-weight: 600;
}
.paso-btn:hover { border-color: var(--azul); }
.paso-etq { display: inline; }
.paso-btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.paso-btn[aria-selected="true"] > span:first-child { background: var(--degradado); color: #fff; }

.pasos .splide__track { transition: height 0.45s cubic-bezier(.2,.7,.2,1); }
.pasos .splide__list { align-items: flex-start; }
.pasos .splide__slide { padding: 0.25rem; }
.pasos .paso { width: 100%; }
.paso { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; }
.paso-num { font-size: 0.875rem; font-weight: 600; color: var(--azul-txt); margin-bottom: 0.35rem; }
.paso-texto h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin-bottom: 0.75rem; }
.paso-texto > p:not(.paso-num) { color: var(--texto-suave); }

.marcas { list-style: none; counter-reset: marca; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.6rem; }
.marcas li { counter-increment: marca; position: relative; padding: 0.8rem 1rem 0.8rem 3.4rem; line-height: 1.45; background: #fff; border-radius: 16px; box-shadow: 0 12px 30px -24px rgba(6, 42, 116, 0.55); font-size: 0.9375rem; }
.marcas li::before {
  content: counter(marca); position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cian); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700;
}

.paso-figura { text-align: center; }
.captura { position: relative; display: inline-block; max-width: 100%; }
.captura img { display: block; width: auto; max-height: 500px; border-radius: 12px; box-shadow: var(--sombra); }
.marca {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cian); color: var(--navy);
  border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700;
}

.pasos-flechas { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 2rem; }
.flecha {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--tinte-2); background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.18s ease, background-color 0.18s ease;
}
.flecha:hover { border-color: var(--navy); }

/* A medida: esquema de integración */
.medida { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 15rem minmax(0, 1fr); gap: 2rem; align-items: center; }
.medida-lineas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.medida-lineas path { fill: none; stroke: var(--azul); stroke-width: 2; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; opacity: 0.45; }
.medida-col { position: relative; display: grid; gap: 1.25rem; }
.nodo {
  display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid #E3ECF8; border-radius: 22px;
  padding: 1rem 1.25rem 1rem 1rem; box-shadow: 0 20px 44px -30px rgba(6, 42, 116, 0.45);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.nodo:hover { translate: 0 -3px; box-shadow: 0 28px 54px -30px rgba(6, 42, 116, 0.55); }
.nodo img { flex: 0 0 auto; width: 56px; height: 56px; padding: 6px; border-radius: 16px; background: var(--tinte); }
.nodo h3 { font-size: 1.0625rem; margin: 0 0 0.15rem; }
.nodo p { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--texto-suave); }
.medida-centro { position: relative; width: 15rem; aspect-ratio: 1; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 14px var(--tinte), 0 0 0 15px var(--tinte-2), 0 40px 80px -30px rgba(6, 42, 116, 0.5); }
.medida-centro img { width: 60%; position: relative; }
.medida-anillo { position: absolute; inset: -34px; border-radius: 50%; border: 2px dashed rgba(20, 146, 246, 0.35); }
@media (prefers-reduced-motion: no-preference) { .medida-anillo { animation: girar 40s linear infinite; } }
@keyframes girar { to { transform: rotate(360deg); } }
.nota-it { max-width: 40rem; margin: 3.5rem auto 0; text-align: center; font-size: 0.9375rem; color: var(--texto-suave); padding: 0.9rem 1.5rem; border-radius: 999px; background: var(--tinte); }

/* Servicios */
.servicio { height: 100%; background: #fff; border: 1px solid #E3ECF8; border-radius: 28px; padding: 0.85rem 0.85rem 2rem; }
.servicio-ilu { border-radius: 22px; background: linear-gradient(160deg, #F6F9FF 0%, var(--tinte) 55%, var(--tinte-2) 100%); padding: 1rem; margin-bottom: 1.5rem; }
.servicio-ilu img { display: block; width: 100%; max-width: 400px; margin: 0 auto; }
.servicio h3 { font-size: 1.375rem; margin: 0 1rem 0.6rem; }
.servicio > p { margin: 0 1rem; color: var(--texto-suave); }
.servicio > p b { color: var(--navy); font-weight: 600; }
.servicio .pildoras--peq { margin: 1.5rem 1rem 0; }
.fases { list-style: none; counter-reset: fase; padding: 0; margin: 1.75rem 1rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; position: relative; }
.fases li { counter-increment: fase; position: relative; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 0.85rem; align-items: start; }
.fases li b, .fases li span { grid-column: 2; }
.fases li::before {
  content: "0" counter(fase); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--degradado); color: #fff; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 0 5px #fff;
}
.fases b { font-weight: 600; color: var(--navy); font-size: 0.9375rem; }
.fases span { font-size: 0.8125rem; line-height: 1.4; color: var(--texto-suave); }

/* Demo: llamada a la acción */
.demo { padding-top: 0; background: var(--tinte); }
.cta {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.75rem, 5vw, 4.5rem);
  background: radial-gradient(120% 140% at 100% 0%, #0A3A96 0%, var(--navy) 45%, var(--navy-oscuro) 100%);
  color: #fff;
}
.cta-simbolo { position: absolute; right: 6%; top: 50%; width: 36%; max-width: 420px; translate: 0 -50%; pointer-events: none; }
.cta-simbolo::before { content: ""; position: absolute; inset: -30% -10%; background: radial-gradient(closest-side, rgba(34, 221, 228, 0.35), rgba(20, 146, 246, 0.12) 60%, transparent); }
.cta-simbolo img { position: relative; display: block; width: 100%; height: auto; }
.cta-contenido { position: relative; max-width: 34rem; }
.cta h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.1; margin-bottom: 1rem; }
.cta p { color: var(--suave-azul); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); margin-bottom: 2rem; }
.cta :focus-visible { outline-color: var(--cian); }

/* Pie */
.pie { background: var(--navy-oscuro); color: var(--suave-azul); padding: 2.5rem 0; font-size: 0.9375rem; }
.pie a { color: #fff; }
.pie-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.pie-fila p { margin: 0; }
.pie-logo { height: 32px; width: auto; }
.pie-legal { list-style: none; padding: 0; margin: 0 0 0 auto; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; }
.pie-legal a { color: var(--suave-azul); }
.pie-legal a:hover { color: #fff; }

/* Ventana de solicitud */
.modal-content { border: 0; border-radius: var(--radio); }
.modal-header { border-bottom: 1px solid var(--linea); padding: 1.25rem 1.75rem; }
.modal-title { font-size: 1.375rem; font-weight: 600; margin: 0; color: var(--navy); }
.modal-body { padding: 1.5rem 1.75rem 1.75rem; }
.modal-backdrop.show { opacity: 0.75; background: var(--navy-oscuro); }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opcional { font-weight: 400; color: var(--texto-suave); }
.form-mf .req { margin-left: 0.2rem; color: #B3261E; font-weight: 600; }
.form-mf .form-label.falta, .form-mf .form-check-label.falta, .form-mf .form-check-label.falta a { color: #B3261E; }
.form-mf .form-control.falta { border-color: #B3261E; }
.form-mf .form-control.falta:focus { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2); }
.form-mf .form-check-input.falta { border-color: #B3261E; }
.form-mf textarea.form-control { min-height: 0; }
.form-mf .form-label { font-size: 0.875rem; font-weight: 500; color: var(--navy); margin-bottom: 0.35rem; }
.form-mf .form-control { border: 1px solid #7487B0; border-radius: var(--radio-peq); font-family: var(--fuente); font-size: 1rem; padding: 0.7rem 0.9rem; color: var(--texto); }
.form-mf .form-control:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(20, 146, 246, 0.25); }
.form-mf .form-check-input { border-color: #7487B0; }
.form-mf .form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-mf .form-check-input:focus { box-shadow: 0 0 0 3px rgba(20, 146, 246, 0.25); }
.form-mf .form-check-label { font-size: 0.8125rem; line-height: 1.45; color: var(--texto); }
.form-mf .invalid-feedback { font-size: 0.8125rem; color: #B3261E; }
.form-mf.was-validated .form-control:invalid { border-color: #B3261E; background-image: none; padding-right: 0.9rem; }
.form-mf.was-validated .form-control:valid { border-color: #7487B0; background-image: none; padding-right: 0.9rem; }
.form-mf.was-validated .form-control:valid:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(20, 146, 246, 0.25); }
.form-mf.was-validated .form-control:invalid:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2); }
.form-mf.was-validated .form-check-input:valid ~ .form-check-label { color: var(--texto); }
.form-mf.was-validated .form-check-input:valid { border-color: #7487B0; }
.form-mf.was-validated .form-check-input:valid:checked { background-color: var(--navy); border-color: var(--navy); }
.form-mf.was-validated .form-check-input:invalid ~ .form-check-label { color: #B3261E; }
.form-mf.was-validated .form-check-input:invalid ~ .form-check-label a { color: #B3261E; }

.pie-form { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.verificacion { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.verificacion .form-label { margin: 0; white-space: nowrap; font-size: 0.9375rem; }
.verificacion .form-label b { font-variant-numeric: tabular-nums; }
.verificacion .form-control { width: 4.25rem; padding: 0.5rem 0.6rem; text-align: center; }
.pie-form .form-check { flex: 1 1 16rem; margin: 0; }
#errorPie { display: none; margin-top: 0.6rem; }
#errorPie.visible { display: block; }

.aviso { display: none; border-radius: var(--radio-peq); padding: 1rem 1.125rem; font-size: 0.9375rem; background: var(--tinte); border-left: 3px solid var(--cian); color: var(--navy); }
.aviso.visible { display: block; }
.aviso--error { background: #FDECEA; border-left-color: #B3261E; color: #7A1712; }

html:not(.js) [data-aos] { opacity: 1 !important; transform: none !important; }

@media (max-width: 1199.98px) {
  .flotante--1 { left: -1rem; }
  .flotante--2 { right: -1rem; }
  .flotante--3 { left: 1rem; }
}

@media (max-width: 991.98px) {
  .seccion { padding: 4.5rem 0; }
  .hero { padding-top: 7.5rem; }
  .cabecera .navbar-collapse { padding: 0.75rem 0 0.5rem; }
  .cabecera .nav-link { padding-left: 0; padding-right: 0; }
  .tarjeta, .tarjeta--7, .tarjeta--5 { grid-column: span 6; }
  .paso { grid-template-columns: 1fr; gap: 2rem; }
  .paso-figura { order: -1; }
  .medida { grid-template-columns: 1fr 1fr; }
  .medida-lineas { display: none; }
  .medida-centro { grid-column: 1 / -1; grid-row: 1; width: 11rem; margin: 1rem auto 2rem; }
  .licencia { margin-top: 1rem; }
  .cta { padding-top: 10rem; }
  .cta-simbolo { width: 42%; max-width: 220px; top: 2.5rem; right: auto; left: clamp(1.75rem, 5vw, 4.5rem); translate: 0 0; }
  .pie-legal { margin-left: 0; width: 100%; }
}

@media (max-width: 767.98px) {
  .pasos-nav { overflow: visible; justify-content: space-between; gap: 0.35rem; }
  .paso-btn { flex: 1 1 0; justify-content: center; padding: 0.35rem; min-width: 0; }
  .paso-btn span:first-child { width: 2.25rem; height: 2.25rem; font-size: 0.9375rem; }
  .paso-etq { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .flotante { position: relative; inset: auto; margin: 0.75rem auto 0; width: fit-content; animation: none; }
  .flotante--1 { margin-top: -1.5rem; }
  .datos { grid-template-columns: 1fr; margin-top: 3rem; }
  .datos li + li { border-left: 0; border-top: 1px solid var(--tinte-2); }
  .tarjeta, .tarjeta--7, .tarjeta--5 { grid-column: 1 / -1; }
  .tarjeta-ilu { height: auto; aspect-ratio: 3 / 2; }
  .medida { grid-template-columns: 1fr; }
  .compara { padding: 1.5rem 1.25rem 1.75rem; }
  .licencia { padding: 0 0 0; }
  .licencia-tarjeta { rotate: 0deg; }
  .licencia-extra { position: static; display: inline-flex; margin: 0.75rem 0.35rem 0 0; }
}

@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2.5rem; }
  .hero-acciones .btn-mf { width: 100%; }
  .fases { grid-template-columns: 1fr; }
  .marca { width: 1.5rem; height: 1.5rem; font-size: 0.75rem; border-width: 1.5px; }
  .nota-it { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
