/* ==========================================================
   CREADORES · sitio web
   Paleta y tipografías del brand book
   ========================================================== */

:root {
  --negro: #000000;
  --marino: #0B1A34;
  --azul: #0081FF;
  --azul-hover: #3399FF;
  --azul-texto: #0066CC;   /* azul legible sobre blanco */
  --gris: #CBD2D8;
  --gris-claro: #E6EAEE;
  --gris-linea: #D3D9DF;
  --tinta: #1A2433;        /* texto secundario sobre claros */
  --tinta-suave: #3A4759;
  --blanco: #FFFFFF;
  --wa: #25D366;
  --wa-hover: #3BE07A;

  --f-titulo: "Anton", "Arial Narrow", sans-serif;
  --f-texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-etiqueta: "Poppins", "Inter", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease: var(--ease-out);
  --contorno: #9AA6B2;
  --tarjeta: #D5D9DD;
  --tarjeta-sombra:
    inset 0 10px 18px -6px rgba(11, 26, 52, .16),
    inset 10px 0 16px -10px rgba(11, 26, 52, .08),
    inset -10px 0 16px -10px rgba(11, 26, 52, .08),
    inset 0 -8px 14px -10px rgba(255, 255, 255, .55),
    0 24px 46px -22px rgba(11, 26, 52, .32),
    0 6px 16px -8px rgba(11, 26, 52, .12);
  --sec-pad: clamp(64px, 7.5vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--azul) var(--negro);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--marino);
  background: var(--negro);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--azul);
}
body.lock { overflow: hidden; }

::selection { background: var(--azul); color: var(--negro); }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { width: 1.15em; height: 1.15em; flex: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--azul); color: var(--negro);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Títulos ---------- */
.h2 {
  font-family: var(--f-titulo);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
  margin-bottom: clamp(28px, 3.5vw, 52px);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.25em;
  border: 2px solid transparent;
  font-family: var(--f-texto); font-weight: 700; font-size: 0.9375rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 1rem; padding: 1.05em 1.5em; }
.btn--wa { background: var(--wa); color: var(--marino); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--blanco); }
.btn--ghost:hover { border-color: var(--blanco); background: var(--blanco); color: var(--negro); }
.btn--azul { background: var(--azul); color: var(--negro); }
.btn--azul:hover { background: var(--azul-hover); }

/* ==========================================================
   CABECERA
   ========================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--marino);
  background: rgba(244, 244, 244, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);  /* cabecera clara sobre la portada clara */
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(244, 244, 244, .94);
  border-bottom-color: rgba(11, 26, 52, .08);
}
.header__in {
  height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.header__logo { flex: none; }
.header__logo img { height: 1.5rem; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: 0.9375rem; font-weight: 500; color: var(--marino);
  text-decoration: none; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--azul);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: var(--negro); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }


.burger {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--negro);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--negro); color: var(--blanco);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
body.lock .header { background: var(--negro); border-bottom-color: rgba(255,255,255,.09); }
body.lock .header__logo img { filter: invert(1) hue-rotate(180deg); }
body.lock .burger span { background: var(--blanco); }
.menu a { text-decoration: none; }
.menu nav li { border-bottom: 1px solid rgba(255,255,255,.12); }
.menu nav a {
  display: block; padding: 14px 0;
  font-family: var(--f-titulo); text-transform: uppercase;
  font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1;
}
.menu nav a:hover { color: var(--azul); }
.menu__foot { display: grid; gap: 18px; padding-top: 32px; }
.menu__foot .footer__redes { justify-content: center; margin-top: 0; }  /* mismos íconos del pie, en el menú del celular */
.menu.is-open nav li { animation: subir .5s var(--ease-out) both; }
.menu.is-open nav li:nth-child(2) { animation-delay: .04s; }
.menu.is-open nav li:nth-child(3) { animation-delay: .08s; }
.menu.is-open nav li:nth-child(4) { animation-delay: .12s; }
.menu.is-open nav li:nth-child(5) { animation-delay: .16s; }

@keyframes subir { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================
   PORTADA
   ========================================================== */
/* ===== SECCIÓN 1 y 2 (inicio) ===== */
/* ---------- Portada clara: titular a la izquierda y la marca en grande con tarjetas de servicios a la derecha ---------- */
:root { --hueso: #F7F6F2; --cuadricula: rgba(11, 26, 52, .055); }


/* portada */
.hero2 {
  position: relative; overflow: hidden; isolation: isolate; min-height: min(100svh, 60rem);
  display: flex; align-items: center; padding-block: calc(var(--header-h) + clamp(28px, 5vh, 64px)) clamp(40px, 7vh, 80px);
  /* textura blanca tipo papel/estuco */
  background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)), #F1F1F1 url("assets/fondo-blanco.webp") center / cover no-repeat; color: var(--negro);
}
.hero2__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero2__titulo { font: 400 clamp(2.6rem, 5.5vw, 6rem)/.92 var(--f-titulo); white-space: nowrap; text-transform: uppercase; letter-spacing: .002em; }
.hero2__titulo span { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.hero2__titulo span > i { display: block; font-style: normal; animation: linea 1s var(--ease-out) both; }
.hero2__titulo span:nth-child(2) > i { animation-delay: .1s; }
.hero2__titulo em { font-style: normal; color: var(--azul); }
.hero2__sub { max-width: 30ch; margin-top: clamp(20px, 2.6vw, 30px); font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.45; color: var(--tinta); }
.hero2__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: clamp(24px, 3vw, 36px); }
.hero2__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 1.6em; border-radius: 99px; background: var(--azul); color: var(--blanco); font-weight: 700; font-size: 1.02rem; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(0, 81, 160, .7); transition: background-color .25s, transform .3s var(--ease-out); }
.hero2__btn:hover, .hero2__btn:focus-visible { background: #006FDB; transform: translateY(-2px); }
.hero2__btn svg, .hero2__link svg { width: 1.15em; height: 1.15em; }
.hero2__link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; color: var(--negro); font-weight: 600; text-decoration: none; transition: gap .3s var(--ease-out); }
.hero2__link:hover { gap: 16px; }
.hero2__lema { display: flex; align-items: center; gap: 16px; margin-top: clamp(32px, 5vh, 56px); font-weight: 500; font-size: .95rem; color: var(--tinta); }
.hero2__lema svg { flex: none; width: 34px; height: 24px; color: var(--azul); }
.hero2__lema i { width: 1px; height: 22px; background: rgba(11, 26, 52, .3); }
.hero2__txt > * { animation: subir .8s var(--ease-out) both; }
.hero2__txt > :nth-child(2) { animation-delay: .25s; }
.hero2__txt > :nth-child(3) { animation-delay: .35s; }
.hero2__txt > :nth-child(4) { animation-delay: .45s; }

/* gráfico de marca */
.marca { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: min(640px, calc((100svh - var(--header-h) - 90px) * 1.087)); justify-self: center; container-type: inline-size; }
.marca__letras { position: absolute; inset: 0; rotate: -7deg; }
.marca__l { position: absolute; font: 400 33cqw/.8 var(--f-titulo); color: var(--negro); letter-spacing: -.01em; }
.marca__l--cre { left: 6%; top: 8%; }
.marca__l--ores { right: 0; bottom: 6%; font-size: 26cqw; }
.marca__ad { position: absolute; left: 22%; top: 24%; width: 58%; height: auto; rotate: -4deg; filter: drop-shadow(0 18px 24px rgba(0, 81, 160, .25)); animation: marca-entra 1.1s cubic-bezier(.2, 1.3, .35, 1) .3s both; }
@keyframes marca-entra { from { opacity: 0; scale: .7; rotate: -18deg; } }
.marca__trazo { position: absolute; fill: none; stroke: var(--azul); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.marca__flecha { left: -6%; top: 22%; width: 22%; }
.marca__rayos { right: 10%; top: -2%; width: 13%; }
.marca__zig { right: 22%; bottom: -4%; width: 20%; }
.marca__trazo path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: dibuja 1.2s var(--ease-out) .9s both; }
@keyframes dibuja { from { stroke-dashoffset: 1; } }

/* tarjetas de servicios flotando */
.srvc { position: absolute; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; min-width: 11.5rem; padding: 14px 16px 12px; border-radius: 14px; background: var(--blanco); color: var(--negro); text-decoration: none; box-shadow: 0 18px 36px -18px rgba(11, 26, 52, .35), 0 2px 6px rgba(11, 26, 52, .06); font-weight: 600; font-size: .95rem; transition: translate .35s var(--ease-out), box-shadow .35s; animation: srvc-entra .7s var(--ease-out) both, srvc-flota var(--fl, 5s) ease-in-out var(--fd, 0s) infinite; animation-delay: calc(.6s + var(--i) * .12s), var(--fd, 0s); }
.srvc svg { width: 20px; height: 20px; color: var(--negro); }
.srvc__ir { color: var(--tinta-suave); transition: translate .3s var(--ease-out); }
.srvc::after { content: ""; grid-column: 2; width: 2.8rem; height: 3px; border-radius: 99px; background: var(--azul); transition: width .35s var(--ease-out); }
.srvc:hover { box-shadow: 0 24px 44px -18px rgba(0, 81, 160, .45), 0 2px 6px rgba(11, 26, 52, .06); }
.srvc:hover::after { width: 4.4rem; }
.srvc:hover .srvc__ir { translate: 4px 0; color: var(--azul); }
.srvc--1 { left: 4%; top: -2%; --i: 0; --fl: 5.4s; --fd: -1s; }
.srvc--2 { right: -6%; top: 14%; --i: 1; --fl: 4.8s; --fd: -2.4s; }
.srvc--3 { left: -8%; bottom: 20%; --i: 2; --fl: 5.8s; --fd: -.6s; }
.srvc--4 { right: 0; bottom: -2%; --i: 3; --fl: 5.1s; --fd: -3.1s; }
@keyframes srvc-entra { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes srvc-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

@media (max-width: 900px) {
  .hero2 { min-height: 0; background-image: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)), url("assets/fondo-blanco-v.webp"); }
  .hero2__in { grid-template-columns: 1fr; }
  .hero2__titulo { font-size: min(10.4vw, 3.6rem); }
  .marca { max-width: 440px !important; margin-top: 12px; }
  .srvc { min-width: 0; padding: 10px 12px 9px; font-size: .82rem; gap: 3px 8px; border-radius: 12px; }
  .srvc svg { width: 16px; height: 16px; }
  .srvc::after { width: 2rem; }
  .srvc--2 { right: -2%; }
  .srvc--3 { left: -2%; }
  .marca__flecha { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 *, .hero2 *::after { animation: none !important; }
}
/* ===== SECCIÓN 1 y 2 (fin) ===== */
@keyframes linea { from { transform: translateY(104%) skewY(6deg); } }


