/* Cielo v1: fondo celeste muy leve para que los bloques blancos y los azules se separen del fondo.
   Gaviotas blancas, bloques oscuros en azul profundo y el naranja solo en marca y detalles.
   Se carga al final. */
:root {
  --sky-1: #E4ECF7;
  --sky-2: #EEF3FA;
  --sky-3: #F5F8FC;
  --surface-2: #F2F5FA;
  --line: #D9E0EB;
}
html { background: var(--sky-3); }
body { background: linear-gradient(180deg, var(--sky-1) 0, var(--sky-2) 520px, var(--sky-3) 1400px) no-repeat, var(--sky-3); }

/* Brillos: sin naranja adentro de lo oscuro, luz fría */
.door::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgb(150 190 255 / .16), transparent 70%); }
.door.is-open::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgb(120 165 255 / .2), transparent 70%); }
.pstage { background: radial-gradient(70% 60% at 50% 34%, rgb(255 255 255 / .9), rgb(255 255 255 / .55) 70%); }

/* Tarjetas blancas: un poco más de cuerpo para que se lean sobre el celeste */
.door:not(.is-open), .doors.sm .door { box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 22px 40px -30px rgb(15 30 61 / .35); }

.chat::before { background: radial-gradient(60% 100% at 50% 0%, rgb(120 165 255 / .16), transparent 70%); }

/* ---------- Marca: isotipo y nombre */
.lt-lock { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); line-height: 1; }
.lt-tile { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; color: #fff;
  background: linear-gradient(150deg, #FF8A26, #FF6A00); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 10px 18px -10px rgb(255 106 0 / .8);
  transition: width .45s cubic-bezier(.16,1,.3,1), height .45s cubic-bezier(.16,1,.3,1), border-radius .45s; overflow: hidden; }
.lt-iso { width: 31px; height: 31px; overflow: visible; }
.lt-iso .g1, .lt-iso .g2 { transform-box: fill-box; transform-origin: center; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.lt-name { display: flex; align-items: baseline; gap: 5px; font-family: var(--head); font-size: 23px; letter-spacing: -.035em; white-space: nowrap; transition: font-size .45s cubic-bezier(.16,1,.3,1); }
.lt-name b { font-weight: 800; }
.lt-name em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.hd-brand { padding: 6px 10px; }
.hd-brand:hover .lt-iso .g1, .foot-brand:hover .lt-iso .g1 { transform: translate(-2px, -3px) rotate(-4deg); }
.hd-brand:hover .lt-iso .g2, .foot-brand:hover .lt-iso .g2 { transform: translate(3px, -4px) rotate(5deg); }
.scrolled .lt-tile { width: 36px; height: 36px; border-radius: 10px; }
.scrolled .lt-name { font-size: 21px; }
.foot-brand .lt-lock { color: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .lt-iso .g1 { animation: isoFlap 5.5s ease-in-out infinite; }
  .lt-iso .g2 { animation: isoFlap 5.5s .35s ease-in-out infinite; }
}
@keyframes isoFlap { 0%, 84%, 100% { scale: 1 1; } 89% { scale: 1.06 .72; } 94% { scale: .98 1.08; } }
@media (max-width: 560px) {
  .lt-tile { width: 36px; height: 36px; border-radius: 10px; } .lt-iso { width: 27px; height: 27px; }
  .lt-name { font-size: 20px; }
  .scrolled .lt-tile { width: 34px; height: 34px; } .scrolled .lt-name { font-size: 19px; }
}

/* ---------- Apertura de la home: azul profundo. El logo se escribe letra por letra,
   las dos gaviotas de la marca llegan volando y se posan, y el telón sube con el borde curvo. */
/* fondo blanco cálido tipo papel: el logo en azul profundo, la bandada en gris azulado y las dos de la marca en naranja */
#intro { background: linear-gradient(180deg, #EEF2F8 0%, #F7F3EC 42%, #FCEBDB 74%, #F9DCC2 100%); }
/* sol bajo detrás del logo, horizonte y nubes que se desplazan despacio: el cielo deja de ser un plano liso */
#intro .i-sun { position: absolute; left: 50%; top: 60%; width: min(760px, 120vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 196 140 / .55), rgb(255 214 176 / .28) 45%, transparent 72%); animation: iSun 4s ease-out both; }
@keyframes iSun { from { opacity: 0; scale: .85; translate: -50% -42%; } }
#intro .i-horizon { position: absolute; left: 0; right: 0; top: 74%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(15 30 61 / .14) 20%, rgb(255 114 0 / .35) 50%, rgb(15 30 61 / .14) 80%, transparent); transform-origin: center; animation: iHz 1.4s .2s cubic-bezier(.65,0,.25,1) both; }
@keyframes iHz { from { scale: 0 1; } }
#intro .i-cloud { position: absolute; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .95), rgb(255 255 255 / 0)); filter: blur(2px); will-change: transform; }
#intro .c1 { width: 46vw; height: 9vw; min-height: 60px; left: -8vw; top: 18%; opacity: .9; animation: iCloud 14s linear both; }
#intro .c2 { width: 34vw; height: 7vw; min-height: 46px; right: -6vw; top: 30%; opacity: .75; animation: iCloud 18s linear reverse both; }
#intro .c3 { width: 60vw; height: 10vw; min-height: 70px; left: 20vw; top: 80%; opacity: .7; animation: iCloud 20s linear both; }
@keyframes iCloud { from { transform: translateX(-4vw); } to { transform: translateX(6vw); } }
#intro::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(15 30 61 / .07) 1px, transparent 1.3px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
  opacity: 0; animation: introDots 1s ease forwards; }
@keyframes introDots { to { opacity: 1; } }
#intro .center { z-index: 2; }
#intro .i-logo { display: block; width: min(440px, 76vw); height: auto; overflow: visible; }
#intro .center::before { content: ""; position: absolute; inset: -60% -20%; z-index: -1; background: radial-gradient(closest-side, rgb(255 255 255 / .55), transparent); pointer-events: none; }
#intro .i-l { fill: #0F1E3D; fill-opacity: 0; stroke: #0F1E3D; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: introWrite .8s calc(.2s + var(--i) * .045s) cubic-bezier(.65, .05, .25, 1) forwards; }
@keyframes introWrite {
  0% { stroke-dashoffset: 1; fill-opacity: 0; stroke-opacity: .9; }
  58% { stroke-dashoffset: 0; fill-opacity: 0; stroke-opacity: .9; }
  100% { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; } }
#intro .i-word { transform-box: fill-box; transform-origin: center; animation: introSettle 1.4s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes introSettle { from { transform: translateY(14px); } to { transform: none; } }
#intro .i-sheen { pointer-events: none; }

/* cielo de la bandada (intro.js) y las dos gaviotas de la marca, que aparecen cuando las aves se posan */
#intro .i-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#intro .i-g { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: 50% 70%; }
#intro .i-g.on { animation: gullSet .5s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes gullSet { 0% { opacity: 0; scale: 1 .8; } 45% { opacity: 1; scale: 1 1.06; } 100% { opacity: 1; scale: 1 1; } }
#intro .skip-hint { color: rgb(15 30 61 / .72); }
/* salida: el logo sube un poco y el telón se levanta con el borde inferior curvo */
#intro.out { animation: introCurtain .85s cubic-bezier(.76, 0, .24, 1) forwards; }
#intro.out .center { animation: introUp .7s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes introCurtain {
  0% { clip-path: ellipse(90% 150% at 50% 0%); }
  100% { clip-path: ellipse(90% 0% at 50% 0%); } }