/* ==========================================================
   SECCIONES BASE
   ========================================================== */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec--gris { background: var(--gris); color: var(--negro); }
.sec--blanco { background: var(--blanco); color: var(--marino); }
.sec--marino { background: var(--marino); color: var(--blanco); }
.sec--azul { background: var(--azul); color: var(--negro); }
.sec--negro { background: var(--negro); color: var(--blanco); }

/* ===== SECCIÓN 3 (inicio) ===== */
/* ---------- Propósito: foto en blanco y negro a la izquierda y la declaración de marca con comilla a la derecha ---------- */
.prop { padding-block: clamp(56px, 6.5vw, 100px); background: var(--blanco); color: var(--negro); overflow: hidden; }
.prop__in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.prop__foto { position: relative; display: flex; justify-content: flex-start; margin: 0 0 0 calc(-1 * (max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2) + var(--gutter)));  /* el brazo sale desde el borde izquierdo de la pantalla */ height: clamp(460px, 46vw, 700px); }  /* mano del brandbook, sin marco */
.prop__foto img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; translate: var(--pfx, 0%) 0; will-change: translate; }  /* el brazo sale desde el borde izquierdo con el scroll (main.js mueve --pfx) */
.prop__comilla { display: block; height: .5em; margin-bottom: clamp(14px, 1.6vw, 22px); font: 700 clamp(5rem, 8vw, 7.5rem)/1 Georgia, "Times New Roman", serif; color: var(--azul); }  /* comillas tipográficas reales */
.prop__comilla--fin { height: .38em; margin: clamp(10px, 1.2vw, 16px) 0 0; text-align: right; }
.prop__txt p { max-width: 40ch; font-weight: 700; font-size: clamp(1.12rem, 1.55vw, 1.42rem); line-height: 1.6; letter-spacing: -.005em; color: var(--negro); }
.prop__txt p + p { margin-top: clamp(14px, 1.6vw, 20px); }
.prop__txt strong { color: var(--azul); font-weight: 700; }

/* escritorio: la mano queda a la izquierda y el texto centrado en la sección */
@media (min-width: 901px) {
  .prop__in { position: relative; grid-template-columns: 1fr; min-height: clamp(460px, 46vw, 700px); }
  .prop__foto { position: absolute; left: calc(-1 * max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2)); top: 50%; margin: 0; translate: 0 -50%; }
  .prop__txt { position: relative; justify-self: center; max-width: 40ch; text-align: left; }  /* bloque centrado en la sección, texto alineado a la izquierda */
  .prop__txt p { margin-inline: 0; }
}