@keyframes introUp { to { transform: translateY(-60px) scale(.94); opacity: 0; } }

/* ---------- Ritmo vertical: menos aire muerto entre bloques */
section { padding-block: clamp(48px, 5vw, 68px); }
.sec-head { margin-bottom: 36px; }
.site-footer { padding-block: 56px 32px; }
@media (max-width: 700px) {
  section { padding-block: 44px; }
  .sec-head { margin-bottom: 22px; }
  .site-footer { padding-block: 40px 24px; }
}

html { scroll-padding-top: 96px; }

/* Agente: nombre y bajada en el mismo título */
.agent-intro h1 .h1-sub { display: block; font-size: .5em; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); margin-top: .35em; }

/* ---------- Menús: ícono propio a la izquierda de cada destino */
.pn-row:has(.pn-ic) { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 1px; align-items: center; }
.pn-row:has(.pn-ic) b, .pn-row:has(.pn-ic) span { grid-column: 2; }
.pn-ic { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #EEF2F8; border: 1px solid #E1E6EF;
  transition: background-color .35s, border-color .35s, transform .45s cubic-bezier(.16,1,.3,1); }
.pn-ic svg { width: 30px; height: 30px; overflow: visible; }
.pn-ic .a, .pn-ic .o, .pn-ic .d { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.pn-ic .a { stroke: #0F1E3D; }
.pn-ic .o { stroke: var(--accent); }
.pn-ic .d { stroke: #0F1E3D; stroke-dasharray: 2.2 3; opacity: .55; }
.pn-ic .f.o { fill: var(--accent); } .pn-ic .f.a { fill: #0F1E3D; }
.pn-row:hover .pn-ic, .pn-row:focus-visible .pn-ic { background: #0F1E3D; border-color: #0F1E3D; transform: translateY(-1px) rotate(-3deg); }
.pn-row:hover .pn-ic .a, .pn-row:focus-visible .pn-ic .a, .pn-row:hover .pn-ic .d { stroke: #fff; }
.pn-row:hover .pn-ic .f.a { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .pn-row:hover .pn-ic .o:not(.f) { stroke-dasharray: 60; animation: icDraw .7s cubic-bezier(.45,.05,.25,1) both; }
  .pn-row:hover .pn-ic .f.o { animation: icPop .5s cubic-bezier(.2,.8,.2,1.5) both; transform-box: fill-box; transform-origin: center; }
}
@keyframes icDraw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes icPop { from { scale: .4; } }
.pn-row:has(.pn-ic):hover { padding-left: 18px; }

/* =============================================================== CONTACTO */
.qk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }   /* la del correo, un poco más ancha para que la dirección entre en una línea */
.qk.mail .qk-tx b { font-size: 1rem; }
.qk { position: relative; border-radius: 22px; background: #fff; border: 1px solid #E1E6EF; box-shadow: 0 1px 0 #fff inset, 0 24px 40px -32px rgb(15 30 61 / .4);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s, border-color .35s; overflow: hidden; }
.qk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--qk-glow), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.qk:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 34px 50px -30px rgb(15 30 61 / .45); border-color: var(--qk-c); }
.qk:hover::before { opacity: 1; }
.qk.wa { --qk-c: #25D366; --qk-glow: rgb(37 211 102 / .14); } .qk.tel { --qk-c: #2456AD; --qk-glow: rgb(36 86 173 / .12); }
.qk.mail { --qk-c: #0F1E3D; --qk-glow: rgb(15 30 61 / .08); } .qk.bot { --qk-c: #FF7200; --qk-glow: rgb(255 114 0 / .14); }
.qk-a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 22px 22px 24px; text-decoration: none; color: var(--ink); height: 100%; box-sizing: border-box; }
.qk-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--qk-c); box-shadow: 0 12px 20px -10px var(--qk-c); transition: transform .5s cubic-bezier(.2,.8,.2,1.4); }
.qk-ic svg { width: 26px; height: 26px; } .qk.bot .qk-ic svg { width: 34px; height: 34px; }
.qk.bot .qk-ic { background: linear-gradient(150deg, #FF8A26, #FF6A00); }
.qk:hover .qk-ic { transform: rotate(-6deg) scale(1.06); }
.qk-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.qk-tx small { font-size: .82rem; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.qk-tx b { font-family: var(--head); font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qk-tx em { font-style: normal; font-size: .86rem; color: var(--ink-2); }
.qk-go { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #F1F4F9; transition: background .35s, transform .45s cubic-bezier(.16,1,.3,1); }
.qk-go svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.qk:hover .qk-go { background: var(--qk-c); transform: rotate(45deg); } .qk:hover .qk-go svg { stroke: #fff; }
.qk-copy { position: absolute; right: 14px; bottom: 14px; border: 0; background: #F1F4F9; color: var(--ink); font: 700 .78rem var(--body); padding: 6px 10px; border-radius: 99px; cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .35s, background .3s; }
.qk:hover .qk-copy, .qk-copy:focus-visible { opacity: 1; transform: none; }
.qk-copy.done { background: #E3F6EA; color: #16A34A; }
.qk-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.qk-social > span { font-weight: 700; font-size: .92rem; color: var(--ink-2); margin-right: 4px; }
.qk-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 99px; background: #fff; border: 1px solid #E1E6EF; color: var(--ink); text-decoration: none; font-size: .92rem; transition: background .3s, color .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.qk-social a svg { width: 18px; height: 18px; }
.qk-social a:hover { background: #0F1E3D; color: #fff; transform: translateY(-2px); }
.ct-main { padding-top: 24px; }
.ct-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 28px; align-items: start; }
.ct-form { background: #fff; border: 1px solid #E1E6EF; border-radius: 26px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -44px rgb(15 30 61 / .45); }
.ct-form-hd h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0 0 4px; }
.ct-form-hd p { margin: 0 0 6px; color: var(--ink-2); }
.ct-next { padding: 28px; border-radius: 26px; background: #0F1E3D; color: #EEF2FA; position: sticky; top: 110px; }
.ct-next h2 { color: #fff; font-size: 1.3rem; margin: 0 0 18px; }
.ct-next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.ct-next li { position: relative; padding: 0 0 22px 46px; display: grid; gap: 3px; counter-increment: s; }
.ct-next li::before { content: ""; position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: radial-gradient(circle, #FFB27A 0 4px, rgb(255 255 255 / .1) 4.5px); color: #FFB27A; }
.ct-next li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 4px; width: 1.5px; background: repeating-linear-gradient(rgb(255 255 255 / .25) 0 3px, transparent 3px 7px); }
.ct-next li b { font-size: 1.02rem; } .ct-next li span { color: #B7C1D8; font-size: .94rem; }
/* mapa */
.ct-map { position: relative; height: clamp(360px, 42vw, 480px); border-radius: 28px; overflow: hidden; background: #DCE4F0; border: 1px solid #D5DCE8; box-shadow: 0 40px 70px -50px rgb(15 30 61 / .5); isolation: isolate; }
.ct-map iframe { position: absolute; inset: -60px 0 -60px; width: 100%; height: calc(100% + 120px); border: 0; filter: grayscale(1) contrast(1.06) brightness(1.04); pointer-events: none; transition: filter .6s; }
.ct-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgb(15 30 61 / .22), rgb(36 86 173 / .08) 55%, rgb(255 114 0 / .06)); mix-blend-mode: multiply; transition: opacity .6s; }
.ct-map.live iframe { pointer-events: auto; filter: grayscale(.2); } .ct-map.live::after, .ct-map.live .ct-pin { opacity: 0; }
.ct-pin { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; transition: opacity .4s; }
.ct-pin b { position: absolute; left: -22px; top: -52px; width: 44px; height: 44px; border-radius: 50% 50% 50% 6px; rotate: -45deg; background: linear-gradient(150deg, #FF8A26, #FF6A00); box-shadow: 0 14px 24px -8px rgb(255 106 0 / .7); }
.ct-pin b::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.ct-pin i { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; background: rgb(255 114 0 / .25); animation: pinRing 2.4s ease-out infinite; transform: scaleY(.45); }
@keyframes pinRing { from { scale: .2; opacity: 1; } to { scale: 1.4; opacity: 0; } }
.ct-place { position: absolute; z-index: 3; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px;
  background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgb(255 255 255 / .7); box-shadow: 0 24px 50px -24px rgb(15 30 61 / .5); max-width: calc(100% - 48px); flex-wrap: wrap; }
.ct-place-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #0F1E3D; color: #fff; flex: none; } .ct-place-ic svg { width: 24px; height: 24px; }
.ct-place > div:nth-child(2) { display: flex; flex-direction: column; gap: 1px; margin-right: 8px; }
.ct-place small { font-size: .8rem; font-weight: 700; color: var(--ink-2); } .ct-place b { font-family: var(--head); font-size: 1.15rem; } .ct-place span { color: var(--ink-2); font-size: .95rem; }
.ct-place-act { display: flex; align-items: center; gap: 14px; }
.ct-place-act .btn { padding: 11px 18px; }
.ct-place-link { font-weight: 700; font-size: .92rem; color: var(--ink); }
.ct-map-unlock { position: absolute; z-index: 3; right: 20px; top: 20px; border: 1px solid rgb(255 255 255 / .7); background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font: 700 .88rem var(--body); padding: 10px 16px; border-radius: 99px; cursor: pointer; box-shadow: 0 14px 30px -16px rgb(15 30 61 / .5); }
.ct-map.live .ct-map-unlock { background: #0F1E3D; color: #fff; border-color: #0F1E3D; }
@media (max-width: 1000px) {
  .qk-grid { grid-template-columns: 1fr 1fr; }
  .ct-split { grid-template-columns: 1fr; } .ct-next { position: static; }
}
@media (max-width: 560px) {
  .qk-grid { grid-template-columns: 1fr; gap: 10px; }
  .qk-a { padding: 16px 18px; gap: 14px; } .qk-ic { width: 46px; height: 46px; }
  .qk-copy { opacity: 1; transform: none; right: 54px; top: 16px; bottom: auto; }
  .ct-map { height: 440px; }
  .ct-place { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 14px; }
  .ct-place-act { width: 100%; justify-content: space-between; }
}
.qk.mail .qk-tx b { white-space: normal; overflow-wrap: normal; font-size: 1rem; line-height: 1.25; }
.ct-quick-sec { padding-bottom: 8px; }

/* ---------- Marca en la barra y el pie: el logo original tal cual (letras y gaviotas naranja sobre su placa blanca) */
.lt-plate { display: inline-flex; align-items: center; padding: 7px 15px 6px; border-radius: 12px; background: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 0 0 1px rgb(15 30 61 / .06), 0 12px 24px -16px rgb(15 30 61 / .45);
  transition: box-shadow .4s, transform .45s cubic-bezier(.16,1,.3,1), padding .45s cubic-bezier(.16,1,.3,1); }
.lt-brand.lt-orig { height: 44px; }
.lt-brand.lt-orig .b-word, .lt-brand.lt-orig .b-gulls { fill: #FF7200; }
.scrolled .lt-brand.lt-orig { height: 36px; }
.scrolled .lt-plate { padding: 5px 12px 4px; }
.hd-brand:hover .lt-plate { transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgb(255 114 0 / .25), 0 16px 28px -16px rgb(255 114 0 / .45); }
.hd-brand { padding: 4px 6px; }
.foot-brand .lt-brand.lt-orig { height: 36px; }
@media (max-width: 560px) {
  .lt-brand.lt-orig { height: 30px; } .scrolled .lt-brand.lt-orig { height: 28px; }
  .lt-plate { padding: 6px 11px 5px; border-radius: 10px; }
}

/* ---------- Home: del desorden a un solo sistema (flow.js) */
.h2-scene[data-flow] { position: relative; flex: 1; min-height: clamp(320px, 28vw, 430px); overflow: hidden; }
.h2-scene[data-flow] canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fl-knot { position: absolute; width: 0; height: 0; z-index: 2; }
.fl-knot .lt-plate { position: absolute; left: 0; top: 0; translate: -50% -50%; padding: 12px 20px 10px; border-radius: 16px;
  box-shadow: 0 0 0 8px rgb(255 255 255 / .06), 0 0 0 1px rgb(255 255 255 / .5), 0 26px 50px -20px rgb(0 0 0 / .6); }
.fl-knot .lt-brand.lt-orig { height: 52px; }
.fl-knot .glow { position: absolute; left: -170px; top: -120px; width: 340px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 140 50 / .35), rgb(255 114 0 / .08) 60%, transparent); pointer-events: none; }
.fl-knot.hit .lt-plate { animation: flKnot .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes flKnot { 45% { scale: 1.04; } }
.fl-outs { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fl-out { position: absolute; translate: -50% -50%; white-space: nowrap; font-size: .86rem; font-weight: 700; color: #FFE2C8; padding: 7px 13px; border-radius: 99px;
  background: rgb(14 28 58 / .88); border: 1px solid rgb(255 150 70 / .45); box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); }
.h2-scene[data-layout="tall"] .fl-knot .lt-brand.lt-orig { height: 38px; }
.h2-scene[data-layout="tall"] .fl-knot .lt-plate { padding: 9px 14px 7px; }
.h2-scene[data-layout="tall"] .fl-out { font-size: .78rem; padding: 6px 11px; }
@media (max-width: 699px) { .h2-scene[data-flow] { flex: none; min-height: 0; height: 520px; } }

/* ---------- Portada: título sobre panel azul profundo con la gaviota de datos (hero.js) */
.hero2.hero-c { min-height: 0; padding: 0 max(14px, 1.2vw) max(14px, 1.2vw); }
.hc-panel { position: relative; display: grid; align-content: center; min-height: clamp(440px, 60svh, 580px); padding-block: clamp(52px, 8vh, 84px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 70% at 50% 100%, #1D3A72 0%, #0F2148 48%, #0B1834 100%); color: #F2F5FB; }
.hc-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.hc-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hc-top { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; padding: 0 20px; pointer-events: none; }
.hero2.hero-c h1 { font-size: clamp(3rem, min(5.8vw, 10vh), 5.8rem); }
.hero-c .lead { max-width: 31em; text-wrap: balance; }
.hc-top .actions, .hc-top a { pointer-events: auto; }
.hero-c h1 { color: #fff; }
.hero-c .lead { color: #C3CDE3; }
.hero-c .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.hero-c .btn-ghost:hover { background: #fff; color: #0F1E3D; }
@media (max-width: 760px) {
  .hero2.hero-c { padding: 0 16px 10px; }
  .hc-panel { min-height: 0; padding-block: 92px 150px; border-radius: 22px; }
  .hc-top { padding: 0 14px; }
  .hero2.hero-c h1 { font-size: 2.75rem; }
}

/* ---------- Logo en la barra: el original, sin placa ni caja, apoyado directo en la barra */
.hd-brand { padding: 4px 8px; border-radius: 12px; }
.hd .lt-brand.lt-orig { height: 46px; filter: drop-shadow(0 1px 0 rgb(255 255 255 / .8)); }
.scrolled .hd .lt-brand.lt-orig { height: 38px; }
@media (max-width: 560px) { .hd .lt-brand.lt-orig { height: 34px; } .scrolled .hd .lt-brand.lt-orig { height: 30px; } }

/* ---------- Home: bloque "Elegí por lo que necesitás resolver" con escenario propio (las puertas no cambian) */
.pick { padding-top: clamp(40px, 4vw, 56px); }
.pick-panel { position: relative; padding: clamp(26px, 3.4vw, 48px); border-radius: 32px; isolation: isolate;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 100%); border: 1px solid #DCE3EE;
  box-shadow: 0 1px 0 #fff inset, 0 50px 90px -60px rgb(15 30 61 / .45), 0 12px 30px -24px rgb(15 30 61 / .2); }
.pick-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(rgb(15 30 61 / .08) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(80% 60% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(80% 60% at 100% 0%, #000, transparent 70%); }
.pick-panel::after { content: ""; position: absolute; left: clamp(26px, 3.4vw, 48px); top: 0; width: 72px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
.pick-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: end; margin-bottom: clamp(24px, 2.6vw, 36px); }
.pick-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.pick-head h2 em { font-style: normal; color: var(--accent); }
.pick-side { display: grid; gap: 12px; justify-items: start; padding-bottom: 6px; }
.pick-side p { margin: 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; max-width: 26em; }
.pick .dm-label { display: flex; align-items: center; gap: 14px; margin: 10px 0 2px; }
.pick .dm-label span { font: 700 .82rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: #5A6480; white-space: nowrap; }
.pick .dm-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #D5DCE8, transparent); }
@media (max-width: 900px) {
  .pick-head { grid-template-columns: 1fr; gap: 14px; }
  .pick-panel { border-radius: 24px; }
}
@media (max-width: 560px) {
  .pick-panel { padding: 22px 14px 16px; }
  .pick-panel::after { left: 22px; width: 56px; }
}

/* ---------- Home: "Lo que deja de pasar" como antes / con Liberty, en claro y fácil de leer */
.pv-panel { position: relative; padding: clamp(26px, 3.4vw, 48px); border-radius: 32px; background: #fff; border: 1px solid #DCE3EE;
  box-shadow: 0 1px 0 #fff inset, 0 50px 90px -60px rgb(15 30 61 / .45), 0 12px 30px -24px rgb(15 30 61 / .2); }
.pv-panel::after { content: ""; position: absolute; left: clamp(26px, 3.4vw, 48px); top: 0; width: 72px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
.pv-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 clamp(22px, 2.6vw, 34px); }
.pv-head h2 em { font-style: normal; color: var(--accent-text, #DA5B00); }
.pv-cols, .pv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 clamp(24px, 4vw, 64px); }
.pv-cols { padding: 0 0 12px; border-bottom: 1.5px solid #0F1E3D; }
.pv-cols span { font: 800 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #8A92A6; }
.pv-cols span + span { color: var(--accent); }
.pv-list { list-style: none; margin: 0; padding: 0; }
.pv { align-items: center; padding: 20px 0; border-bottom: 1px solid #E6EAF1; }
.pv p { margin: 0; display: flex; align-items: center; gap: 14px; }
.pv i { flex: none; width: 26px; height: 26px; border-radius: 50%; position: relative; }
.pv .x { background: #EEF1F6; }
.pv .x::before, .pv .x::after { content: ""; position: absolute; left: 7px; top: 12px; width: 12px; height: 2px; border-radius: 2px; background: #8A92A6; rotate: 45deg; }
.pv .x::after { rotate: -45deg; }
.pv .ok { background: #FFF1E6; transition: background .5s .3s; }
.pv .ok::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.4px 2.4px 0; rotate: 42deg; transition: border-color .5s .3s; }
.pv.in .ok { background: var(--accent); } .pv.in .ok::after { border-color: #fff; }
.pv-old span { color: #4E5770; font-size: 1.04rem; line-height: 1.4; }
.pv-old em { font-style: normal; background: linear-gradient(#9AA2B5, #9AA2B5) no-repeat 0 58% / 0% 1.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .8s cubic-bezier(.65,0,.35,1); }
.pv.in .pv-old em { background-size: 0% 1.5px; }   /* sin tachado: la cruz ya marca que es lo de antes, y el texto se lee entero */
.pv-new b { font-family: var(--head); font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.25; letter-spacing: -.015em; color: #0F1E3D; flex: 1; }
.pv-chips { display: inline-flex; gap: 6px; flex: none; }
.pv-chips img { height: 18px; width: auto; padding: 6px 9px; border-radius: 9px; background: #F4F6FA; border: 1px solid #E6EAF1; box-sizing: content-box; }
.pv-new { opacity: .35; transform: translateX(-8px); transition: opacity .6s .25s, transform .7s .25s cubic-bezier(.16,1,.3,1); }
.pv.in .pv-new { opacity: 1; transform: none; }
.no-io .pv .pv-new { opacity: 1; transform: none; }
.pv-prom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(22px, 2.6vw, 32px); border-radius: 20px; background: #0F1E3D; color: #EEF2FA; overflow: hidden; }
.pv-prom > div { display: grid; gap: 4px; padding: 20px 22px; align-content: start; }   /* textos alineados arriba en todas las columnas */
.pv-prom > div + div { border-left: 1px solid rgb(255 255 255 / .1); }
.pv-prom b { font: 800 1.2rem/1.15 var(--head); letter-spacing: -.02em; color: #fff; }
.pv-prom span { font-size: .94rem; color: #B7C1D8; line-height: 1.4; }
@media (max-width: 900px) {
  .pv-cols { display: none; }
  .pv { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .pv-old span { font-size: .96rem; }
  .pv-prom { grid-template-columns: 1fr 1fr; }
  .pv-prom > div:nth-child(3) { border-left: 0; }
  .pv-prom > div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .1); }
}
@media (max-width: 560px) {
  .pv-panel { padding: 22px 16px 16px; border-radius: 24px; }
  .pv-new { flex-wrap: wrap; row-gap: 8px; } .pv-new b { flex-basis: calc(100% - 40px); } .pv-chips { margin-left: 40px; } .pv-chips img { height: 15px; padding: 5px 8px; }
  .pv-prom > div { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pv-new { opacity: 1; transform: none; } .pv .ok { background: var(--accent); } .pv .ok::after { border-color: #fff; } }

/* ---------- Productos: lo rescatado de Soluciones (para quién, con qué se combina, quién lo usa) */
.prow[id], #mas, #educacion { scroll-margin-top: 100px; }
.ptext .p-who { margin: -2px 0 0; font-size: .98rem; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--accent); }
.ptext .p-combo { margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); }
.p-used { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.ptext .p-who + .ptags { margin-top: 12px; }   /* aire entre la cita y las etiquetas */
.p-used > span { font: 800 .74rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: #3E4865; }
.p-used ul { display: flex; list-style: none; margin: 0; padding: 0; }
.p-used li { width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1px solid #E1E6EF; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 6px 14px -8px rgb(15 30 61 / .35); margin-left: 8px; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.p-used li:first-child { margin-left: 0; }
.p-used li:hover { transform: translateY(-3px); z-index: 1; }
.p-used img { width: 84%; height: 84%; object-fit: contain; }
.p-also { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.p-also article { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; background: #fff; border: 1px solid #DCE3EE;
  box-shadow: 0 30px 60px -48px rgb(15 30 61 / .45); }
.p-also h3 { margin: 0; font-size: 1.3rem; } .p-also p { margin: 0; color: var(--ink-2); }
.p-also .link { justify-self: start; }
@media (max-width: 760px) { .p-also { grid-template-columns: 1fr; } .p-used li { width: 56px; height: 56px; } }

/* =============================================================== PEDIDO DE DEMO */
.dm-head .wrap { display: block; }
.dm-card-head { max-width: 760px; }
.dm-sec { padding-top: 20px; }
.dm-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 28px; align-items: start; }
.dm-form, .dm-done { display: grid; gap: 14px; background: #fff; border: 1px solid #DCE3EE; border-radius: 28px; padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 1px 0 #fff inset, 0 50px 90px -60px rgb(15 30 61 / .45); }
.dm-form[hidden], .dm-done[hidden] { display: none; }
.dm-step { border: 0; margin: 0; padding: 0 0 22px; display: grid; gap: 16px; border-bottom: 1px solid #E6EAF1; }
.dm-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font: 800 clamp(1.15rem, 1.6vw, 1.35rem) var(--head); letter-spacing: -.015em; color: var(--ink); }
.dm-step legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgb(255 114 0 / .16); flex: none; }   /* marca de bloque, sin número */
.dm-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dm-form .field label em { font-style: normal; font-weight: 500; color: #8A92A6; font-size: .86em; margin-left: 4px; }
.dm-form .field.err input, .dm-form .field.err select { border-color: #D93025; box-shadow: 0 0 0 3px rgb(217 48 37 / .12); }
.dm-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dm-chip { position: relative; cursor: pointer; display: grid; }   /* todas las tarjetas de una fila con la misma altura */
.dm-chip span { height: 100%; box-sizing: border-box; }
.dm-chip input, .dm-radios input { position: absolute; opacity: 0; pointer-events: none; }
.dm-chip span { display: grid; gap: 6px; justify-items: start; align-content: center; min-height: 82px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid #DCE3EE; background: #F8FAFD;
  transition: border-color .25s, background .25s, box-shadow .25s, transform .3s cubic-bezier(.16,1,.3,1); }
.dm-chip img { height: 24px; width: auto; }
.dm-chip small { font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.dm-chip b { font: 800 1.02rem var(--head); color: var(--ink); }
.dm-chip:hover span { transform: translateY(-2px); border-color: #C3CCDB; }
.dm-chip input:checked + span { border-color: var(--accent); background: #FFF6EE; box-shadow: 0 0 0 3px rgb(255 114 0 / .15); }
.dm-chip input:checked + span::after { content: ""; position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.dm-chip input:focus-visible + span, .dm-radios input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dm-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-radios label { position: relative; cursor: pointer; }
.dm-radios span { display: grid; gap: 2px; padding: 14px 16px 14px 46px; border-radius: 16px; border: 1.5px solid #DCE3EE; background: #F8FAFD; transition: border-color .25s, background .25s; position: relative; }
.dm-radios span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #B8C1D1; background: #fff; box-sizing: border-box; transition: border .25s; }
.dm-radios input:checked + span { border-color: var(--accent); background: #FFF6EE; }
.dm-radios input:checked + span::before { border: 6px solid var(--accent); }
.dm-radios b { font: 800 1rem var(--head); } .dm-radios small { color: var(--ink-2); font-size: .88rem; }
.dm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.dm-consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.dm-consent { cursor: pointer; }   /* toda la línea marca la casilla */
.dm-consent.err span { color: #B3261E; }
.dm-send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dm-send .btn { padding: 15px 28px; font-size: 1.05rem; }
.dm-done { justify-items: start; text-align: left; outline: none; }
.dm-done h2 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.dm-done p { margin: 0; color: var(--ink-2); max-width: 34em; }
.dm-ok { width: 56px; height: 56px; border-radius: 50%; background: #E3F6EA; position: relative; animation: stPop .5s cubic-bezier(.2,.8,.2,1.4); }
.dm-ok::after { content: ""; position: absolute; left: 21px; top: 13px; width: 11px; height: 22px; border: solid #16A34A; border-width: 0 3px 3px 0; rotate: 42deg; }
.dm-side { display: grid; gap: 14px; position: sticky; top: 110px; }
.dm-box { padding: 26px; border-radius: 26px; background: #0F1E3D; color: #EEF2FA; }
.dm-box h2 { color: #fff; font-size: 1.25rem; margin: 0 0 16px; }
.dm-box ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; }
.dm-box li { position: relative; padding: 0 0 18px 42px; display: grid; gap: 3px; counter-increment: s; }
.dm-box li::before { content: ""; position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .86rem; background: radial-gradient(circle, #FFB27A 0 4px, rgb(255 255 255 / .1) 4.5px); color: #FFB27A; }
.dm-box li b { font-size: 1rem; } .dm-box li span { color: #B7C1D8; font-size: .92rem; }
.dm-note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); color: #D6DEEE; font-size: .92rem; }
.dm-wa { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid #DCE3EE; text-decoration: none; color: var(--ink);
  transition: border-color .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.dm-wa svg { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: #25D366; color: #fff; flex: none; }
.dm-wa span { display: grid; } .dm-wa small { color: var(--ink-2); font-size: .84rem; } .dm-wa b { font-family: var(--head); }
.dm-wa:hover { border-color: #25D366; transform: translateY(-2px); }
@media (max-width: 1000px) { .dm-grid { grid-template-columns: 1fr; } .dm-side { position: static; } .dm-chips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .dm-form .row, .dm-radios { grid-template-columns: 1fr; }
  .dm-form, .dm-done { padding: 22px 16px; border-radius: 22px; }
  .dm-chip span { min-height: 70px; padding: 12px; }
}

/* pedido de demo: lo mínimo arriba; el resto, opcional y plegado */
.dm-more { border: 1.5px dashed #D3DAE6; border-radius: 18px; background: #FAFBFD; }
.dm-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.dm-more summary::-webkit-details-marker { display: none; }
.dm-more summary span { display: grid; gap: 2px; }
.dm-more summary b { font: 800 1.05rem var(--head); color: var(--ink); }
.dm-more summary small { color: var(--ink-2); font-size: .9rem; }
.dm-more summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid #DCE3EE; font: 700 1.2rem/1 var(--head); color: var(--accent-text, #DA5B00); transition: rotate .3s; }
.dm-more[open] summary::after { rotate: 45deg; }
.dm-more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 18px; }
.dm-more-in { display: grid; gap: 14px; padding: 4px 18px 20px; }
.dm-q { margin: 6px 0 0; font: 700 .98rem var(--head); color: var(--ink); }
.dm-q em, .ct-form label em { font-style: normal; font-weight: 500; color: #8A92A6; font-size: .86em; margin-left: 4px; }
.f-err { display: none; color: #B3261E; font-size: .86rem; font-weight: 600; }
.field.err .f-err:not(:empty) { display: block; }
.ct-form .field.err input, .ct-form .field.err textarea { border-color: #D93025; box-shadow: 0 0 0 3px rgb(217 48 37 / .12); }
.dm-form .field.err textarea { border-color: #D93025; }
.form-msg.warn { color: #8A4B00; font-weight: 600; }
.dm-done.pending .dm-ok { background: #FFF1E6; }
.dm-done.pending .dm-ok::after { left: 25px; top: 12px; width: 0; height: 20px; border-width: 0 3.5px 0 0; border-color: var(--accent); rotate: 0deg; box-shadow: 0 26px 0 -0.5px var(--accent); }
@media (max-width: 700px) { .dm-more summary { padding: 14px; } .dm-more-in { padding: 4px 14px 16px; } }
.dm-chip.none { grid-column: 1 / -1; }
.dm-chip.none span { min-height: 0; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; padding-block: 12px; }