/* entrada */
.prop__foto, .prop__txt > * { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.prop__txt > :nth-child(1) { transition-delay: .15s; }
.prop__txt > :nth-child(2) { transition-delay: .25s; }
.prop__txt > :nth-child(3) { transition-delay: .35s; }
.prop__txt > :nth-child(4) { transition-delay: .45s; }
.js .prop:not(.in) .prop__foto { opacity: 0; }
.js .prop:not(.in) .prop__txt > * { opacity: 0; transform: translateY(20px); }

@media (max-width: 900px) {
  .prop__in { grid-template-columns: 1fr; }
  .prop__foto { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .prop:not(.in) .prop__foto, .js .prop:not(.in) .prop__txt > * { opacity: 1; transform: none; }
  .prop__foto img { translate: none; }
}
/* ===== SECCIÓN 3 (fin) ===== */

/* ===== SECCIÓN 4 (inicio) ===== */
/* ---------- ¿Te suena alguno?: frases de clientes en distintos tamaños e inclinaciones (izquierda) y un texto empático (derecha) ---------- */
.frases4 { padding-block: clamp(56px, 6vw, 96px); }
.frases4__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.frases4 .h2 { margin-bottom: clamp(22px, 2.6vw, 34px); }

/* escena: la foto ocupa toda la mitad izquierda de la sección y se desvanece hacia todos los bordes; los dolores flotan encima como mensajes */
.frases4 { overflow: hidden; }
.msj4 { position: relative; overflow: hidden; --tope: var(--gris); --tope-alto: 0px; }
.frases4 .h2 { position: relative; z-index: 4; font-size: clamp(2.2rem, 4.6vw, 4.05rem); text-align: center; }  /* 15% más chico que los demás títulos, centrado sobre la foto */
@media (max-width: 600px) { .frases4 .h2 { font-size: min(9vw, 2.5rem); text-align: left; } }  /* celular: deja espacio a la derecha para la flecha */
/* flecha azul claro que viene desde el borde derecho y empuja el título hasta su lugar al bajar (main.js mueve --empuje) */
.frases4__empuja { position: relative; display: inline-block; translate: var(--empuje, 0px) 0; will-change: translate; }
.frases4__empuja::after {
  content: ""; position: absolute; top: 50%; left: calc(100% + .22em); width: 100vw; height: .88em; translate: 0 -50%;
  background: var(--azul-hover); clip-path: polygon(0 50%, .66em 0, .66em 24%, 100% 24%, 100% 76%, .66em 76%, .66em 100%);
}
@media (min-width: 901px) {
  .frases4__in { min-height: clamp(600px, 52vw, 800px); }
  .frases4__in > div:first-child { align-self: start; }
  .msj4 { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; container-type: size; }
  /* arriba continúa el fundido desde la sección anterior */
  .msj4 { --tope: var(--fundido-de, var(--gris)); --tope-alto: var(--fundido-alto, 0px); }
  .frases4__txt { position: relative; z-index: 4; }
  .msj4__foto { width: max(100cqw, 100cqh); height: auto; }
  /* el título sube y la foto baja un poco, para que el título no choque con el celular */
  .frases4 { padding-top: clamp(36px, 3.6vw, 52px); padding-bottom: clamp(20px, 2.2vw, 32px); }
  .frases4 .msj4__foto { top: calc(50% + 56px); }
}
/* degradado hacia el gris de la sección en los cuatro bordes (por encima de la foto y debajo de los mensajes) */
.msj4::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--gris) 0%, rgba(203, 210, 216, 0) 13%, rgba(203, 210, 216, 0) 72%, var(--gris) 97%),
    linear-gradient(180deg, var(--tope) 0, color-mix(in srgb, var(--tope) 55%, var(--gris)) calc(var(--tope-alto) * .3), color-mix(in srgb, var(--tope) 18%, var(--gris)) calc(var(--tope-alto) * .65), var(--gris) var(--tope-alto), var(--gris) 70px, rgba(203, 210, 216, .85) 120px, rgba(203, 210, 216, 0) 260px),  /* arriba: tapa el borde de la foto y se desvanece lento */
    linear-gradient(0deg, var(--gris) 0%, rgba(203, 210, 216, 0) 20%);
  /* los bordes laterales empiezan bajo el fundido superior, para que este quede parejo de lado a lado */
  background-size: 100% calc(100% - var(--tope-alto)), 100% 100%, 100% 100%;
  background-position: 0 var(--tope-alto), 0 0, 0 0;
  background-repeat: no-repeat;
}
/* foto: mano con celular (cuadrada); la pantalla blanca se cubre con una pantalla oscura */
.msj4__foto { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 1; translate: -50% -50%; }
.msj4__foto img { display: block; width: 100%; height: 100%; }
.msj4__pantalla { position: absolute; left: 31.6%; top: 17.9%; width: 29.1%; height: 61.9%; border-radius: 11.8% / 5.6%; background: #0D1014; overflow: hidden; }
.msj4__pantalla img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.msj4__notch { position: absolute; left: 38.4%; top: 17.9%; width: 15.5%; height: 2.5%; border-radius: 0 0 14px 14px / 0 0 100% 100%; background: #0A0A0B; }

/* grupos de mensajes: tarjeta de vidrio con burbujas oscuras, como capturas de chat */
.msj4__grupo {
  position: absolute; z-index: 3; display: grid; justify-items: start; gap: 6px; max-width: 54%; padding: 10px; border-radius: 14px;
  background: rgba(240, 243, 246, .62); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 14px 30px -16px rgba(11, 26, 52, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); rotate: var(--r, 0deg);
}
.msj4__b { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 7px 10px 7px 12px; border-radius: 11px; background: #1E2228; color: #F2F4F7; font-size: clamp(.74rem, .95vw, .9rem); line-height: 1.32; }
.msj4__grupo:nth-child(2) { left: 7%; top: 24%; --r: -2deg; }
.msj4__grupo:nth-child(3) { right: 10%; top: 30%; --r: 2deg; }
.msj4__grupo:nth-child(4) { left: 5%; top: 45%; --r: 1deg; }
.msj4__grupo:nth-child(5) { right: 9%; top: 50%; --r: -1.5deg; }
.msj4__grupo:nth-child(6) { left: 8%; top: 67%; --r: -1deg; }
.msj4__grupo:nth-child(7) { right: 10%; top: 66%; --r: 1.5deg; }
/* los mensajes flotan suavemente, cada uno a su ritmo; al pasar el mouse se enderezan, crecen un poco y se pintan de azul */
@keyframes msj4-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.frases4.in .msj4__grupo { animation: msj4-flota var(--f, 5s) ease-in-out var(--fd, 0s) infinite; }
.msj4__grupo:nth-child(2) { --f: 5.2s; --fd: -.4s; }
.msj4__grupo:nth-child(3) { --f: 4.6s; --fd: -2.1s; }
.msj4__grupo:nth-child(4) { --f: 5.8s; --fd: -1.2s; }
.msj4__grupo:nth-child(5) { --f: 4.9s; --fd: -3s; }
.msj4__grupo:nth-child(6) { --f: 5.5s; --fd: -.9s; }
.msj4__grupo:nth-child(7) { --f: 5s; --fd: -2.6s; }
.frases4.listo .msj4__grupo { transition: scale .35s var(--ease-out), rotate .35s var(--ease-out), box-shadow .35s, background-color .35s; }
.msj4__b { transition: background-color .3s; }
@media (hover: hover) {
  .frases4.listo .msj4__grupo:hover { z-index: 5; scale: 1.06; rotate: 0deg; background: rgba(255, 255, 255, .8); box-shadow: 0 22px 40px -18px rgba(0, 81, 160, .5); }
  .frases4.listo .msj4__grupo:hover .msj4__b { background: var(--azul); }
}

/* texto empático */
.frases4__txt { display: grid; gap: 16px; }
.frases4__tit { font: 400 clamp(1.9rem, 3vw, 2.7rem)/1 var(--f-titulo); text-transform: uppercase; color: var(--negro); text-align: center; }
.frases4__txt p { font-size: clamp(.98rem, 1.12vw, 1.06rem); line-height: 1.62; color: var(--tinta); }

/* entrada: los mensajes llegan uno tras otro, como notificaciones */
.msj4__grupo { transition: opacity .5s var(--ease-out) calc(var(--i) * 260ms + .2s), translate .7s cubic-bezier(.2, 1.3, .35, 1) calc(var(--i) * 260ms + .2s), scale .7s cubic-bezier(.2, 1.3, .35, 1) calc(var(--i) * 260ms + .2s); }
.js .frases4:not(.in) .msj4__grupo { opacity: 0; translate: 0 16px; scale: .92; }
.frases4__txt > * { transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.frases4__txt > :nth-child(1) { transition-delay: .3s; }
.frases4__txt > :nth-child(2) { transition-delay: .6s; }
.frases4__txt > :nth-child(3) { transition-delay: .7s; }
.frases4__txt > :nth-child(4) { transition-delay: .8s; }
.js .frases4:not(.in) .frases4__txt > * { opacity: 0; transform: translateY(18px); }

@media (max-width: 900px) {
  .frases4__in { grid-template-columns: 1fr; }
  /* celular: los mensajes se ordenan en columna, alternando lados, con el celular de fondo */
  .msj4 { aspect-ratio: auto; display: grid; gap: 10px; padding: 64px 14px 22px; }
  .msj4__foto::after { content: ""; position: absolute; inset: 0; background: rgba(201, 205, 211, .35); }
  .msj4__grupo { position: relative; inset: auto !important; max-width: 86%; padding: 7px; gap: 4px; border-radius: 12px; }
  .msj4__grupo:nth-child(odd) { justify-self: end; }
  .msj4__b { font-size: min(3.1vw, .8rem); padding: 6px 8px 6px 9px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .frases4:not(.in) .msj4__grupo, .js .frases4:not(.in) .frases4__txt > * { opacity: 1; translate: none; scale: none; transform: none; }
}
/* ===== SECCIÓN 4 (fin) ===== */

/* ---------- Fundido entre secciones: el color de la sección anterior se desvanece al entrar a la siguiente (main.js define --fundido-de y --fundido-alto) ---------- */
.fundido::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: var(--fundido-alto, 90px); pointer-events: none;
  background: linear-gradient(180deg, var(--fundido-de) 0%, color-mix(in srgb, var(--fundido-de) 55%, transparent) 30%, color-mix(in srgb, var(--fundido-de) 18%, transparent) 65%, transparent 100%);
}

/* ---------- Espacios reservados para fotos ---------- */
.ph {
  position: relative; width: 100%;
  background-color: var(--blanco);
  background-image:
    linear-gradient(var(--gris-claro) 1px, transparent 1px),
    linear-gradient(90deg, var(--gris-claro) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: -1px -1px;
  border: 1px solid var(--gris-linea);
}
.ph--land { aspect-ratio: 4 / 3; }
.ph--port { aspect-ratio: 9 / 16; width: min(100%, 22.5rem); justify-self: center; }
.ph--persona { aspect-ratio: 4 / 5; }
.ph__tag {
  position: absolute; left: 12px; top: 12px;
  padding: 4px 8px;
  background: var(--blanco); border: 1px solid var(--gris-linea);
  font-family: var(--f-etiqueta); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: .08em; text-transform: uppercase; color: #5A6878;
}
img.ph-foto { object-fit: cover; }

/* ---------- Servicios: tablero con scroll (escritorio) y mazo de tarjetas (celular) ---------- */
.srv2 { padding-bottom: clamp(56px, 7vw, 104px); }
.srv2__head { text-align: center; }
.srv2__head .h2 { color: var(--azul); margin-bottom: clamp(24px, 3vw, 40px); }
.srv2 .ph { border: 0; }
/* zona de scroll: su alto define cuánto hay que bajar para recorrer los 4 servicios */
.zona { position: relative; height: calc(100vh + 95vh + 3 * 150vh); }
.tablero {
  --tab-h: min(36rem, calc(100vh - var(--header-h) - 40px));
  position: sticky; top: calc(var(--header-h) + max(16px, (100vh - var(--header-h) - var(--tab-h)) / 2));
  transform: translateZ(0); will-change: transform; backface-visibility: hidden;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 3.5vw, 64px); height: var(--tab-h);
}

/* ---------- Menú (escritorio) ---------- */
.menu-srv { position: relative; display: flex; flex-direction: column; justify-content: center; padding-left: 28px; }
.menu-srv__riel { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gris-claro); }
.menu-srv__marca { position: absolute; left: -1px; top: 0; width: 4px; background: var(--gris-linea); transition: transform .6s var(--ease), height .6s var(--ease); }
.menu-srv__marca i { position: absolute; inset: 0 0 auto; height: calc(var(--avance, 0) * 100%); background: var(--azul); }
.tab {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline;
  width: 100%; padding: clamp(10px, 1.4vw, 18px) 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit;
}
.tab__n { font: 600 .8125rem/1 var(--f-etiqueta); letter-spacing: .08em; color: var(--contorno); transition: color .4s; }
.tab__nombre {
  font-family: var(--f-titulo); text-transform: uppercase; font-size: clamp(2rem, min(3.9vw, 8vh), 3.6rem); line-height: .95;
  color: transparent; -webkit-text-stroke: 1.5px var(--contorno);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s, transform .6s var(--ease);
}
.tab:hover .tab__nombre { -webkit-text-stroke-color: var(--marino); }
.tab[aria-selected="true"] .tab__nombre { color: var(--negro); -webkit-text-stroke-color: var(--negro); transform: translateX(6px); }
.tab[aria-selected="true"] .tab__n { color: var(--azul-texto); }
.pista { margin-top: 24px; font: 600 .75rem/1.4 var(--f-etiqueta); letter-spacing: .08em; text-transform: uppercase; color: var(--contorno); transition: opacity .4s, visibility .4s; }
.pista.oculta { opacity: 0; visibility: hidden; }

/* ---------- Escenario (escritorio) ---------- */
.escenario { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--tarjeta); color: var(--marino); box-shadow: var(--tarjeta-sombra); }
.escenario__num {
  position: absolute; right: -0.04em; bottom: -0.2em; z-index: 0;
  font-family: var(--f-titulo); font-size: clamp(12rem, 22vw, 20rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(11, 26, 52, .09); pointer-events: none;
}
.escenario::after {
  content: ""; position: absolute; z-index: 5; top: -10%; bottom: -10%; left: -25%; width: 150%;
  background: var(--azul); transform: translateX(-110%) skewX(-15deg); pointer-events: none;
}
.escenario.barre::after { animation: barrido 1.1s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes barrido { to { transform: translateX(110%) skewX(-15deg); } }

.panel {
  position: absolute; inset: 0; z-index: 1;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3vw, 48px); align-items: center;
  padding: clamp(22px, 2.6vw, 40px); visibility: hidden;
}
.panel.on { visibility: visible; }
@media (min-width: 901px) { #p-2 { padding-block: 12px; } #p-1, #p-3, #p-4 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-block: 24px; } }
.panel__cab { display: none; }
.panel__media { position: relative; display: grid; place-items: center; height: 100%; perspective: 900px; }
.tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; width: 100%; height: 100%; display: grid; place-items: center; }

.srv2 .ph {
  position: relative; width: 100%;
  background-color: var(--blanco);
  background-image: linear-gradient(var(--gris-claro) 1px, transparent 1px), linear-gradient(90deg, var(--gris-claro) 1px, transparent 1px);
  background-size: 18px 18px; background-position: -1px -1px;
  box-shadow: 0 24px 44px -24px rgba(11, 26, 52, .45);
}
.srv2 .ph--land { aspect-ratio: 4 / 3; }
.srv2 .ph--port { aspect-ratio: 9 / 16; width: auto; height: min(30rem, 100%); max-width: 100%; }
/* escritorio: collage vertical que llena el alto de la tarjeta */
.collage-marco { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; }
.collage { display: block; height: 90%; width: auto; max-width: 104%; object-fit: contain; }
/* ---------- Vitrina de sitios web (tarjeta 01): un diseño a la vez ---------- */
.vitrina { position: relative; width: 100%; height: 100%; min-height: 15rem; perspective: 1200px; }
.vitrina__item {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  opacity: 0; transform: translateX(40px) scale(.92) rotateY(-12deg);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.vitrina__item.on { opacity: 1; transform: none; }
.vitrina__item.sale { opacity: 0; transform: translateX(-40px) scale(.92) rotateY(12deg); }
.vitrina__item img {
  display: block; width: 112%; max-width: none; max-height: 78%; object-fit: contain;
  filter: drop-shadow(0 28px 26px rgba(11, 26, 52, .32)) drop-shadow(0 6px 8px rgba(11, 26, 52, .18));
}
.vitrina__item figcaption {
  padding: 6px 14px; border-radius: 999px; background: var(--marino); color: var(--blanco);
  font: 600 .75rem/1.2 var(--f-etiqueta); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 10px 20px -10px rgba(11, 26, 52, .5);
}

/* ---------- Ilustración animada de campañas (tarjeta 03) ---------- */
.graf { position: relative; width: 100%; height: 100%; min-height: 15rem; container-type: size; font-family: var(--f-texto); }
.graf__panel {
  position: absolute; left: 9%; right: 9%; top: 24%; bottom: 19%;
  display: flex; flex-direction: column; gap: 4cqh; padding: 5cqh 6cqw 0;
  background: var(--blanco); border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 46px -24px rgba(11, 26, 52, .42), 0 6px 14px -8px rgba(11, 26, 52, .14);
}
.graf__cab { display: grid; gap: .3cqh; }
.graf__etq { font: 600 clamp(.7rem, 3.4cqw, .9rem)/1.2 var(--f-etiqueta); letter-spacing: .06em; text-transform: uppercase; color: #6B7A8F; }
.graf__fila { display: flex; align-items: center; gap: 3cqw; }
.graf__num { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(1.9rem, 13cqw, 3.4rem); line-height: 1; color: var(--marino); font-variant-numeric: tabular-nums; }
.graf__sube {
  display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: 999px;
  background: #E3F7EA; color: #138A44; font: 700 clamp(.7rem, 3.4cqw, .9rem)/1 var(--f-texto); font-style: normal;
}
.graf__sube svg { width: .75em; height: .75em; }
.graf__chart { position: relative; flex: 1; width: 100%; min-height: 0; overflow: visible; }
.graf__grid path { stroke: #E6EAEE; stroke-width: 1; vector-effect: non-scaling-stroke; }
.graf__linea { fill: none; stroke: var(--azul); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.graf__punto {
  position: absolute; right: calc(6cqw - 6px); top: calc(5cqh + 25%); width: 12px; height: 12px; border-radius: 50%;
  background: var(--azul); box-shadow: 0 0 0 5px rgba(0, 129, 255, .18);
}
.graf__barras { position: absolute; left: 6cqw; right: 6cqw; bottom: 0; height: 22%; display: flex; align-items: flex-end; gap: 4%; opacity: .5; }
.graf__barras i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: #DCE7F7; transform-origin: bottom; }

.graf__clientes {
  position: absolute; right: 4%; bottom: 4%; display: flex; align-items: center; padding: 1.6cqh 3cqw 1.6cqh 2cqw;
  background: var(--blanco); border-radius: 999px;
  box-shadow: 0 18px 32px -18px rgba(11, 26, 52, .45), 0 4px 10px -6px rgba(11, 26, 52, .15);
}
.graf__av {
  display: grid; place-items: center; width: clamp(24px, 9cqw, 34px); aspect-ratio: 1; margin-left: -8px; border-radius: 50%;
  background: var(--c); color: #fff; border: 2px solid #fff; font: 700 clamp(.55rem, 2.6cqw, .7rem)/1 var(--f-etiqueta);
}
.graf__av:first-child { margin-left: 0; }
.graf__mas { margin-left: 2.4cqw; font-size: clamp(.62rem, 3cqw, .8rem); line-height: 1.2; color: var(--tinta-suave); }
.graf__mas b { color: var(--marino); }

.graf__logo { position: absolute; z-index: 2; display: grid; place-items: center; width: clamp(84px, 32cqw, 150px); aspect-ratio: 1; }
.graf__logo img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(11, 26, 52, .34)) drop-shadow(0 8px 8px rgba(11, 26, 52, .22)) drop-shadow(0 2px 2px rgba(11, 26, 52, .18));
}
.graf__logo--ig { left: -4%; top: 0; rotate: -11deg; }
.graf__logo--yt { right: -6%; top: 1%; rotate: 9deg; }
.graf__logo--in { left: -9%; top: 54%; rotate: -8deg; }
.graf__logo--fb { right: -8%; top: 40%; rotate: 11deg; }

/* animación: arranca cada vez que la tarjeta pasa al frente */
.panel.on .graf__linea { animation: graf-dibuja 1.6s .35s cubic-bezier(.6, 0, .2, 1) both; }
.panel.on .graf__area { animation: graf-aparece 1s 1.2s ease both; }
.panel.on .graf__punto { animation: graf-pop .5s 1.9s cubic-bezier(.3, 1.6, .5, 1) both, graf-pulso 2s 2.4s ease-in-out infinite; }
.panel.on .graf__barras i { animation: graf-crece .8s cubic-bezier(.2, .8, .2, 1) both; }
.panel.on .graf__barras i:nth-child(2) { animation-delay: .08s; }
.panel.on .graf__barras i:nth-child(3) { animation-delay: .16s; }
.panel.on .graf__barras i:nth-child(4) { animation-delay: .24s; }
.panel.on .graf__barras i:nth-child(5) { animation-delay: .32s; }
.panel.on .graf__barras i:nth-child(6) { animation-delay: .4s; }
.panel.on .graf__sube { animation: graf-pop .5s 1.6s cubic-bezier(.3, 1.6, .5, 1) both; }
.panel.on .graf__clientes { animation: graf-sube .7s 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.panel.on .graf__logo { animation: graf-pop .55s cubic-bezier(.3, 1.5, .5, 1) both, graf-flota 4.5s ease-in-out infinite; }
.panel.on .graf__logo--ig { animation-delay: .5s, 1.1s; }
.panel.on .graf__logo--yt { animation-delay: .65s, 1.9s; }
.panel.on .graf__logo--in { animation-delay: .8s, 1.5s; }
.panel.on .graf__logo--fb { animation-delay: .95s, 2.3s; }
@keyframes graf-dibuja { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes graf-aparece { from { opacity: 0; } }
@keyframes graf-pop { from { opacity: 0; transform: scale(.5); } }
@keyframes graf-crece { from { transform: scaleY(0); } }
@keyframes graf-sube { from { opacity: 0; transform: translateY(14px); } }
@keyframes graf-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes graf-pulso { 0%, 100% { box-shadow: 0 0 0 5px rgba(0, 129, 255, .18); } 50% { box-shadow: 0 0 0 10px rgba(0, 129, 255, 0); } }

.srv2 .ph__tag {
  position: absolute; left: 12px; top: 12px; padding: 4px 8px; background: var(--blanco); border: 1px solid var(--gris-linea);
  font: 600 .6875rem/1.2 var(--f-etiqueta); letter-spacing: .08em; text-transform: uppercase; color: #5A6878;
}

.panel__txt { display: grid; gap: 14px; align-content: center; }
.panel.entra .panel__txt > * { animation: subir .7s var(--ease) both; animation-delay: calc(.35s + var(--i, 0) * .07s); }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel__lema { font-size: clamp(1.02rem, 1.35vw, 1.28rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--negro); }
.lista li {
  position: relative; padding: 6px 0 6px 28px; border-bottom: 1px solid rgba(11, 26, 52, .12);
  color: var(--tinta-suave); font-size: .9rem; line-height: 1.4;
}
.lista li::before { content: ""; position: absolute; left: 0; top: calc(6px + .7em - 8px); width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.6 7.1 13.6 15.2 4.6' fill='none' stroke='%230081FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.cta {
  justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 1.4em; border: 3px solid var(--azul); border-radius: 45px;
  background: var(--blanco); color: var(--marino);
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: all .3s;
}
.cta:hover, .cta:focus-visible { background: var(--azul); color: var(--blanco); transform: scale(1.06); }
.cta svg { width: 1.15em; height: 1.15em; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ctas .cta { padding: 0 1.2em; }
.ver-planes {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5em; border: 3px solid var(--azul); border-radius: 45px;
  background: var(--azul); color: var(--blanco); font-weight: 700; font-size: .98rem; cursor: pointer;
  transition: all .3s;
}
.ver-planes:hover, .ver-planes:focus-visible { background: #006FDB; border-color: #006FDB; transform: scale(1.06); }

/* ---------- Planes: la tarjeta crece y muestra 4 planes ---------- */
/* solo el documento: si también se bloquea body, el tablero fijo (sticky) pierde su posición y salta */
html.planes-on { overflow: hidden; }
.planes { position: fixed; inset: 0; z-index: 200; }
.planes[hidden] { display: none; }
.planes__velo { position: absolute; inset: 0; background: rgba(11, 26, 52, .55); opacity: 0; transition: opacity .5s; }
.planes.visible .planes__velo { opacity: 1; }
.planes__caja {
  position: absolute; inset: max(16px, 3vh) max(16px, 3vw, (100vw - 1440px) / 2);
  display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); grid-template-rows: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px); padding: clamp(18px, 2.4vw, 36px);
  background: var(--tarjeta); color: var(--marino); border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.planes__media { position: relative; display: grid; place-items: center; height: 100%; min-height: 0; perspective: 900px; }
.planes__media .tilt { will-change: transform; }
.planes__pista { display: none; }
.planes__lado { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 18px); min-height: 0; }
.planes__cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.planes__etq { display: block; margin-bottom: 6px; font: 600 .75rem/1 var(--f-etiqueta); letter-spacing: .08em; text-transform: uppercase; color: var(--azul-texto); }
.planes__tit { font-family: var(--f-titulo); text-transform: uppercase; font-size: clamp(1.7rem, min(3vw, 6vh), 2.7rem); line-height: 1; color: var(--negro); }
.planes__cerrar {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--marino); color: var(--blanco); cursor: pointer; transition: background .3s, transform .3s;
}
.planes__cerrar:hover, .planes__cerrar:focus-visible { background: var(--azul); transform: rotate(90deg); }
.planes__cerrar svg { width: 16px; height: 16px; }
.planes__cab, .plan { opacity: 0; transform: translateY(18px); transition: opacity .3s, transform .3s; }
.planes.visible .planes__cab, .planes.visible .plan {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.2s + var(--i, 0) * .06s);
}
.planes__grid {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); align-content: start;
  padding: 2px 4px 4px 2px; scrollbar-width: thin;
}

/* tarjeta de plan (estilo de la referencia) */
.plan {
  position: relative; display: flex; flex-direction: column; gap: clamp(5px, 1vh, 9px);
  padding: clamp(14px, 2.6vh, 24px) clamp(16px, 1.6vw, 24px);
  border-radius: 16px; background: #050A18; color: var(--blanco);
  box-shadow: 0 20px 34px -20px rgba(0, 0, 0, .6);
}
.plan--dest { box-shadow: inset 0 0 0 2px var(--azul), 0 20px 34px -20px rgba(0, 0, 0, .6); }
.plan__sello {
  position: absolute; top: clamp(12px, 2.2vh, 20px); right: clamp(14px, 1.4vw, 20px);
  padding: 4px 10px; border-radius: 999px; background: var(--azul); color: var(--blanco);
  font: 600 .66rem/1.2 var(--f-etiqueta); letter-spacing: .06em; text-transform: uppercase;
}
.plan__nivel { font-weight: 700; font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.2; color: #8E97A8; }
.plan__precio { font-weight: 800; font-size: clamp(1.8rem, min(2.9vw, 6.4vh), 2.8rem); line-height: 1; letter-spacing: -.035em; }
.plan__precio small { white-space: nowrap; margin-left: 6px; font-size: .36em; font-weight: 600; letter-spacing: 0; color: #8E97A8; }
.plan__desc { font-size: .86rem; line-height: 1.45; color: #9AA3B2; }
.plan__lista { display: grid; gap: clamp(3px, .8vh, 7px); margin-top: 2px; }
.plan__lista li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; line-height: 1.3; color: #C9D0DA; }
.plan__lista li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.6 7.1 13.6 15.2 4.6' fill='none' stroke='%230081FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 42px;
  border-radius: 8px; background: var(--azul); color: var(--blanco);
  font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .3s, transform .3s;
}
.plan__lista { margin-bottom: clamp(10px, 1.8vh, 16px); }
.plan__btn:hover, .plan__btn:focus-visible { background: #1A8FFF; transform: translateY(-2px); }
.planes__media .vitrina__item img { width: 100%; }
.plan__lista li.plan__suma { font-size: .78rem; font-weight: 600; letter-spacing: .01em; color: #6FB6FF; }
.plan__lista li.plan__suma::before { display: none; }
.plan__desde { display: block; margin-bottom: 4px; font-size: .36em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--azul-hover); }  /* todos los precios son referenciales: "desde" en azul para que se note */
.planes__pie { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid rgba(11, 26, 52, .14); font-size: .8rem; line-height: 1.45; color: var(--tinta-suave); }
.planes__pie b { color: var(--marino); }
.planes__cond { font-size: .74rem; color: #5A6878; }
.planes__pie { opacity: 0; transition: opacity .3s; }
.planes.visible .planes__pie { opacity: 1; transition: opacity .6s .6s; }
/* aviso de que hay más planes abajo cuando no caben */
.planes__grid { mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.planes__grid.al-final { mask-image: none; }
.planes__caja { will-change: clip-path; }
.planes.cerrando .planes__cab, .planes.cerrando .plan, .planes.cerrando .planes__pie, .planes.cerrando .planes__pista {
  opacity: 0 !important; transition: opacity .12s linear !important; transition-delay: 0s !important;
}
.planes.cerrando .planes__grid { mask-image: none; }
.planes.cerrando .planes__media { opacity: 0; transition: opacity .1s linear; }
.plan__entrega {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  padding: 4px 10px; border-radius: 999px; background: rgba(0, 129, 255, .14); color: #6FB6FF;
  font-size: .76rem; font-weight: 600; line-height: 1.2;
}
.plan__entrega svg { width: 13px; height: 13px; }

/* notebook y escritorio: imagen en miniatura junto al título y los 4 planes en una fila */
@media (min-width: 901px) {
  .planes__caja {
    grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "media cab" "grid grid" "pie pie";
    column-gap: 20px; row-gap: clamp(12px, 2vh, 20px);
  }
  .planes__lado { display: contents; }
  .planes__cab { grid-area: cab; align-self: center; }
  .planes__grid { grid-area: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: safe center; }
  .planes__pie { grid-area: pie; }
  .planes__media {
    grid-area: media; width: 150px; height: auto; aspect-ratio: 16 / 9; overflow: hidden; clip-path: inset(0 round 14px);
    perspective: none; border-radius: 14px; transform-origin: 50% 50%;
    transition: background-color .4s, box-shadow .4s;
  }
  /* el contenido se dibuja al doble y se reduce, para que la miniatura se vea igual que la imagen grande */
  .planes__media .tilt { width: 300px; height: 169px; zoom: .5; flex: none; }
  .planes__media .vitrina, .planes__media .graf { min-height: 0; }
  .planes.listo .planes__media { background-color: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(11, 26, 52, .08); }
}
/* notebook de poca altura: los 4 planes caben sin bajar */
@media (min-width: 901px) and (max-height: 760px) {
  .planes__caja { inset-block: 12px; padding-block: 18px; }
  .planes__lado { gap: 10px; }
  .planes__tit { font-size: 1.9rem; }
  .plan { gap: 3px; padding: 10px 16px 11px; }
  .planes__pie { padding-top: 7px; }
  .planes__caja { row-gap: 10px; }
  .plan__precio { font-size: 2.1rem; }
  .plan__desc { font-size: .82rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .plan__lista { gap: 2px; margin-bottom: 5px; }
  .plan__lista li { font-size: .84rem; }
  .plan__btn { min-height: 38px; }
}

/* ---------- Celular con chat ---------- */
.movil { position: relative; height: min(100%, 34rem); aspect-ratio: 326 / 646; width: auto; max-width: 100%; container-type: inline-size; }
.movil__marco { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); }
.chat {
  position: absolute; z-index: 1; top: 2.8%; bottom: 2.6%; left: 6.6%; right: 6.3%;
  display: flex; flex-direction: column; background: #0B141A; color: #E9EDEF;
  border-radius: 11.5cqw; overflow: hidden; font-size: clamp(9px, 4.1cqw, 15px); line-height: 1.38;
}
.chat__bar { display: flex; align-items: center; gap: .75em; padding: 3.4em 1em .8em; background: #202C33; }
.chat__avatar { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; flex: none; background: var(--azul); color: var(--negro); font: 800 .85em/1 var(--f-etiqueta); }
.chat__who { display: grid; line-height: 1.25; }
.chat__who b { font-weight: 600; font-size: 1.05em; }
.chat__who small { color: #8696A0; font-size: .82em; }
.chat__bot { display: inline-flex; align-items: center; gap: .3em; color: #53BDEB !important; }
.chat__bot svg { width: .9em; height: .9em; }
/* los mensajes nuevos empujan a los anteriores hacia arriba, como un chat real */
.chat__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .4em; padding: 1.1em .85em; overflow: hidden; }
.chat__body > li:not(.ver) { display: none; }
.chat__body > li.ver { animation: chat-entra .35s var(--ease) both; }
@keyframes chat-entra { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.msg { max-width: 86%; padding: .45em .65em .5em; border-radius: .55em; }
.bot-tag { display: block; margin-bottom: .2em; font-size: .7em; font-weight: 600; letter-spacing: .02em; color: #9FE3C9; }
.msg--prod { padding: .35em; }
.prod { display: flex; gap: .6em; align-items: center; padding: .4em; background: rgba(0, 0, 0, .18); border-radius: .45em; }
.prod__img { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: .4em; background: #E9EDEF; flex: none; }
.prod__img svg { width: 70%; height: 70%; }
.prod__txt { display: grid; line-height: 1.25; }
.prod__txt b { font-size: .92em; }
.prod__txt small { font-size: .74em; color: #CFE0DB; }
.prod__txt em { font-style: normal; font-weight: 700; font-size: .95em; color: #fff; }
.qr-fila { align-self: flex-end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35em; max-width: 92%; }
.qr { padding: .35em .75em; border-radius: 999px; border: 1px solid #53BDEB; color: #53BDEB; font-size: .8em; font-weight: 600; }
.qr--elegida { background: #53BDEB; color: #0B141A; }
.pago { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .45em; padding: .5em .7em; border-radius: .45em; background: #25D366; color: #0B141A; font-weight: 700; font-size: .9em; }
.pago svg { width: 1em; height: 1em; }
.msg--ok { align-self: center; display: flex; gap: .5em; align-items: flex-start; max-width: 94%; padding: .55em .7em; background: #103529; border: 1px solid #1E6B4C; border-radius: .6em; font-size: .9em; }
.msg--ok b { color: #25D366; }
.ok__ico { width: 1.2em; height: 1.2em; flex: none; margin-top: .1em; }
.ok__ico svg { width: 100%; height: 100%; }
.escribiendo { align-self: flex-end; display: flex; gap: .25em; padding: .6em .75em; background: #005C4B; border-radius: .55em; border-top-right-radius: 0; }
.escribiendo i { width: .4em; height: .4em; border-radius: 50%; background: #CFE0DB; animation: puntito 1s infinite ease-in-out; }
.escribiendo i:nth-child(2) { animation-delay: .15s; }
.escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes puntito { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.msg time { float: right; margin: .45em 0 -.3em .8em; font-size: .74em; color: #A5B3BB; }
.msg--in { align-self: flex-start; background: #202C33; border-top-left-radius: 0; }
.msg--out { align-self: flex-end; background: #005C4B; border-top-right-radius: 0; }
.msg--out time { color: #CFE0DB; }
.msg--in + .msg--out, .msg--out + .msg--in { margin-top: .5em; }



/* ==========================================================
   CELULAR: mazo de tarjetas
   ========================================================== */
@media (max-width: 900px) {
  .zona { height: calc(100svh + 3.4 * 70svh); }
  .tablero {
    top: calc(var(--header-h) + 8px);
    grid-template-columns: 1fr; gap: 0;
    height: calc(100svh - var(--header-h) - 14px);
    z-index: 1;
  }
  .menu-srv { display: none; }
  .escenario { background: none; overflow: visible; isolation: auto; box-shadow: none; border-radius: 0; }
  .escenario::after, .escenario__num { display: none; }

  /* espacio arriba para que asomen las tarjetas de atrás */
  .panel {
    top: 62px; inset-inline: 0; bottom: 22px;
    display: flex; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 18px 18px 20px; visibility: visible;
    background: var(--tarjeta); color: var(--marino); border-radius: 24px; overflow: hidden;
    box-shadow: inset 0 8px 14px -8px rgba(11, 26, 52, .14), 0 14px 28px -16px rgba(11, 26, 52, .30);
    contain: layout paint;
    transform-origin: 50% 0;
    will-change: transform;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    transition: transform .6s cubic-bezier(.22, .8, .2, 1);
  }
  .panel__cab { display: flex; align-items: baseline; gap: 10px; order: -2; margin-top: -6px; }
  .panel__cab span { font: 600 .75rem/1 var(--f-etiqueta); letter-spacing: .08em; color: var(--azul-texto); }
  .panel__cab h3 { font-family: var(--f-titulo); text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: var(--negro); }
  .panel__media { order: -1; flex: 1 1 auto; min-height: 96px;  /* se achica para que entren los 5 beneficios */ height: auto; perspective: none; }
  .tilt { transform: none !important; }
  .srv2 .ph--land, .srv2 .ph--port { aspect-ratio: auto; width: 100%; height: 100%; box-shadow: none; }
  .panel__txt { display: contents; }
  .panel__lema { font-size: 1.05rem; }
  .lista li { font-size: .9rem; padding-block: 6px; }
  .cta { align-self: flex-start; min-height: 52px; padding: 0 1.3em; font-size: .95rem; }
  /* celular: "Ver planes" + botón redondo de WhatsApp */
  .ctas { flex-wrap: nowrap; }
  .ver-planes { flex: 1; min-height: 50px; font-size: .95rem; }
  .ctas .cta { width: 50px; min-height: 50px; padding: 0; flex: none; }
  .ctas .cta span { display: none; }
  .ctas .cta svg { width: 1.4em; height: 1.4em; }

  /* planes a pantalla completa: imagen arriba y planes que se deslizan de lado */
  .planes__caja { inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px 0 20px; border-radius: 0; overflow-y: auto; overscroll-behavior: contain; }
  .planes__lado { display: contents; }
  .planes__cab { order: 0; padding-inline: 18px; }
  .planes__media { order: 1; flex: 0 0 auto; height: 17svh; margin-inline: 18px; perspective: none; }
  .planes__grid {
    order: 2; flex: none; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; padding: 2px 18px 6px; scrollbar-width: none; align-items: stretch;
  }
  .planes__grid::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: center; overflow-y: auto; padding: 16px 18px; gap: 6px; }
  .plan__precio { font-size: 2.1rem; }
  .plan__desc { font-size: .82rem; line-height: 1.4; }
  .plan__lista { gap: 4px; }
  .plan__lista li { font-size: .84rem; }
  .planes__grid > .plan { max-height: none; overflow: visible; }
  .planes.visible .plan { opacity: var(--foco, 1); }
  .planes.listo .plan { transition: opacity .2s linear, transform .7s var(--ease); transition-delay: 0s; }
  .planes__pie { order: 3; margin-inline: 18px; padding-top: 8px; font-size: .68rem; line-height: 1.4; }
  .planes__cond { font-size: .64rem; }
  .planes__grid { mask-image: none; }
  .planes__pista { display: block; order: 4; text-align: center; font: 600 .7rem/1 var(--f-etiqueta); letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-suave); }

  /* en celular, solo el chat (sin el marco del teléfono) */
  .movil { width: 100%; height: 100%; aspect-ratio: auto; container-type: normal; }
  /* celular: el collage de reels se ajusta al alto de su espacio y no tapa el texto de abajo */
  .collage-marco { position: absolute; inset: 0; min-height: 0; overflow: hidden; }
  .collage-marco picture { display: block; width: 100%; height: 100%; }
  .collage { width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
  .graf { min-height: 0; }
  .vitrina { min-height: 0; }
  .vitrina__item { gap: 10px; }
  .vitrina__item img { width: 100%; max-height: 80%; }
  .vitrina__item figcaption { font-size: .68rem; padding: 5px 11px; }
  .graf__panel { left: 14%; right: 14%; top: 10%; bottom: 20%; border-radius: 16px; gap: 2.5cqh; padding: 5cqh 7cqw 0; }
  .graf__etq { font-size: .78rem; }
  .graf__num { font-size: clamp(2.1rem, 13cqw, 3rem); }
  .graf__sube { font-size: .85rem; }
  .graf__linea { stroke-width: 4; }
  .graf__punto { width: 14px; height: 14px; }
  .graf__logo { width: clamp(40px, 15cqw, 60px); }  /* celular: logos más chicos para que no tapen el título ni el gráfico */
  .graf__logo--ig { left: 2%; top: 4%; }
  .graf__logo--yt { right: 2%; top: 3%; }
  .graf__logo--in { left: 1%; top: 58%; }
  .graf__logo--fb { right: 1%; top: 46%; }
  .movil__marco { display: none; }
  .chat { inset: 0; border-radius: 14px; font-size: 13px; }
  .srv2 .ph--land, .srv2 .ph--port { border-radius: 14px; overflow: hidden; }
  .chat__bar { padding: .6em .9em; }

}
/* ---------- Formulario: confirmación y error sin cambiar de página ---------- */
.form[hidden], .form-ok[hidden] { display: none; }
.form__fallo { font-size: .9375rem; line-height: 1.5; color: #FF9B9B; text-align: center; }
.form__fallo[hidden] { display: none; }
.form__fallo a { color: var(--blanco); font-weight: 600; text-underline-offset: 3px; }
.form-ok { display: grid; justify-items: start; gap: 14px; width: min(100%, 34rem); outline: none; animation: ok-entra .6s var(--ease-out) both; }
.form-ok__t { margin-bottom: 4px; }
.form-ok p { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--gris); }
.form-ok p:first-of-type { color: var(--blanco); }
.form-ok a { color: var(--azul); font-weight: 600; text-underline-offset: 3px; }
.form-ok a:hover { color: var(--azul-hover); }
.form-ok__check { width: 64px; height: 64px; fill: none; stroke: var(--azul); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-ok__check * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ok-traza .7s var(--ease-out) forwards; }
.form-ok__check path { animation-delay: .45s; }
@keyframes ok-traza { to { stroke-dashoffset: 0; } }
@keyframes ok-entra { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; z-index: 120; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 20px 22px 18px;
  border-radius: 18px; background: var(--blanco); color: var(--marino);
  box-shadow: 0 18px 50px -18px rgba(11, 26, 52, .45), 0 0 0 1px rgba(11, 26, 52, .06);
  opacity: 0; transform: translateY(24px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.cookies[hidden] { display: none; }
.cookies.on { opacity: 1; transform: none; }
.cookies__t { display: flex; align-items: center; gap: 8px; font: 700 1.05rem/1.2 var(--f-texto); color: var(--negro); }
.cookies__t svg { width: 22px; height: 22px; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cookies__t svg circle { fill: var(--azul); stroke: none; }
.cookies__txt { font-size: .9rem; line-height: 1.55; color: var(--tinta); }
.cookies__txt a { color: var(--azul-texto); text-underline-offset: 3px; }
.cookies__acciones { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.cookies__no { padding: 6px 0; border: 0; background: none; font: 500 .875rem var(--f-texto); color: var(--marino); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookies__no:hover { color: var(--azul-texto); }
.cookies__si { padding: 10px 24px; border: 0; border-radius: 999px; background: var(--azul); font: 600 .9rem var(--f-texto); color: var(--blanco); cursor: pointer; transition: background-color .2s, transform .2s; }
.cookies__si:hover { background: var(--azul-hover); transform: translateY(-1px); }
.cookies button:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
.footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: #A8B2BD; cursor: pointer; transition: color .2s; }
.footer__cookies:hover { color: var(--blanco); }
.footer__cookies[hidden] { display: none; }
@media (max-width: 900px) {
  .cookies { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; padding: 16px 18px 14px; }
  .cookies-abierto .wa-float { opacity: 0; pointer-events: none; }
  /* "¡Mensaje enviado!" en dos líneas: más aire entre ellas */
  .form-ok .form-ok__t { line-height: 1.02; }
}
@media (prefers-reduced-motion: reduce) {
  .cookies { transition: none; }
  .form-ok, .form-ok__check * { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Celular: entradas de la mano (Propósito) y del título de ¿Quiénes somos? ---------- */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  /* propósito: la mano parte escondida (sin aparecer y volver a esconderse) y entra solo deslizándose, sin fundido */
  .prop__foto img { translate: var(--pfx, -100%) 0; }
  .js .prop:not(.in) .prop__foto { opacity: 1; }
  /* ¿Quiénes somos?: el título parte fuera de la pantalla y entra nítido de izquierda a derecha */
  html.js .nosotros__txt .h2 { transform: translateX(var(--nos-x, -100vw)); opacity: 1; }
}

/* ---------- Ajustes solo para celular ---------- */
@media (max-width: 900px) {
  /* propósito: el texto azul es más chico en celular, así que usa el azul legible sobre blanco */
  .prop__txt strong { color: var(--azul-texto); }
  /* servicios: sin el botón redondo de WhatsApp; "Ver planes" centrado */
  .ctas { justify-content: center; }
  .ctas .cta { display: none; }
  .ver-planes { flex: 0 1 auto; min-width: 62%; }
  /* automatizaciones: el chat se puede recorrer con el dedo */
  .chat__body { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .chat__body::-webkit-scrollbar { display: none; }
  .chat__body > :first-child { margin-top: auto; }
  /* elige tu plan (campañas): el gráfico tiene más alto y se ve completo, con logos más chicos */
  .planes__media:has(.graf) { height: clamp(190px, 27svh, 240px); }
  .planes__media .graf__panel { left: 17%; right: 17%; top: 6%; bottom: 17%; gap: 2cqh; padding: 4cqh 5cqw 0; border-radius: 12px; }
  .planes__media .graf__etq { font-size: .62rem; }
  .planes__media .graf__num { font-size: clamp(1.5rem, 9cqw, 2.1rem); }
  .planes__media .graf__sube { font-size: .66rem; }
  .planes__media .graf__linea { stroke-width: 3; }
  .planes__media .graf__punto { width: 10px; height: 10px; }
  .planes__media .graf__logo { width: clamp(30px, 10cqw, 40px); }
  .planes__media .graf__logo--ig { left: 3%; top: 4%; }
  .planes__media .graf__logo--yt { right: 3%; top: 4%; }
  .planes__media .graf__logo--in { left: 3%; top: 56%; }
  .planes__media .graf__logo--fb { right: 3%; top: 50%; }
  .planes__media .graf__clientes { right: 18%; bottom: 2%; padding: 1cqh 2.4cqw 1cqh 1.6cqw; }
  .planes__media .graf__av { width: clamp(18px, 6cqw, 24px); font-size: .5rem; margin-left: -6px; }
  .planes__media .graf__mas { font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
  .escenario.barre::after { animation: none; }
  .panel.entra .panel__txt > * { animation: none; }
  .msg, .tilt, .tab__nombre, .panel { transition: none; }
  .panel.on .graf * { animation: none !important; }
  .planes__cab, .plan, .planes__velo { transition: none !important; }
}

/* ===== SECCIÓN 6 (inicio) ===== */
/* ---------- Cómo trabajamos: la tarjeta queda fija y cambia de paso al bajar (escritorio); tarjetas deslizables (celular) ---------- */
.pasos6 { padding-top: clamp(12px, 1.6vw, 24px); padding-bottom: 0; }
.p6 { position: relative; height: calc(100vh + 4 * 60vh); }
.p6__fijo {
  position: sticky; top: calc(var(--header-h) + 20px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, .85fr); gap: clamp(28px, 3.6vw, 52px); align-items: center;
  min-height: calc(100vh - var(--header-h) - 40px);
}
.p6__intro { display: grid; justify-items: center; width: fit-content; max-width: 100%; }  /* el botón queda centrado bajo el título */
.p6__intro .h2 { margin-bottom: 30px; font-size: clamp(2.6rem, 5.7vw, 5.6rem); line-height: .94; }
/* título en dos bloques: "¿CÓMO" el doble de grande y estirado hacia arriba, "TRABAJAMOS?" debajo, ambos del mismo ancho (main.js ajusta el tamaño de "¿CÓMO") */
.p6-tit span { display: block; width: max-content; white-space: nowrap; }
.p6-tit__como { font-size: 2em; line-height: .86; padding-top: .2em; transform: scaleY(1.2); transform-origin: 0 100%; }
.p6-tit__trab { margin-top: .28em; }
/* entrada: "¿CÓMO" cae desde arriba y "TRABAJAMOS?" sube desde abajo, encontrándose en su lugar */
.p6-tit__como { transition: transform 1.1s cubic-bezier(.22, 1.2, .36, 1) .1s, opacity .6s .1s; }
.p6-tit__trab { transition: transform 1.1s cubic-bezier(.22, 1.2, .36, 1) .3s, opacity .6s .3s; }
.js .p6-tit:not(.in) .p6-tit__como { transform: translateY(-70%) scaleY(1.2); opacity: 0; }
.js .p6-tit:not(.in) .p6-tit__trab { transform: translateY(120%); opacity: 0; }
.p6__intro .btn svg { width: 1.2em; height: 1.2em; }
.p6__pista { display: flex; align-items: center; gap: 8px; margin-top: 22px; font: 600 .75rem/1 var(--f-etiqueta); letter-spacing: .1em; text-transform: uppercase; color: var(--contorno); transition: opacity .4s; }
.p6__pista svg { width: 14px; height: 14px; animation: p6-baja 1.6s ease-in-out infinite; }
.p6.avanzo .p6__pista { opacity: 0; }
@keyframes p6-baja { 50% { transform: translateY(4px); } }

/* botón con el mismo formato que "Ver planes" de la sección de servicios */
.p6-boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5em; border: 3px solid var(--azul); border-radius: 45px;
  background: var(--azul); color: var(--blanco); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: all .3s;
}
.p6-boton:hover, .p6-boton:focus-visible { background: #006FDB; border-color: #006FDB; transform: scale(1.06); }
.p6__intro .p6-cta { justify-self: center; }  /* mismo formato que "Cotizar" de Servicios */

/* tarjeta grande con el número del paso */
.p6__carta {
  position: relative; justify-self: center; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 44px);
  display: grid; place-items: center; overflow: hidden; border-radius: 28px;
  background: var(--tarjeta); color: var(--marino);
  box-shadow: 0 36px 64px -22px rgba(11, 26, 52, .55), 0 16px 30px -12px rgba(11, 26, 52, .32), 0 2px 8px rgba(11, 26, 52, .12);
  will-change: transform; backface-visibility: hidden;
  animation: p6-flota 5.5s ease-in-out infinite;
}
.p6__contador { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font: 600 .78rem/1 var(--f-etiqueta); letter-spacing: .14em; color: var(--azul-texto); font-variant-numeric: tabular-nums; }
/* la tarjeta flota suavemente (usa translate para no chocar con el giro, que usa transform) */
@keyframes p6-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* foto de cada paso detrás del número, con una capa oscura para que resalten el número y el título */
.p6__fotos { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; clip-path: inset(0 round 28px); }
.p6__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
.p6__fotos img.on { opacity: 1; transform: none; }
.p6__carta.girando .p6__fotos img { transition: none; }
.p6__fotos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .62)); }
.p6__carta-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 30px; padding: 24px; text-align: center; transition: opacity .25s, transform .4s var(--ease-out); }
.p6__n { font: 400 clamp(6.75rem, 13.5vw, 11.25rem)/.8 var(--f-titulo); color: var(--blanco); font-variant-numeric: tabular-nums; }
.p6__nombre { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.18 var(--f-titulo); letter-spacing: .045em; color: var(--blanco); max-width: 12ch; }
.p6__n, .p6__nombre { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* texto del paso y lista de los 4 pasos */
.p6__lado { display: grid; gap: 22px; }
.p6__txt { min-height: 7.5em; font-size: .97rem; line-height: 1.6; color: var(--tinta-suave); transition: opacity .25s; }
.p6__lado.cambia .p6__txt { opacity: 0; }
/* avance: 4 círculos unidos por una línea gruesa que se llena al bajar; cada círculo lleva a su paso */
.p6__lista { display: flex; align-items: center; }
.p6__lista button { flex: 1; position: relative; display: flex; align-items: center; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.p6__lista button:last-child { flex: none; }
.p6__punto { position: relative; z-index: 1; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(11, 26, 52, .22); background: var(--gris-claro); transition: background-color .35s, border-color .35s, box-shadow .35s; }
.p6__lista button.ok .p6__punto { background: var(--azul); border-color: var(--azul); }
.p6__lista button[aria-selected="true"] .p6__punto { box-shadow: 0 0 0 6px rgba(0, 129, 255, .18); }
.p6__lista button:hover .p6__punto { border-color: var(--azul); }
.p6__lista button i { position: relative; flex: 1; height: 6px; margin-inline: -2px; border-radius: 99px; background: rgba(11, 26, 52, .16); overflow: hidden; }
.p6__lista button i::after { content: ""; position: absolute; inset: 0; background: var(--azul); transform: scaleX(var(--relleno, 0)); transform-origin: left; }
.p6__lista button:last-child i { display: none; }

/* celular: tarjetas deslizables de lado */
.p6m { display: none; }

@media (max-width: 900px) {
  .pasos6 { padding-block: var(--sec-pad); }
  .p6 { display: none; }
  .p6m { display: grid; gap: 18px; }
  .p6m__intro .h2 { margin-bottom: 16px; }
  .p6m__intro .p6-cta { width: 100%; }
  .p6m__carril {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 14px; scrollbar-width: none;
  }
  .p6m__carril::-webkit-scrollbar { display: none; }
  .p6m__carta {
    flex: 0 0 84%; scroll-snap-align: center; display: grid; align-content: start; gap: 12px; padding: 24px 22px;
    border-radius: 24px; background: var(--gris-claro); color: var(--marino); box-shadow: inset 0 8px 14px -8px rgba(11, 26, 52, .14), 0 14px 28px -16px rgba(11, 26, 52, .30);
  }
  .p6m__carta { padding: 0 0 22px; overflow: hidden; }
  .p6m__foto { position: relative; display: grid; align-content: end; gap: 6px; aspect-ratio: 16 / 11; padding: 18px 20px; background: center / cover no-repeat; }
  .p6m__foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .68)); }
  .p6m__foto > * { position: relative; }
  .p6m__carta > p { padding-inline: 22px; }
  .p6m__cab { display: flex; justify-content: space-between; align-items: baseline; }
  .p6m__n { font: 400 3.6rem/.8 var(--f-titulo); color: var(--blanco); }
  .p6m__de { font: 600 .75rem/1 var(--f-etiqueta); letter-spacing: .12em; color: rgba(255, 255, 255, .85); }
  .p6m__nombre { font: 400 1.5rem/1.05 var(--f-titulo); text-transform: uppercase; color: var(--blanco); }
  .p6m__carta p { font-size: .93rem; line-height: 1.55; color: var(--tinta-suave); }
  .p6m__pie { display: flex; align-items: center; justify-content: space-between; }
  .p6m__puntos { display: flex; gap: 6px; }
  .p6m__puntos i { width: 26px; height: 5px; border-radius: 99px; background: var(--gris-linea); transition: background .3s; }
  .p6m__puntos i.on { background: var(--azul); }
  .p6m__pista { font: 600 .72rem/1 var(--f-etiqueta); letter-spacing: .1em; text-transform: uppercase; color: var(--contorno); }
}
@media (prefers-reduced-motion: reduce) {
  .p6__pista svg, .p6__carta { animation: none; }
}
/* ===== SECCIÓN 6 (fin) ===== */

/* ===== SECCIÓN 7 (inicio) ===== */
/* ---------- Diagnóstico gratis: franja con foto en blanco y negro, oferta a la izquierda y tarjeta con lo que recibe a la derecha ---------- */
.diag { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 6.5vw, 96px); color: var(--blanco); background: var(--negro); }
.diag__foto { position: absolute; inset: -12% 0; z-index: -2; width: 100%; height: 124%; object-fit: cover; filter: grayscale(1) contrast(1.05); will-change: transform; }
.diag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .66) 50%, rgba(0, 0, 0, .55) 100%); }
.diag__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.diag__etq { display: block; margin-bottom: 14px; font: 700 1.1rem/1.3 var(--f-texto); color: var(--blanco); }
.diag__titulo { font: 400 clamp(2.4rem, 5vw, 4.6rem)/1.02 var(--f-titulo); text-transform: uppercase; letter-spacing: .01em; }
.diag__titulo span { color: var(--azul); }
.diag__sub { margin-top: 18px; max-width: 36ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: #D5DCE4; }

/* tarjeta con lo que recibe */
.diag__carta { display: grid; gap: 18px; padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; background: var(--blanco); color: var(--marino); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.diag__carta h3 { font: 700 1.15rem/1.3 var(--f-texto); color: var(--negro); }
.diag__lista { display: grid; gap: 12px; }
.diag__lista li { position: relative; padding-left: 30px; font-size: .98rem; line-height: 1.45; color: var(--tinta); }
.diag__lista li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.6 7.1 13.6 15.2 4.6' fill='none' stroke='%230081FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.diag__lista b { color: var(--negro); }
.diag__carta .cta { justify-self: center; }

/* entrada: el texto sube y luego aparece la tarjeta */
.diag__texto > *, .diag__carta { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.diag__texto > :nth-child(2) { transition-delay: .1s; }
.diag__texto > :nth-child(3) { transition-delay: .2s; }
.diag__carta { transition-delay: .3s; }
.js .diag:not(.in) .diag__texto > *, .js .diag:not(.in) .diag__carta { opacity: 0; transform: translateY(22px); }

@media (max-width: 900px) {
  .diag__in { grid-template-columns: 1fr; }
  .diag::before { background: rgba(0, 0, 0, .7); }
}
@media (prefers-reduced-motion: reduce) {
  .js .diag:not(.in) .diag__texto > *, .js .diag:not(.in) .diag__carta { opacity: 1; transform: none; }
}
/* ===== SECCIÓN 7 (fin) ===== */

/* ---------- Nosotros ---------- */
.nosotros__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px clamp(40px, 7vw, 112px); align-items: start;
}
.nosotros__txt p { max-width: 52ch; color: var(--tinta); font-size: 1.0938rem; }
.nosotros__txt p + p { margin-top: 18px; }
.nosotros__txt .h2 { margin-bottom: 22px; }
/* el título entra desde la izquierda al aparecer y sale hacia la izquierda al seguir bajando (lo mueve main.js) */
.js .nosotros__txt .h2 { transform: translateX(var(--nos-x, 0)); opacity: var(--nos-o, 1); will-change: transform, opacity; }
.nosotros__lead { font-size: clamp(1.1rem, 1.35vw, 1.22rem) !important; line-height: 1.5; }
.nosotros__lead b { color: var(--negro); }
.equipo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.persona { margin: 0; }
.persona__foto { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tarjeta); }
.persona:nth-child(2) { margin-top: clamp(40px, 8vw, 96px); }
.persona figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; }
.persona b { font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; }
.persona span { font-size: 0.9375rem; color: var(--tinta-suave); }

/* ---------- Preguntas ---------- */
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq .h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-bottom: 1px solid var(--gris-linea); }
.faq details { border-top: 1px solid var(--gris-linea); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 52px 24px 0;
  font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.35;
  color: var(--negro); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--azul-texto); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 18px; height: 2px; background: currentColor;
  transition: transform .35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--azul-texto); }
.faq details > div { padding: 0 52px 28px 0; }
.faq details p { color: var(--tinta-suave); max-width: 62ch; }
.faq details[open] > div { animation: subir .45s var(--ease-out); }

/* ---------- Contacto: foto a sangre + formulario negro ---------- */
.contacto { padding-block: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.contacto__foto { position: relative; min-height: 34rem; overflow: hidden; }
.contacto__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 68%; }
.contacto__lado { display: flex; align-items: center; justify-content: center; padding: var(--sec-pad) var(--gutter); }
.contacto__t {
  font-size: clamp(3rem, 5.2vw, 5rem); line-height: .86; margin-bottom: 10px;
}
.contacto__t span { color: var(--azul); }

.form {
  display: grid; gap: 16px; width: min(100%, 34rem);
  background: var(--negro);
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips legend { font-size: 0.9375rem; font-weight: 600; color: var(--gris); }
.field input, .field textarea {
  width: 100%; padding: 16px 18px;
  background: #1A1D23; color: var(--blanco);
  border: 1.5px solid transparent; border-radius: 12px;
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8C95A3; }
.field input:hover, .field textarea:hover { background: #22262D; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul); background: #1A1D23; }
.field__err { display: none; font-size: 0.8438rem; color: #FF9B9B; }
.field.invalid input { border-color: #FF6B6B; }
.field.invalid .field__err { display: block; }

.chips { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 9px 15px; border-radius: 999px;
  background: #1A1D23; border: 1.5px solid transparent; color: var(--gris);
  font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chips label:hover span { background: #22262D; color: var(--blanco); }
.chips input:checked + span { background: var(--azul); color: var(--negro); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--azul); outline-offset: 3px; }

.form__send { width: 100%; justify-self: stretch; margin-top: 10px; border-radius: 12px; padding-block: 1.1em; }
.form__send[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__note { font-size: 0.875rem; color: #8C9BB5; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Franja de cierre: frase con la AD del logo ---------- */
.cierre { position: relative; overflow: hidden; background: var(--negro); color: var(--blanco); padding-block: clamp(40px, 5vw, 72px); text-align: center; }
.cierre__marco { display: grid; justify-items: center; gap: clamp(36px, 4.5vw, 60px); }
/* líneas finas de encuadre con un detalle azul al centro */
.cierre__linea { position: relative; display: block; width: 100%; height: 3px; }
.cierre__linea::after { content: ""; position: absolute; left: 50%; top: 0; width: 56px; height: 3px; transform: translateX(-50%); background: var(--azul); }
.cierre__firma {
  margin-top: calc(clamp(36px, 4.5vw, 60px) * -.45);
  font: 600 clamp(.72rem, 1vw, .85rem)/1 var(--f-etiqueta); letter-spacing: .24em; text-transform: uppercase; color: #8A94A0;
  opacity: var(--kf, 1); transform: translateY(calc((1 - var(--kf, 1)) * 12px));
}
.cierre__frase {
  position: relative; display: grid; justify-items: center; gap: .08em;
  font-family: var(--f-titulo); text-transform: uppercase; font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 5.6rem); line-height: 1.04; letter-spacing: .005em;
}
.cf-linea { display: block; white-space: nowrap; }
.cf-p { display: inline-block; }
/* la AD del logo, a la altura de las mayúsculas de Anton */
.cf-ad { display: inline-flex; align-items: flex-end; gap: .012em; height: .885em; margin-left: -.05em; vertical-align: baseline; }
.cf-ad img { display: block; height: 100%; width: auto; }
/* destello que recorre la frase al terminar */
.cierre__frase::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 22%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: translateX(-160%) skewX(-15deg); pointer-events: none; opacity: 0;
}

/* animación guiada por el scroll: cada palabra entra a medida que se baja */
.cf-p { opacity: var(--k, 1); transform: translateY(calc((1 - var(--k, 1)) * .45em)); filter: blur(calc((1 - var(--k, 1)) * 10px)); }
.cf-a { opacity: var(--ka, 1); transform: translate(calc((1 - var(--ka, 1)) * -.55em), calc((1 - var(--ka, 1)) * .35em)) rotate(calc((1 - var(--ka, 1)) * -10deg)); }
.cf-d { opacity: var(--ka, 1); transform: translate(calc((1 - var(--ka, 1)) * .55em), calc((1 - var(--ka, 1)) * -.35em)) rotate(calc((1 - var(--ka, 1)) * 8deg)); }
.cierre.brilla .cierre__frase::after { animation: cf-destello 1.8s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes cf-destello { 0% { opacity: 1; transform: translateX(-160%) skewX(-15deg); } 100% { opacity: 1; transform: translateX(560%) skewX(-15deg); } }

/* ---------- Pie ---------- */
.footer { background: var(--negro); color: var(--gris); padding-top: clamp(56px, 6vw, 88px); overflow: hidden; }
.footer__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px 48px; }
.footer__logo { width: 10.5rem; height: auto; margin-bottom: 18px; }
.footer__claim { font-size: .95rem; max-width: 30ch; color: #A8B2BD; }
.footer__redes { display: flex; gap: 12px; margin-top: 22px; }
.footer__redes a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid #2A2F37; transition: border-color .2s, background-color .2s, transform .25s var(--ease-out); }
.footer__redes a:hover { border-color: var(--azul); background: rgba(0, 129, 255, .12); transform: translateY(-2px); }
.footer__redes img { width: 20px; height: 20px; }
.footer__col { display: grid; align-content: start; justify-items: start; gap: 2px; }
.footer__tit { margin-bottom: 12px; font: 600 .75rem/1.2 var(--f-etiqueta); letter-spacing: .1em; text-transform: uppercase; color: #6F7A88; }
.footer__col a {
  display: inline-flex; align-items: center; gap: 10px; padding-block: 6px;
  font-size: .95rem; color: #C3CBD3; text-decoration: none;
  text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color .2s, text-decoration-color .2s;
}
.footer__col a:hover { color: var(--blanco); text-decoration-color: var(--azul); }
.footer__contacto img { width: 18px; height: 18px; flex: none; opacity: .9; }
.footer__base {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(40px, 5vw, 64px);
  padding-block: 22px 28px; padding-right: calc(var(--gutter) + 72px); border-top: 1px solid #1B1F25; font-size: .875rem; color: #8A94A0;
}
.footer__base p { margin-right: auto; }
.footer__base a { color: #A8B2BD; text-decoration: none; transition: color .2s; }
.footer__base a:hover { color: var(--blanco); }
.footer__arriba { display: inline-flex; align-items: center; gap: 6px; }
.footer__arriba .ico { transform: rotate(-45deg); width: 1em; height: 1em; }
.form__note a { color: #A8B2BD; text-underline-offset: 3px; }
.form__note a:hover { color: var(--blanco); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #32D951; color: var(--blanco);  /* verde y logo originales de WhatsApp */
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.2);
  transition: transform .4s var(--ease-out), opacity .3s, background-color .2s;
}
.wa-float img { width: 34px; height: 34px; }
.wa-float:hover { background: #4AE167; transform: scale(1.06); }
.js .wa-float:not(.show) { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }

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

/* Monitores grandes: más ancho útil y texto proporcionalmente mayor */
@media (min-width: 1600px) { :root { --max: 1440px; } html { font-size: 17px; } }
@media (min-width: 1900px) { :root { --max: 1600px; } html { font-size: 18px; } }
@media (min-width: 2400px) { :root { --max: 1960px; } html { font-size: 21px; } }

/* Tablets */
@media (min-width: 601px) and (max-width: 900px) {
  .equipo { max-width: 36rem; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .burger { margin-left: auto; }
}

@media (max-width: 900px) {
  .nosotros__in, .faq__in, .contacto { grid-template-columns: minmax(0, 1fr); }
  .contacto__foto { min-height: 0; aspect-ratio: 16 / 10; }
  .contacto__foto img { object-position: 50% 38%; }
  .faq .h2 { position: static; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__marca { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .contacto__t { font-size: min(14.5vw, 4.4rem); }
  .h2 { font-size: min(12.5vw, 3.4rem); }
  .header__logo img { height: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__contacto { grid-column: 1 / -1; }
  .cierre__frase { font-size: min(6.85vw, 2.2rem); }
  .persona figcaption { flex-wrap: wrap; row-gap: 4px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cierre .cf-p, .cierre .cf-a, .cierre .cf-d, .cierre__firma { opacity: 1 !important; transform: none !important; filter: none !important; }
}
