/* Generado por build.py a partir de: styles, mocks, products, carousel, doors, home, header, chat, theme, heads, sky, glass, pd, jopoi, jh, coverflow, deck, video. No editar a mano. */
/* ---- styles.css */
/* Liberty Tech v3
   Idea: la marca son las aves en vuelo. El fondo es aire en movimiento; la página es lectura clara encima.
   Tipografía: Libre Franklin (títulos) + Public Sans (texto). Un acento (naranja de marca), un radio (--r). */

:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #E9ECF1;
  --ink: #0F1E3D;
  --ink-2: #4A5067;
  --line: #D9DDE6;
  --accent: #FF7200;
  --accent-ink: #AD4700;
  --accent-tint: #FFEBDC;
  --on-accent: #0F1E3D;
  --r: 10px;
  --r-s: 6px;
  --max: 1180px;
  --head: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgb(15 30 61 / .06), 0 18px 40px -22px rgb(15 30 61 / .38);
  --glass: rgb(245 246 248 / .72);
}



*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }

h1, h2, h3 { font-family: var(--head); margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.9vw, 3.9rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: .95rem; }
.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r); z-index: 200; }
.skip:focus { left: 8px; }

/* Capas: el fondo animado va detrás de todo */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: var(--r);
  font-family: var(--head); font-weight: 700; font-size: 1.02rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: transform .25s cubic-bezier(.16,1,.3,1), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -14px var(--accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, white); box-shadow: 0 14px 28px -14px var(--accent); }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 55%, transparent); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link { color: var(--accent-ink); font-family: var(--head); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s cubic-bezier(.16,1,.3,1); padding-bottom: 2px; }
.link:hover { background-size: 100% 2px; }
.link::after { content: "\2192"; margin-left: 8px; display: inline-block; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.link:hover::after { transform: translateX(4px); }

/* Header translúcido */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.site-header.scrolled { background: var(--glass); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); border-radius: var(--r); padding: 7px 14px; min-width: 104px; text-decoration: none; color: var(--on-accent); font-family: var(--head); font-weight: 800; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.bar .btn { padding: 11px 20px; font-size: .98rem; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--r); color: var(--ink); padding: 9px 15px; font: 700 .98rem var(--head); cursor: pointer; }

/* Secciones: pocas y con aire */
section { padding-block: 104px; }
.tint { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
.sec-head { margin-bottom: 44px; max-width: 38rem; }
.sec-head p { margin-top: 14px; color: var(--ink-2); }

/* Hero */
.hero { padding-block: 56px 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* Showcase (home) */
.showcase { perspective: 1400px; }
.showcase-inner { transform: rotateY(calc(var(--mx, 0) * -3deg)) rotateX(calc(var(--my, 0) * 2.4deg)); transition: transform .5s cubic-bezier(.16,1,.3,1); transform-style: preserve-3d; }
.stage { display: grid; }
.slide { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1), visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tabs { display: flex; gap: 8px; margin-top: 26px; }
.tab { position: relative; flex: 1; text-align: left; background: none; border: 0; padding: 14px 4px 0; font: 700 1rem var(--head); color: var(--ink-2); cursor: pointer; transition: color .2s; }
.tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); border-radius: 3px; }
.tab::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); border-radius: 3px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { width: 100%; }
.autoplay .tab[aria-selected="true"]::after { width: 0; animation: fill 6.5s linear forwards; }
.paused .tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* Listas simples de lectura */
.rows { display: grid; }
.row-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding-left .35s cubic-bezier(.16,1,.3,1); }
.row-link:last-child { border-bottom: 1px solid var(--line); }
.row-link:hover { padding-left: 14px; }
.row-link .q { font-family: var(--head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; }
.row-link .a { color: var(--ink-2); }
.row-link .a strong { display: block; color: var(--ink); font-family: var(--head); font-size: 1.15rem; margin-bottom: 2px; }
.row-link .go { font-family: var(--head); font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.row-link .go::after { content: " \2192"; display: inline-block; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.row-link:hover .go::after { transform: translateX(5px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps div { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.logos li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logos img { width: 100%; height: 100%; object-fit: contain; }
.sector { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 32px; padding-block: 32px; border-top: 1px solid var(--line); align-items: start; }
.sector:last-of-type { border-bottom: 1px solid var(--line); }
.sector h3 { font-size: 1rem; color: var(--ink-2); font-weight: 600; font-family: var(--body); }
.sector .logos { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.names { display: flex; flex-wrap: wrap; gap: 8px 30px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.015em; margin-top: 22px; }
.names span { white-space: nowrap; }
.note { font-size: .95rem; color: var(--ink-2); margin-top: 22px; }

/* Banda a medida */
.band { background: var(--ink); color: var(--bg); border-radius: var(--r); padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.band h2 { color: var(--bg); max-width: 18em; }
.band p { color: color-mix(in srgb, var(--bg) 72%, transparent); margin-top: 12px; max-width: 32em; }
.band .btn { background: var(--accent); color: #0F1E3D; }

/* Cierre */
.closing h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 17em; margin-bottom: 30px; letter-spacing: -.032em; }

/* Páginas internas */
.page-head { padding-block: 64px 48px; }
.page-head h1 { max-width: 15em; margin-bottom: 20px; }
.crumbs { font-size: .95rem; color: var(--ink-2); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin-inline: 8px; }
.head-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.head-split h1 { max-width: 12em; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.three h3 { margin-bottom: 8px; }
.three p { color: var(--ink-2); }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.pairs h3 { margin-bottom: 6px; }
.pairs p { color: var(--ink-2); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 56px; }
.checks li { padding: 0 0 16px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-2px); }

.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 46rem; }
.price.one { grid-template-columns: minmax(0, 28rem); }
.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.price-box.accent { background: var(--accent-tint); border-color: transparent; }
.price-box h3 { color: var(--ink-2); font-size: 1rem; font-weight: 600; font-family: var(--body); letter-spacing: 0; }
.price-box .amount { font-family: var(--head); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; margin: 8px 0; line-height: 1.1; }
.price-box p:last-child { color: var(--ink-2); font-size: 1rem; }

.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.012em; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.7rem; line-height: .9; color: var(--accent-ink); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--ink-2); max-width: 42em; }
.narrow { max-width: 46rem; }

.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature h2 { margin-bottom: 14px; }
.feature p { color: var(--ink-2); margin-bottom: 22px; max-width: 28em; }
.feature .checks { grid-template-columns: 1fr; gap: 0; margin-bottom: 26px; }
.feature .checks li { padding-bottom: 12px; padding-top: 12px; }
.gap-lg { display: grid; gap: 112px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--ink-2); }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r); margin-bottom: 14px; background: var(--surface-2); }
.person h3 { font-size: 1.1rem; }
.person p { font-size: .98rem; color: var(--ink-2); }
.person .link { font-size: .95rem; display: inline-block; margin-top: 6px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.channels { display: grid; gap: 28px; }
.channels h3 { font-size: .98rem; color: var(--ink-2); margin-bottom: 4px; font-weight: 600; font-family: var(--body); }
.channels a, .channels p { font-family: var(--head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.012em; text-decoration: none; }
.channels a.link { font-size: 1.02rem; letter-spacing: -.005em; }   /* botón secundario en su tamaño estándar */
form { display: grid; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 36px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 1rem; }
.field small { color: var(--ink-2); font-size: .92rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--ink) 40%, var(--bg)); border-radius: var(--r); padding: 14px 15px; width: 100%; }
input:not([type=checkbox]):not([type=radio]), select { box-sizing: border-box; height: 56px; }   /* listas y campos con la misma altura */
select { padding-left: 11px; }   /* el texto de la lista arranca donde el de los campos */
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-msg { font-size: .95rem; color: var(--ink-2); }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger a { text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.3; }
.ledger a:hover { color: var(--accent-ink); }
.ledger small { color: var(--ink-2); font-size: .95rem; white-space: nowrap; }
.prose h2 { font-size: 1.7rem; margin: 56px 0 16px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.draft-note { border: 1.5px dashed var(--ink-2); border-radius: var(--r); padding: 14px 18px; font-size: .95rem; color: var(--ink-2); margin-top: 28px; max-width: 46rem; }

/* Footer */
.site-footer { background: color-mix(in srgb, var(--surface-2) 82%, transparent); padding-block: 72px 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr .9fr 1.3fr; gap: 36px; }
.foot-grid a[href^="https://wa.me"] { white-space: nowrap; }
.foot-grid h4, .foot-grid .foot-h { font: 600 .95rem var(--body); margin: 0 0 14px; color: var(--ink-2); letter-spacing: 0; text-transform: none; max-width: none; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot-about p { color: var(--ink-2); margin-top: 16px; max-width: 22em; font-size: 1rem; }
.legal-line { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: .93rem; color: var(--ink-2); }

/* Movimiento */
@media (prefers-reduced-motion: no-preference) {
  /* Sin opacidad en la entrada: Google mide cuándo se ve lo principal y un texto transparente cuenta como "no visible"
     (auditoría externa, 26/11/2026: 6 s en celular). La entrada se nota igual con el movimiento. */
  main { animation: pageIn .6s cubic-bezier(.16,1,.3,1) both; }
  @keyframes pageIn { from { transform: translateY(8px); } to { transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .rise { opacity: 0; transform: translateY(26px); }
  /* En las páginas internas el encabezado se ve desde el primer momento: solo la portada lo hace aparecer. */
  .js body[data-bg="calm"] .rise { opacity: 1; transform: none; animation: riseIn .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d, 0) * 70ms); }
  @keyframes riseIn { from { transform: translateY(14px); } to { transform: none; } }
  body.ready .rise { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--d, 0) * 110ms + 80ms); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .slide, .card, .logos li { transition: none; } .showcase-inner { transform: none; } }

/* Responsive */
@media (max-width: 1000px) {
  section { padding-block: 76px; }
  .hero-grid, .head-split, .feature, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature.flip .feature-text { order: 0; }
  .three, .steps { grid-template-columns: 1fr; gap: 32px; }
  .pairs, .checks, .cards, .price { grid-template-columns: 1fr; }
  .row-link { grid-template-columns: 1fr; gap: 8px; }
  .band { grid-template-columns: 1fr; padding: 36px 28px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sector { grid-template-columns: 1fr; gap: 14px; }
  .gap-lg { gap: 80px; }
}
@media (max-width: 880px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 22px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; font-size: 1.1rem; border-radius: 0; background: none !important; }
  .bar .btn { display: none; }
  .nav .btn-mobile { display: inline-flex; margin-top: 12px; justify-content: center; background: var(--accent) !important; padding: 15px 24px; }
}
@media (min-width: 881px) { .nav .btn-mobile { display: none; } }
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .wrap { width: min(100% - 32px, var(--max)); }
  .row { grid-template-columns: 1fr; }
  .team { gap: 18px; }
  form { padding: 24px; }
  .ledger li { grid-template-columns: 1fr; gap: 6px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .names { gap: 8px 22px; font-size: 1.1rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .tabs { gap: 4px; }
  .tab { font-size: .92rem; }
}

/* Apertura (solo en la home, una vez por visita) */
#intro { position: fixed; inset: 0; z-index: 300; display: none; background: var(--accent); overflow: hidden; clip-path: inset(0 0 0 0); place-items: center; cursor: pointer; }
.intro-on #intro { display: grid; }
body.intro-lock { overflow: hidden; }
#intro .center { position: relative; display: grid; justify-items: center; gap: 22px; }
#intro .logo { width: min(340px, 64vw); height: auto; opacity: 0; transform: translateY(16px) scale(.98); filter: blur(10px); animation: introLogo 1s .7s cubic-bezier(.16,1,.3,1) forwards; }
#intro .rule { height: 3px; width: 0; background: #0F1E3D; border-radius: 3px; animation: introRule .9s 1.5s cubic-bezier(.76,0,.24,1) forwards; }
#intro .skip-hint { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font: 600 .85rem var(--body); color: rgb(15 30 61 / .6); opacity: 0; animation: introHint .6s 1.2s forwards; }
#intro.out { animation: introLift 1s cubic-bezier(.76,0,.24,1) forwards; }
#intro.out .center { animation: introCenterOut .7s cubic-bezier(.76,0,.24,1) forwards; }
.gull { position: absolute; left: 0; top: 0; width: calc(var(--s, 1) * 60px); height: auto; overflow: visible; opacity: 0; animation: gullFly var(--t, 2.6s) var(--delay, 0s) cubic-bezier(.45,.05,.35,1) forwards; }
.gull path { fill: none; stroke: #0F1E3D; stroke-width: 2.6; stroke-linecap: round; transform-origin: 30px 13px; }
.gull .wl { animation: flapL .42s ease-in-out infinite alternate; }
.gull .wr { animation: flapR .42s ease-in-out infinite alternate; }
@keyframes flapL { from { transform: rotate(0deg); } to { transform: rotate(16deg); } }
@keyframes flapR { from { transform: rotate(0deg); } to { transform: rotate(-16deg); } }
@keyframes gullFly {
  0% { opacity: 0; transform: translate(-12vw, var(--y0)) rotate(-4deg); }
  12% { opacity: .9; }
  88% { opacity: .9; }
  100% { opacity: 0; transform: translate(112vw, var(--y1)) rotate(-9deg); }
}
@keyframes introLogo { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes introRule { to { width: min(340px, 64vw); } }
@keyframes introHint { to { opacity: 1; } }
@keyframes introLift { to { clip-path: inset(0 0 100% 0); } }
@keyframes introCenterOut { to { transform: translateY(-40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #intro { display: none !important; } }

/* Añadidos v3 */
#bg { background: radial-gradient(70vmax 46vmax at 88% -12%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.eyebrow { font: 700 .98rem var(--head); color: var(--accent-ink); margin-bottom: 18px; letter-spacing: .005em; }
.tab small { display: block; font: 500 .88rem var(--body); color: var(--ink-2); margin-top: 2px; }
.caption { font-size: .9rem; color: var(--ink-2); margin-top: 12px; }
.mock .chip.gray { background: #EAECF3; color: #4F5570; }
.lead + .actions { margin-top: 32px; }
.checks.one { grid-template-columns: 1fr; }
.pairs .checks { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
.pairs .checks li { padding-top: 12px; padding-bottom: 12px; }
.price-box .amount.sm { font-size: 1.5rem; }
.rows .row-link .q small { display: block; font: 500 1rem var(--body); color: var(--ink-2); margin-top: 6px; letter-spacing: 0; }
@media (max-width: 1000px) { .mock-wrap { max-width: 640px; } }

/* ===================== Ajustes v3.2 ===================== */

/* Enlaces de acción: ahora son botones secundarios con relleno que barre al pasar el cursor */
.link {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r);
  border: 1.5px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--accent-ink); font: 700 1rem/1.2 var(--head); text-decoration: none; white-space: nowrap;
  transition: color .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s, transform .35s cubic-bezier(.16,1,.3,1);
  background-image: none; padding-bottom: 12px;
}
.link::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.link::after { content: "\2192"; margin-left: 0; display: inline-block; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.link:hover, .link:focus-visible { color: var(--on-accent); border-color: var(--accent); box-shadow: 0 12px 26px -16px var(--accent); background-size: auto; }
.link:hover::before, .link:focus-visible::before { transform: scaleX(1); }
.link:hover::after, .link:focus-visible::after { transform: translateX(5px); }
.link:active { transform: scale(.97); }
.note .link { font-size: .95rem; padding: 10px 16px; }

/* "Ver Rispy" dentro de las filas: mismo botón, reacciona al pasar por toda la fila */
.row-link .go {
  position: relative; isolation: isolate; overflow: hidden; justify-self: end;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: var(--r);
  border: 1.5px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent-ink);
  transition: color .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s;
}
.row-link .go::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.row-link .go::after { content: "\2192"; }
.row-link:hover .go, .row-link:focus-visible .go { color: var(--on-accent); border-color: var(--accent); box-shadow: 0 12px 26px -16px var(--accent); }
.row-link:hover .go::before, .row-link:focus-visible .go::before { transform: scaleX(1); }

/* Bloques translúcidos para lo prioritario.
   El blur suaviza las líneas y aves que pasan por detrás, así el texto nunca compite con el fondo. */
:root { --glass-bg: rgb(255 255 255 / .66); --glass-line: rgb(15 30 61 / .08); --glass-hi: rgb(255 255 255 / .7); --glass-shadow: 0 24px 48px -36px rgb(15 30 61 / .35); }


.glass, .rows, .steps > div, .three > div, .pairs > div, .faq, .ledger, .channels, .prose, .ptext,
.checks:not(.pairs .checks):not(.feature .checks), .price-box, form, .sector-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  border-radius: calc(var(--r) * 1.6);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.price-box.accent { background: color-mix(in srgb, var(--accent-tint) 82%, transparent); }
.glass { padding: 40px 44px; }
.head-card { max-width: 46rem; }
.hero .head-card { max-width: none; }
.head-split .head-card { max-width: none; }
.page-head { padding-block: 48px 40px; }
.closing-card { padding: 48px 52px; display: grid; gap: 4px; }
.closing-card h2 { margin-bottom: 26px; }
.rows { padding: 4px 32px; }
.rows .row-link:first-child { border-top: 0; }
.rows .row-link:last-child { border-bottom: 0; }
.row-link:hover { padding-left: 10px; }
.steps > div { padding: 28px 28px 30px; border-top: 0; position: relative; }
.steps > div::before { content: ""; position: absolute; left: 28px; top: 0; width: 44px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.three > div, .pairs > div { padding: 28px 28px 30px; }
.faq { padding: 4px 32px; }
.faq details:first-child { border-top: 0; }
.faq details:last-child { border-bottom: 0; }
.ledger { padding: 4px 32px; }
.ledger li:first-child { border-top: 0; }
.ledger li:last-child { border-bottom: 0; }
.channels { padding: 32px; }
.prose { padding: 8px 44px 44px; }
.ptext { padding: 32px 34px; }
.checks:not(.pairs .checks):not(.feature .checks) { padding: 28px 32px 12px; }
.sector-wrap { padding: 4px 32px 24px; }
.sector-wrap .sector:first-child { border-top: 0; }

/* Rendimiento: en pantallas chicas el blur se reemplaza por un fondo casi opaco (mismo efecto de lectura, sin costo) */
@media (max-width: 700px) {
  .glass, .rows, .steps > div, .three > div, .pairs > div, .faq, .ledger, .channels, .prose, .ptext,
  .checks:not(.pairs .checks):not(.feature .checks), .price-box, form, .sector-wrap {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
  }
  .glass { padding: 28px 24px; }
  .closing-card { padding: 32px 24px; }
  .rows, .faq, .ledger, .sector-wrap { padding-inline: 20px; }
  .prose { padding: 4px 22px 30px; }
  .ptext { padding: 26px 22px; }
  .row-link .go { justify-self: start; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .rows, .steps > div, .three > div, .pairs > div, .faq, .ledger, .channels, .prose, .ptext, .price-box, form, .sector-wrap { background: color-mix(in srgb, var(--surface) 92%, transparent); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .rows, .steps > div, .three > div, .pairs > div, .faq, .ledger, .channels, .prose, .ptext, .price-box, form, .sector-wrap { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .link::before, .row-link .go::before { transition: none; } }

/* ===================== Botones v4: sin flechas, relleno que nace del cursor y texto que rueda ===================== */
.btn, .link, .row-link .go { position: relative; isolation: isolate; overflow: hidden; }
.btn::before, .link::before, .row-link .go::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fill, var(--ink));
  transform: none; clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
  transition: clip-path .65s cubic-bezier(.16,1,.3,1);
}
.btn:hover::before, .btn:focus-visible::before, .link:hover::before, .link:focus-visible::before,
.row-link:hover .go::before, .row-link:focus-visible .go::before { transform: none; clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.link::after, .row-link .go::after { content: none; }

.btn-primary { --fill: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent); color: var(--bg); box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--ink) 70%, transparent); }
.btn-ghost { --fill: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: transparent; color: var(--bg); border-color: var(--ink); }
.link { --fill: var(--accent); }
.row-link .go { --fill: var(--accent); }
.band .btn { --fill: #fff; }
.band .btn:hover { color: #0F1E3D; }

/* Texto que rueda: la etiqueta sube y entra una copia desde abajo */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { display: block; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.roll::after { content: attr(data-t); content: attr(data-t) / ""; position: absolute; left: 0; right: 0; top: 100%; display: block; transition: transform .55s cubic-bezier(.16,1,.3,1); }
.btn:hover .roll > span, .btn:hover .roll::after, .btn:focus-visible .roll > span, .btn:focus-visible .roll::after,
.link:hover .roll > span, .link:hover .roll::after, .link:focus-visible .roll > span, .link:focus-visible .roll::after,
.row-link:hover .go .roll > span, .row-link:hover .go .roll::after { transform: translateY(-100%); }
.btn:hover { transform: none; }
.btn:active, .link:active { transform: scale(.97); }
.ask::after { content: none; }
@media (prefers-reduced-motion: reduce) {
  .btn::before, .link::before, .row-link .go::before, .roll > span, .roll::after { transition: none; }
}
/* páginas legales */
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; letter-spacing: -.01em; }
.legal ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
.legal-nav { font-weight: 600; }
.legal-date { font-size: .9rem; color: #3E4660 !important; margin-top: -6px; }
/* artículos: guías y comparativas (contenido/articulos/) */
.art-meta { margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.article h2 { font-size: 1.6rem; margin: 52px 0 14px; scroll-margin-top: 110px; }
.article h3 { font-size: 1.2rem; margin: 30px 0 10px; letter-spacing: -.01em; scroll-margin-top: 110px; }
.article h4 { font-size: 1.05rem; margin: 0 0 8px; }
.article > :first-child { margin-top: 0; }
.article ul, .article ol { margin: 12px 0 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 6px; }
.article ul + p, .article ol + p, .article div + p { margin-top: 16px; }
.article strong { color: var(--ink); }
.article a:not(.btn) { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.article blockquote { margin: 24px 0; padding: 16px 22px; border-left: 3px solid var(--accent); background: var(--accent-tint); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); }
.article .toc { margin: 24px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.article .toc p { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.article .toc ol { margin: 0; gap: 2px; }
.article .toc a { text-decoration: none; }
.article .highlight-box, .article .warning-box, .article .danger-box, .article .success-box, .article .fix {
  margin: 24px 0; padding: 16px 20px; border-radius: var(--r); border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); color: var(--ink-2); }
.article .highlight-box { background: var(--accent-tint); border-color: #F6D2B6; border-left-color: var(--accent); }
.article .warning-box { border-left-color: #C98A00; }
.article .danger-box { border-left-color: #C2412D; }
.article .success-box { border-left-color: #2F8F5B; }
.article .highlight-box p, .article .warning-box p, .article .danger-box p, .article .success-box p { margin: 0; }
.article .error-card { margin: 22px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.article .error-card h3 { margin-top: 0; display: flex; gap: 10px; align-items: center; }
.article .error-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; }
.article .error-card .fix { margin: 14px 0 0; border-left-color: #2F8F5B; }
.article .versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.article .versus > div { padding: 16px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.article .versus .after { border-color: #F6D2B6; background: var(--accent-tint); }
.article .sources { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.art-table { margin: 22px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.art-table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.art-table th { text-align: left; padding: 12px 16px; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 600; }
.art-table td { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.art-table tr:nth-child(even) td { background: var(--bg); }
.vs-table td.yes::before { content: "✓ "; color: #2F8F5B; font-weight: 700; }
.vs-table td.no { color: #A13A28; }
.vs-table td.mid { color: #8A6500; }
.vs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 8px; }
.vs-col { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.vs-col p { margin: 0; }
.vs-col ul { margin-top: 8px; }
.vs-liberty { border-color: #F6D2B6; background: var(--accent-tint); }
.art-note { margin-top: 36px; font-size: .9rem; }
@media (max-width: 720px) { .vs-pair, .article .versus { grid-template-columns: 1fr; } }
.head-card:has(.art-meta) h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }

/* Enlace descriptivo a la página hermana (Rispy <-> soluciones para clínicas) */
.see-also { margin-top: 26px; }

/* Tablas comparativas con muchas columnas: se deslizan de costado en vez de partir las palabras */
.art-table.wide table { min-width: 920px; }

/* ---- mocks.css */
/* Maquetas de producto. Aspecto de aplicación fijo (claro), independiente del tema de la página.
   Todo el tamaño sale de em; el cuerpo escala con el ancho de la maqueta (container queries). */

.mock-wrap { position: relative; }
.mock {
  --m-bg: #F3F5F9; --m-s: #FFFFFF; --m-ink: #17294D; --m-mute: #666C86; --m-line: #E3E6EE; --m-side: #0E1C3A;
  --m-ok: #17794F; --m-okbg: #DDF4E8; --m-warn: #9A5600; --m-warnbg: #FFEFD4; --m-info: #2850C8; --m-infobg: #E3EAFF; --m-bad: #B13030; --m-badbg: #FBE3E3;
  --m-acc: #FF7200; --m-acc-bg: #FFF0E3;
  container-type: inline-size;
  border-radius: var(--r); overflow: hidden; background: var(--m-s); color: var(--m-ink);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  box-shadow: 0 2px 4px rgb(15 30 61 / .06), 0 44px 80px -42px rgb(15 30 61 / .55);
  font-family: var(--body); line-height: 1.35; text-align: left; font-weight: 400;
}
.mock * { box-sizing: border-box; }
.mock p, .mock b, .mock small { margin: 0; }
.mock b { font-weight: 700; }

.mock-bar { display: flex; align-items: center; gap: .7em; padding: .75em 1em; background: #E9ECF3; border-bottom: 1px solid var(--m-line); font-size: clamp(7px, 1.55cqw, 12px); }
.mock-bar i { width: .85em; height: .85em; border-radius: 50%; background: #C5CAD8; flex: none; }
.mock-bar span { margin-left: .8em; background: #fff; border-radius: .5em; padding: .3em 1em; color: var(--m-mute); font-weight: 500; flex: 0 1 22em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mock-body { display: grid; grid-template-columns: 17% minmax(0, 1fr); aspect-ratio: 16 / 10.2; font-size: clamp(6.8px, 1.72cqw, 14px); }
.m-side { background: var(--m-side); color: #B9BDD6; padding: 1.4em .9em; display: flex; flex-direction: column; gap: .3em; }
.m-brand { display: flex; align-items: center; gap: .55em; font: 800 1.55em/1 var(--head); color: #fff; letter-spacing: -.02em; margin: 0 .3em 1.3em; }
.m-brand::before { content: ""; width: .8em; height: .8em; border-radius: .22em; background: var(--m-acc); flex: none; }
.m-nav { padding: .65em .85em; border-radius: .6em; font-weight: 600; white-space: nowrap; }
.m-nav.on { background: rgb(255 114 0 / .2); color: #fff; box-shadow: inset .22em 0 0 var(--m-acc); }
.m-user { margin-top: auto; display: flex; align-items: center; gap: .6em; padding: .6em .4em 0; color: #8C90AE; font-size: .92em; border-top: 1px solid rgb(255 255 255 / .1); }
.m-user i { width: 2em; height: 2em; border-radius: 50%; background: #2B2F4D; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; font-size: .85em; flex: none; }

.m-main { background: var(--m-bg); padding: 1.35em 1.5em; display: flex; flex-direction: column; gap: 1.05em; min-width: 0; overflow: hidden; }
.m-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.m-title { font: 700 1.6em/1.1 var(--head); letter-spacing: -.02em; }
.m-sub { color: var(--m-mute); font-size: .95em; margin-top: .2em; }
.m-btn { background: var(--m-acc); color: #17294D; font-weight: 700; padding: .6em 1.1em; border-radius: .6em; white-space: nowrap; font-family: var(--head); }

.m-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85em; }
.m-kpi { background: #fff; border: 1px solid var(--m-line); border-radius: .8em; padding: .85em 1em; min-width: 0; }
.m-kpi small { display: block; color: var(--m-mute); font-size: .92em; }
.m-kpi b { display: block; font: 700 1.65em/1.15 var(--head); letter-spacing: -.025em; margin-top: .15em; white-space: nowrap; }
.m-kpi em { font-style: normal; font-size: .88em; font-weight: 700; color: var(--m-ok); }

.m-card { background: #fff; border: 1px solid var(--m-line); border-radius: .8em; overflow: hidden; min-width: 0; }
.m-card > header { padding: .75em 1em; border-bottom: 1px solid var(--m-line); font-weight: 700; display: flex; justify-content: space-between; gap: 1em; font-family: var(--head); }
.m-card > header span { color: var(--m-mute); font-weight: 500; font-family: var(--body); }
.m-row { display: grid; grid-template-columns: 3.5em minmax(0, 1fr) auto; gap: .9em; align-items: center; padding: .7em 1em; border-bottom: 1px solid var(--m-line); }
.m-row:last-child { border-bottom: 0; }
.m-row time { color: var(--m-mute); font-variant-numeric: tabular-nums; font-weight: 600; }
.m-row b { display: block; }
.m-row small { color: var(--m-mute); font-size: .92em; }
.m-row.hot { background: var(--m-acc-bg); }
.chip { display: inline-block; padding: .18em .75em; border-radius: 99px; font-weight: 700; font-size: .9em; white-space: nowrap; }
.chip.ok { background: var(--m-okbg); color: var(--m-ok); }
.chip.warn { background: var(--m-warnbg); color: var(--m-warn); }
.chip.info { background: var(--m-infobg); color: var(--m-info); }
.chip.bad { background: var(--m-badbg); color: var(--m-bad); }
.chip.acc { background: var(--m-acc); color: #17294D; }
.m-note { font-size: .85em; color: var(--m-mute); margin-top: auto; }

/* Compy */
.m-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .85em; flex: 1; min-height: 0; }
.m-bars { display: flex; align-items: flex-end; gap: .55em; height: 8.2em; padding: 1em 1em .4em; }
.m-bars i { flex: 1; border-radius: .3em .3em 0 0; background: #FFD6B5; height: var(--h); transform-origin: bottom; }
.m-bars i.now { background: var(--m-acc); }
.m-axis { display: flex; justify-content: space-between; padding: 0 1em .8em; color: var(--m-mute); font-size: .85em; }
.m-alert { display: flex; justify-content: space-between; gap: .8em; align-items: center; padding: .65em 1em; border-bottom: 1px solid var(--m-line); }
.m-alert:last-child { border-bottom: 0; }

/* Conversa */
.mock.crm .mock-body { grid-template-columns: 25% minmax(0, 1fr) 28%; }
.m-inbox { background: #fff; border-right: 1px solid var(--m-line); display: flex; flex-direction: column; min-width: 0; }
.m-inbox header { padding: 1.1em 1em .7em; font: 700 1.25em var(--head); }
.m-chatrow { padding: .75em 1em; border-top: 1px solid var(--m-line); display: grid; gap: .1em; }
.m-chatrow b { display: flex; justify-content: space-between; gap: .5em; }
.m-chatrow b span { font-weight: 500; color: var(--m-mute); font-size: .85em; }
.m-chatrow small { color: var(--m-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-chatrow.on { background: var(--m-acc-bg); box-shadow: inset .22em 0 0 var(--m-acc); }
.m-chat { background: #EEE9E0; display: flex; flex-direction: column; min-width: 0; }
.m-chat header { background: #fff; border-bottom: 1px solid var(--m-line); padding: .85em 1.1em; display: flex; justify-content: space-between; align-items: center; gap: .8em; }
.m-chat header b { font-family: var(--head); }
.m-msgs { flex: 1; min-height: 0; overflow: hidden; padding: 1.1em 1.1em 1.5em; display: flex; flex-direction: column; gap: .6em; justify-content: flex-end; }   /* la última burbuja no toca el borde */
.msg { max-width: 82%; padding: .6em .9em; border-radius: .2em .9em .9em .9em; background: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
.msg.me { align-self: flex-end; background: #DDF4C9; border-radius: .9em .2em .9em .9em; }
.msg small { display: block; color: var(--m-mute); font-size: .82em; margin-top: .15em; text-align: right; }
.msg.me small { color: #4F5A70; }
.msg .tag { display: inline-block; font-size: .78em; font-weight: 700; background: var(--m-ink); color: #fff; padding: .05em .55em; border-radius: 99px; margin-bottom: .3em; }
.m-lead { background: #fff; border-left: 1px solid var(--m-line); padding: 1.1em 1em; display: flex; flex-direction: column; gap: .8em; min-width: 0; }
.m-lead .t { font: 700 1.2em var(--head); }
.m-field small { display: block; color: var(--m-mute); font-size: .88em; }
.m-field b { display: block; }
.m-lead .m-btn { text-align: center; margin-top: auto; }

/* Animación: solo cuando la maqueta entra en juego (.play) */
@media (prefers-reduced-motion: no-preference) {
  .js .mock:not(.play) .a { opacity: 0; }
  .js .mock:not(.play) .m-bars i { transform: scaleY(0); }
  .mock.play .a { animation: mIn .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
  .mock.play .a.late { animation-delay: calc(var(--i, 0) * 110ms + 250ms); animation-duration: .9s; }
  .mock.play .m-bars i { animation: mBar 1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 70ms + 500ms); }
  .mock.play .chip.pulse { animation: mPulse 1.8s 1.6s ease-in-out infinite; }
  .mock.play .msg.a { animation-name: mMsg; animation-duration: .55s; animation-delay: calc(var(--i, 0) * 1000ms + 400ms); }
  .mock.play .m-row.hot.a { animation-name: mHot; }
}
@keyframes mIn { from { opacity: 0; transform: translateY(.8em); } to { opacity: 1; transform: none; } }
@keyframes mMsg { from { opacity: 0; transform: translateY(.7em) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mPulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(40 80 200 / .0); } 50% { box-shadow: 0 0 0 .45em rgb(40 80 200 / .16); } }
@keyframes mHot { 0% { opacity: 0; transform: translateY(-.8em); background: #FFD3AE; } 60% { opacity: 1; transform: none; background: #FFD3AE; } 100% { opacity: 1; transform: none; background: var(--m-acc-bg); } }

/* Maquetas chicas: sin barra lateral, texto más legible */
@container (max-width: 520px) {
  .mock-body { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; font-size: clamp(10.5px, 3cqw, 12px); }   /* en celular el texto chico queda en unos 9 px */
  .mock-bar { font-size: 10px; }
  .m-side { display: none; }
  .m-main { padding: 1.1em 1.1em 1.3em; }
  .m-kpi b { font-size: 1.4em; }
  .m-split { grid-template-columns: 1fr; }
  .m-split .m-card:nth-child(2) { display: none; }
  .m-bars { height: 6em; }
  .mock.crm .mock-body { grid-template-columns: minmax(0, 1fr); }
  .m-inbox, .m-lead { display: none; }
  .m-msgs { min-height: 22em; }
  .m-row.drop { display: none; }
}

/* Ajustes */
.m-alert b { display: block; }
.m-alert small { color: var(--m-mute); font-size: .92em; }
.m-split .m-card { display: flex; flex-direction: column; }
.m-split .m-bars { flex: 1; height: auto; min-height: 7em; }

/* RispyOdo: odontograma FDI por caras */
.mock.odo .m-main { gap: .8em; }
.m-odo { padding-bottom: .5em; }
.m-teeth { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: .25em; padding: .55em .8em 0; }
.m-teeth.lo { padding-top: .35em; }
.m-teeth .t { display: grid; justify-items: center; gap: .1em; min-width: 0; }
.m-teeth .t small { font-size: .72em; color: var(--m-mute); font-variant-numeric: tabular-nums; }
.m-teeth.lo .t { grid-template-rows: auto auto; }
.m-teeth.lo .t small { order: 2; }
.m-teeth .t:nth-child(8) { margin-right: .35em; }
.m-teeth svg { width: 100%; max-width: 2em; aspect-ratio: 1; display: block; }
.m-teeth polygon { stroke: #C5CBD9; stroke-width: .9; stroke-linejoin: round; }
.m-teeth .f { fill: #fff; }
.m-teeth .car { fill: #E25B4B; }
.m-teeth .res { fill: #3E63C9; }
.m-teeth .plan { fill: var(--m-acc); }
.m-teeth .t.cor svg { outline: .14em solid var(--m-acc); outline-offset: .06em; border-radius: .2em; }
.m-teeth .t.aus svg { opacity: .3; }
.m-teeth .t.aus::after { content: ""; position: relative; margin-top: -1.95em; width: 1.6em; height: .14em; background: var(--m-ink); transform: rotate(-45deg); border-radius: 1em; }
.m-legend { display: flex; gap: 1em; padding: .5em .8em 0; font-size: .82em; color: var(--m-mute); }
.m-legend span::before { content: ""; display: inline-block; width: .8em; height: .8em; border-radius: .2em; margin-right: .35em; vertical-align: -.1em; }
.m-legend .car::before { background: #E25B4B; } .m-legend .res::before { background: #3E63C9; } .m-legend .plan::before { background: var(--m-acc); }
.mock.odo .m-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.mock.odo .m-row { grid-template-columns: 2.2em minmax(0, 1fr) auto; padding: .5em .8em; }
.mock.odo .m-row time { font-weight: 800; color: var(--m-ink); }
.m-fin { display: grid; align-content: start; gap: .3em; padding: .8em .9em; }
.m-fin small { color: var(--m-mute); font-size: .9em; }
.m-fin b { font: 700 1.45em/1.1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.m-fin em { font-style: normal; font-size: .88em; font-weight: 700; color: var(--m-ok); }
.m-fin .chip { justify-self: start; width: fit-content; margin-top: .3em; font-size: .8em; }

/* ---- products.css */
/* Página de productos: escenas conceptuales.
   La gaviota de Liberty traza lo que resuelve cada producto y las gaviotas del logo llegan a su lugar.
   La animación es SMIL dentro de cada SVG; el JS solo la pausa, la reinicia y la retoma. */

.prod-hero { padding-block: 72px 24px; }
.prod-hero h1 { max-width: 13em; margin-bottom: 18px; }

.prow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; align-items: center; }
.prow.flip { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.prow.flip .pstage { order: 2; }
.prow + .prow { margin-top: 112px; }
.ptext h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.ptext p { color: var(--ink-2); margin-bottom: 20px; max-width: 24em; }
.ptags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ptags span { font: 600 .92rem var(--body); padding: 6px 13px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }

.pstage { position: relative; border-radius: calc(var(--r) * 2); overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 34%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--surface);
  box-shadow: 0 1px 2px rgb(15 30 61 / .04), 0 40px 70px -48px rgb(15 30 61 / .35); }
.scene { display: block; width: 100%; height: auto; }
.scene .em { fill: none; stroke: #F8680C; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.scene .pulse { fill: none; stroke: #FFC79A; stroke-width: 3; stroke-opacity: .85; stroke-linecap: round; stroke-linejoin: round; }
.scene .ink { fill: var(--ink); }
.scene .soft { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.scene .hole { fill: var(--surface); }
.scene .grid-dot { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.scene .ink-line { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.scene .ink-line.thin { stroke-width: 3; opacity: .45; }
.scene .ink-line.gate { stroke-width: 9; }
.scene .soft-line { fill: none; stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 3; stroke-linecap: round; }

.pmore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pmore .ptext { margin-top: 22px; }
.pmore .ptext p { margin-bottom: 14px; }


@media (max-width: 1000px) {
  .prow, .prow.flip { grid-template-columns: 1fr; gap: 28px; }
  .prow.flip .pstage { order: 0; }
  .prow + .prow { margin-top: 80px; }
  .pmore { grid-template-columns: 1fr; }
}
.scene .em-glow { fill: none; stroke: #F8680C; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; opacity: .1; }

/* ---- carousel.css */
/* Carrusel giratorio de clientes (adaptado del Round Carousel de Originkit a HTML/CSS/JS sin dependencias). */
.rc { --rc-w: clamp(118px, 13vw, 184px); display: grid; gap: 18px; }
.rc-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rc-tab {
  position: relative; isolation: isolate; overflow: hidden; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: var(--r);
  font: 700 1rem var(--head); color: var(--ink); background: var(--glass-bg);
  border: 1.5px solid var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: color .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s;
}
.rc-tab span { font: 600 .82rem var(--body); padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.rc-tab::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.rc-tab:hover { border-color: var(--accent); }
.rc-tab[aria-selected="true"] { color: var(--on-accent); border-color: var(--accent); box-shadow: 0 12px 26px -16px var(--accent); }
.rc-tab[aria-selected="true"]::before { transform: scaleX(1); }
.rc-tab[aria-selected="true"] span { background: rgb(15 30 61 / .14); }

.rc-stage {
  position: relative; height: calc(var(--rc-w) * 2); display: flex; align-items: center; justify-content: center;
  overflow: hidden; perspective: 3000px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  /* los costados se desvanecen: el anillo parece salir y volver desde el fondo */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  outline-offset: -3px;
}
.rc-stage.grabbing { cursor: grabbing; }
.rc-tilt { transform-style: preserve-3d; transform: rotateX(-7deg); }
.rc-ring { position: relative; width: var(--rc-w); height: var(--rc-w); transform-style: preserve-3d; transition: opacity .45s ease, filter .45s ease; }
.rc-ring.leaving { opacity: 0; filter: blur(6px); }
.rc-ring.entering { opacity: 0; }
.rc-item { position: absolute; inset: 0; transform-style: preserve-3d; }
.rc-face {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgb(15 30 61 / .25); border: 1px solid #DCDFE7;
}
.rc-face img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rc-back { transform: rotateY(180deg); opacity: .22; }   /* el dorso, transparente en vez de teñido */

@media (max-width: 700px) { .rc-tab { -webkit-backdrop-filter: none; backdrop-filter: none; } .rc-stage { height: calc(var(--rc-w) * 2.3); } }

/* ---------- v8: un bloque por rubro, con menú de rubros fijo arriba */
html { scroll-padding-top: 170px; }
.cl-nav-wrap { position: sticky; top: 84px; z-index: 30; padding-block: 8px 0; }
.cl-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 6px; border-radius: 18px; background: rgb(255 255 255 / .92); border: 1px solid #DDE0E8; box-shadow: 0 20px 40px -32px rgb(15 30 61 / .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cl-tab { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 13px; text-decoration: none; color: #0F1E3D; transition: background-color .35s, color .35s; }
.cl-tab + .cl-tab { box-shadow: inset 1px 0 0 #E5E7EE; }
.cl-tab:hover { background: #F3F4F7; }
.cl-tab.on { background: #0F1E3D; color: #fff; box-shadow: none; }
.cl-tab.on + .cl-tab { box-shadow: none; }
.cl-thumbs { display: flex; flex: none; }
.cl-thumbs img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1px #DDE0E8; margin-left: -10px; }
.cl-thumbs img:first-child { margin-left: 0; }
.cl-tab.on .cl-thumbs img { box-shadow: 0 0 0 1px rgb(255 255 255 / .2); }
.cl-tx { display: grid; line-height: 1.2; }
.cl-tx b { font: 700 1rem var(--head); }
.cl-tx small { font-size: .85rem; color: #545A70; }
.cl-tab.on .cl-tx small { color: #AEB3C7; }

.cl-block { padding-block: 72px 40px; }
.cl-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px; align-items: center; }
.cl-block.flip .cl-copy { order: 2; }
.cl-block.flip .cl-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.cl-copy { display: grid; gap: 12px; justify-items: start; }
.cl-n { font: 700 .9rem var(--head); color: var(--accent-ink); letter-spacing: .04em; }
.cl-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cl-count { color: #3A4055; }
.cl-count b { font: 800 1.5rem var(--head); color: #0F1E3D; margin-right: 4px; }
.cl-copy > p:not(.cl-count) { color: #3A4055; max-width: 24em; }
.cl-copy .link { margin-top: 6px; }
.cl-block .rc { --rc-w: clamp(110px, 10.5vw, 158px); }
.cl-block .rc-stage { height: calc(var(--rc-w) * 2.1); }
.cl-block + .cl-block { padding-top: 40px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 150px; }
  .cl-nav-wrap { top: 76px; }
  .cl-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; }
  .cl-tab { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; }
  .cl-thumbs img { width: 26px; height: 26px; margin-left: -8px; }
  .cl-tx b { font-size: .82rem; }
  .cl-tx small { font-size: .74rem; }
  .cl-grid, .cl-block.flip .cl-grid { grid-template-columns: 1fr; gap: 16px; }
  .cl-block.flip .cl-copy { order: 0; }
  .cl-block { padding-block: 48px 16px; }
  .cl-block .rc { --rc-w: 118px; }
}
.cl-nav-wrap { background: linear-gradient(#fff 72%, rgb(255 255 255 / 0)); padding-block: 10px 22px; top: 74px; }
@media (max-width: 900px) {
  .cl-nav-wrap { position: static; background: none; padding-block: 4px 0; }
  .cl-tab { flex-direction: row; justify-content: center; padding: 10px 6px; }
  .cl-thumbs { display: none; }
  .cl-tx b { font-size: .86rem; }
}

/* ---- doors.css */
/* Home: "Elegí por lo que necesitás resolver" como tres puertas.
   La que mirás se abre: el trazo del producto se dibuja de fondo, el logo crece y sus gaviotas llegan volando. */
.doors { display: flex; gap: 14px; height: clamp(420px, 40vw, 500px); }
.door {
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0;
  display: grid; grid-template-rows: auto 1fr auto auto; padding: 30px 30px 28px; border-radius: 24px; text-decoration: none; color: var(--ink);
  background: var(--glass-bg); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: flex-grow .8s cubic-bezier(.16,1,.3,1), border-color .4s, box-shadow .5s;
}
.door.is-open { flex-grow: 2.3; border-color: color-mix(in srgb, var(--accent) 40%, var(--glass-line)); box-shadow: inset 0 1px 0 var(--glass-hi), 0 40px 70px -46px color-mix(in srgb, var(--accent) 70%, transparent); }
/* luz que sigue al cursor dentro de la puerta */
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}
.door:hover::before, .door.is-open::before { opacity: 1; }

.door-need { font: 700 clamp(1.25rem, 1.7vw, 1.6rem)/1.15 var(--head); letter-spacing: -.02em; max-width: 14em; text-wrap: balance; transition: transform .8s cubic-bezier(.16,1,.3,1); }

.door-line { position: absolute; left: -4%; right: -4%; top: 21%; width: 108%; height: 30%; z-index: -1; overflow: visible; pointer-events: none; }
.door-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.door-line .base { stroke: color-mix(in srgb, var(--ink) 10%, transparent); stroke-width: 2; }
.door-line .draw { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.door.is-open .door-line .draw { opacity: 1; animation: doorDraw 1.4s .1s cubic-bezier(.45,0,.3,1) forwards; }
@keyframes doorDraw { to { stroke-dashoffset: 0; } }

.door-logo { align-self: end; display: block; width: min(100%, calc(var(--r, 2.5) * 88px)); transition: width .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.door.is-open .door-logo { width: min(100%, calc(var(--r, 2.5) * 124px)); }
.door-logo .plogo { display: block; width: 100%; height: auto; overflow: visible; }
.door .ink { fill: var(--ink); }
.door .plogo g { transform-box: fill-box; }
.door .plogo .pl-gull { transform-origin: 50% 50% !important; }
.door .plogo .pl-l { transform-origin: 50% 100% !important; }
.door.is-open .pl-gull { animation: doorGull 1.3s cubic-bezier(.22,.8,.3,1) both; animation-delay: calc(var(--i, 0) * 160ms + 250ms); }
.door.is-open .pl-l { animation: doorLetter .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.door .pl-dot path { transform-box: fill-box; transform-origin: 50% 50%; }
.door.is-open .pl-dot path { animation: typing 1.3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 160ms + .9s); }
@keyframes doorGull { 0% { opacity: 0; transform: translate(-220%, -120%) rotate(-16deg) scale(.6); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes doorLetter { from { transform: translateY(14%); opacity: .4; } to { transform: none; opacity: 1; } }

.door-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px; margin-top: 0; max-height: 0; opacity: 0; transform: translateY(12px); overflow: hidden;
  transition: max-height .7s cubic-bezier(.16,1,.3,1), opacity .4s, transform .7s cubic-bezier(.16,1,.3,1), margin-top .7s cubic-bezier(.16,1,.3,1); }
.door.is-open .door-more { max-height: 160px; opacity: 1; transform: none; margin-top: 22px; transition-delay: .15s; }
.door-txt { color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-width: 26em; }
.door .go {
  display: inline-flex; align-items: center; padding: 12px 20px; border-radius: var(--r); white-space: nowrap;
  font: 700 1rem/1.2 var(--head); color: var(--on-accent); background: var(--accent); --fill: var(--ink);
}
.door .go::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--ink); clip-path: circle(0% at 50% 50%); transition: clip-path .65s cubic-bezier(.16,1,.3,1); }
.door .go { position: relative; isolation: isolate; overflow: hidden; }
.door .go:hover { color: var(--bg); }
.door .go:hover::before { clip-path: circle(150% at 50% 50%); }
.door .go .roll > span, .door .go .roll::after { transition: transform .55s cubic-bezier(.16,1,.3,1); }
.door .go:hover .roll > span, .door .go:hover .roll::after { transform: translateY(-100%); }

@media (max-width: 900px) {
  .doors { flex-direction: column; height: auto; }
  .door, .door.is-open { flex: none; grid-template-rows: none; gap: 14px; padding: 26px 24px 24px; min-height: 0; }
  .door-need { order: -1; }
  .door-line { position: static; width: 100%; height: 86px; margin: 2px 0 -4px; }
  .door-logo, .door.is-open .door-logo { width: min(80%, calc(var(--r, 2.5) * 96px)); }
  .door-more { max-height: none; opacity: 1; transform: none; margin-top: 4px; grid-template-columns: 1fr; }
  .door .go { justify-self: start; }
  .door .door-line .draw { opacity: 1; stroke-dashoffset: 0; animation: none; }
}
@media (max-width: 700px) { .door { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--surface) 92%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .door, .door-logo, .door-more { transition: none; }
  .door.is-open .pl-gull, .door.is-open .pl-l, .door.is-open .pl-dot path { animation: none; }
  .door.is-open .door-line .draw { animation: none; stroke-dashoffset: 0; }
}
@keyframes typing { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-38%); } }

/* ---------- Puertas chicas: dos soluciones más, sin competir con las tres principales */
.doors-more { margin-top: 18px; display: grid; gap: 12px; }
.dm-label { font: 600 .95rem var(--body); color: #4A5067; }
/* Una sola columna siempre (antes dos, de ancho fijo: cualquier texto largo pisaba el logo o la línea). */
.doors.sm { height: auto; gap: 14px; align-items: stretch; }
.doors.sm .door { padding: 24px 26px; border-radius: 20px; display: flex; flex-direction: column; gap: 10px; }
.doors.sm .door.is-open { flex-grow: 1.7; }
.doors.sm .door-need { font-size: 1.2rem; }
.doors.sm .door-line { display: none; }
.doors.sm .door-logo { width: calc(var(--r, 2.5) * 50px); margin-top: auto; }
.doors.sm .door.is-open .door-logo { width: calc(var(--r, 2.5) * 58px); }
.doors.sm .door-more { display: grid; grid-template-columns: 1fr; justify-items: start; text-align: left; gap: 12px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s cubic-bezier(.16,1,.3,1), opacity .4s; }
.doors.sm .door.is-open .door-more { max-height: 220px; opacity: 1; }
.doors.sm .door-txt { font-size: 1rem; line-height: 1.5; }
.doors.sm .go { padding: 12px 18px; font-size: .98rem; }
@media (max-width: 900px) {
  .doors.sm .door { padding: 18px 20px; gap: 10px; }
  .doors.sm .door-need { font-size: 1.05rem; }
  .doors.sm .door-logo { width: calc(var(--r, 2.5) * 40px); }
  .doors.sm .door.is-open .door-logo { width: calc(var(--r, 2.5) * 40px); }
  .doors.sm .door-txt { font-size: .92rem; }
  .doors.sm .go { padding: 9px 14px; font-size: .9rem; }
}

/* ---------- Puerta grande: Rispy, el producto principal. Ocupa todo el ancho (ya no comparte
   fila con otras dos), así que tiene su propio diseño en dos columnas con el logo protagonista. */
.doors-main { height: auto; }
.door.door-big { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr; column-gap: 48px; padding: 48px 52px; }
.door.door-big .door-need { grid-column: 1; grid-row: 1; font-size: clamp(1.8rem, 2.8vw, 2.4rem); max-width: none; }
.door-big .door-line { display: none; }
.door.door-big .door-logo { grid-column: 2; grid-row: 1 / 3; justify-self: center; align-self: center; width: min(100%, 360px); }
.door.door-big .door-more { grid-column: 1; grid-row: 2; align-self: start; max-height: none; opacity: 1; transform: none; margin-top: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.door-big .door-txt { font-size: 1.15rem; line-height: 1.6; max-width: 30em; }
.door-big .door-big-btns { gap: 14px; }
.door-big .go { padding: 14px 22px; font-size: 1.02rem; }
@media (max-width: 900px) {
  .door.door-big { grid-template-columns: 1fr; grid-template-rows: none; padding: 32px 26px; gap: 18px; }
  .door.door-big .door-logo { grid-column: 1; grid-row: auto; width: min(68%, 260px); justify-self: start; }
  .door.door-big .door-more { grid-column: 1; grid-row: auto; margin-top: 4px; }
}

/* ---- home.css */
/* Home: "Lo que deja de pasar" y "Vamos a tu negocio". */

/* ---------- Dolores que se tachan al pasar por pantalla */
.pains { list-style: none; margin: 0; padding: 6px 36px; counter-reset: pain; }
.pain { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.pain:first-child { border-top: 0; }
.pain-old { font: 700 clamp(1.25rem, 2.1vw, 1.75rem)/1.22 var(--head); letter-spacing: -.02em; color: var(--ink); transition: color .8s; }
.pain-old span {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / 0% 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.65,0,.35,1);
}
.pain-new { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--ink); font-size: 1.05rem; line-height: 1.45;
  opacity: 0; transform: translateX(-14px); transition: opacity .6s .45s, transform .8s .45s cubic-bezier(.16,1,.3,1); }
.pain-txt { flex: 1 1 15em; }
.pain-chips { display: inline-flex; gap: 6px; }
.pain-chips img { width: auto; height: 22px; padding: 7px 11px; border-radius: 10px; background: #fff; border: 1px solid rgb(15 30 61 / .07); box-sizing: content-box; }
.pain.in .pain-old { color: var(--ink-2); }
.pain.in .pain-old span { background-size: 100% 3px; }
.pain.in .pain-new { opacity: 1; transform: none; }
.no-io .pain .pain-new { opacity: 1; transform: none; }

.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.promise { display: grid; gap: 4px; padding: 22px 22px 24px; border-radius: calc(var(--r) * 1.6); border: 1px solid var(--glass-line); background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 var(--glass-hi); }
.promise b { font: 700 1.3rem/1.15 var(--head); letter-spacing: -.02em; }
.promise span { color: var(--ink-2); font-size: .98rem; }

/* ---------- Visita */
.visit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: stretch; }
.visit-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.visit-copy h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.visit-copy p { color: var(--ink-2); font-size: 1.15rem; max-width: 26em; }
.visit-team span:last-child { max-width: 15em; }
.visit-team { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--ink-2); }
.faces { display: inline-flex; flex: none; }
.faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--surface); margin-left: -12px; background: var(--surface-2); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.faces img:first-child { margin-left: 0; }
.faces:hover img { transform: translateX(calc(var(--k, 0) * 6px)); }
.faces img:nth-child(2) { --k: 1; } .faces img:nth-child(3) { --k: 2; }
.visit-copy .actions { margin-top: 6px; }

.visit-route { padding: 18px 18px 22px; display: grid; gap: 10px; }
.visit-map { display: block; width: 100%; height: auto; }
.visit-map .v-dot { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.visit-map .v-road { fill: none; stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.visit-map .v-done { fill: none; stroke: #F8680C; stroke-width: 6; stroke-linecap: round; }
.visit-map .v-fill { fill: var(--ink); }
.visit-map .v-num { fill: var(--bg); font: 700 15px var(--head); }
.visit-map .v-door { fill: #F8680C; }
.visit-map .v-ring { fill: none; stroke: #F8680C; stroke-width: 2; }
.visit-map .v-gull { fill: var(--accent); stroke: none; }

.vsteps { list-style: none; margin: 0; padding: 0 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vstep { display: grid; gap: 4px; padding-top: 14px; border-top: 3px solid var(--line); position: relative; }
.vstep::before { content: ""; position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--accent); }
.vstep b { font: 700 1.08rem var(--head); }
.vsteps { counter-reset: vs; }
.vstep { counter-increment: vs; }
.vstep span { font-size: .95rem; color: var(--ink-2); }
.visit-route.play .vstep::before { animation: vfill .6s var(--t) cubic-bezier(.16,1,.3,1) forwards; }
.visit-route.play .vstep b { animation: vglow 1.2s var(--t) ease both; }
@keyframes vfill { to { width: 100%; } }
@keyframes vglow { 0% { color: var(--ink); } 30% { color: var(--accent-ink); } 100% { color: var(--ink); } }

@media (max-width: 1000px) {
  .pain { grid-template-columns: 1fr; gap: 10px; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pains { padding: 4px 22px; }
  .promise { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--surface) 92%, transparent); }
  .vsteps { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pain-old, .pain-old span, .pain-new { transition: none; }
  .visit-route .vstep::before { width: 100%; animation: none; }
}

/* ---------- Portada v7: centrada, con el hilo en un panel oscuro */
.hero2 { display: flex; flex-direction: column; min-height: calc(100svh - 80px); padding: 0 max(14px, 1.2vw) max(14px, 1.2vw); }
.h2-top { text-align: center; display: grid; justify-items: center; padding: clamp(20px, min(4.6vw, 6vh), 76px) 20px clamp(24px, min(3.2vw, 4.5vh), 50px); position: relative; z-index: 2; }
.hero2 .btn-ghost { background: #fff; }
.kick { display: inline-flex; align-items: center; gap: .6em; font: 600 .92rem var(--body); color: #3A4055; padding: .5em 1em .5em .75em; border: 1px solid #DDE0E8; border-radius: 99px; background: #fff; margin-bottom: 26px; }
.kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero2 h1 { font-size: clamp(2.8rem, min(6.4vw, 10.5vh), 6.4rem); line-height: .98; letter-spacing: -.05em; max-width: 11.5em; text-wrap: balance; }
.hero2 h1 em { font-style: normal; color: var(--accent); }
.hero2 .lead { margin: 22px auto 0; max-width: 34em; text-align: center; }
.hero2 .actions { justify-content: center; margin-top: 32px; }

.h2-panel { position: relative; flex: 1; min-height: clamp(340px, min(32vw, 46vh), 470px); border-radius: 28px; overflow: hidden; color: #F2F3F8;
  background: radial-gradient(70% 90% at 50% 0%, #1B3366 0%, #0E1C3A 60%); display: flex; flex-direction: column; justify-content: flex-end; }
.h2-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(#000, transparent 80%); mask-image: linear-gradient(#000, transparent 80%); }
.h2-line, .h2-sts { position: absolute; left: 0; right: 0; top: 13%; height: 44%; }
.h2-line svg { display: block; width: 100%; height: 100%; overflow: visible; }
.h2-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.h2-line .base { stroke: rgb(255 255 255 / .1); stroke-width: 2; }
.h2-line .draw, .h2-line .glow { stroke: var(--accent); stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.h2-line .draw { stroke-width: 3.5; }
.h2-line .glow { stroke-width: 16; opacity: .18; filter: blur(6px); }
.hst { position: absolute; left: var(--x); top: 0; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-decoration: none; color: inherit; }
.hchip { white-space: nowrap; font-size: .9rem; padding: .55em .95em; border-radius: 99px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #DADCE7; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s cubic-bezier(.16,1,.3,1), border-color .3s; }
.hchip b { color: #FF9A4D; margin-right: .5em; }
.hlogo { margin-bottom: -12%; opacity: .25; transform: translateY(6px); transition: opacity .6s, transform .7s cubic-bezier(.16,1,.3,1); }
.hlogo .plogo { display: block; height: clamp(30px, 3.2vw, 48px); width: auto; overflow: visible; }
.hst.on .hchip, .hst.on .hlogo { opacity: 1; transform: none; }
.hst:hover .hchip { border-color: var(--accent); }
.hst:hover .hlogo { transform: translateY(-3px); }
.h2-foot { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px 28px; border-top: 1px solid rgb(255 255 255 / .08); }
.h2-foot > a { color: #C3C7D8; font-size: .92rem; white-space: nowrap; text-decoration: none; }
.h2-foot > a:hover { color: #fff; text-decoration: underline; }
.h2-mq { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h2-mq ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0 12px 0 0; flex: none; animation: h2mq 46s linear infinite; }
.h2-mq li { flex: none; width: 88px; height: 54px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 4px; }
.h2-mq img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.h2-mq:hover ul { animation-play-state: paused; }
@keyframes h2mq { to { transform: translateX(-100%); } }

@media (max-width: 760px) {
  .hero2 { min-height: 0; padding: 0 10px 10px; }
  .h2-top { padding: 22px 8px 28px; }
  .kick { font-size: .82rem; margin-bottom: 18px; }
  .hero2 .actions .btn { flex: 1 1 0; padding-inline: 12px; }
  .hero2 h1 { font-size: 2.75rem; }
  .hero2 .lead { font-size: 1.05rem; margin-top: 16px; }
  .hero2 .actions { width: 100%; margin-top: 24px; }
  .h2-panel { min-height: 400px; border-radius: 22px; }
  .h2-line { left: -55%; right: -55%; top: 5%; height: 20%; }
  .h2-sts { top: 27%; bottom: 100px; height: auto; display: grid; align-content: center; justify-items: center; gap: 14px; }
  .hst { position: static; transform: none; flex-direction: row; gap: 12px; }
  .hlogo { margin: 0; }
  .hlogo .plogo { height: 26px; }
  .hchip { font-size: .85rem; }
  .h2-foot { grid-template-columns: 1fr; gap: 10px; text-align: center; padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .h2-line .draw, .h2-line .glow { stroke-dashoffset: 0; }
  .hchip, .hlogo { opacity: 1; transform: none; transition: none; }
  .h2-mq ul { animation: none; }
}

/* ---- header.css */
/* Barra superior v4.
   Idea: la marca al centro y la navegación partida en dos lados con jerarquía propia.
   A la izquierda, lo que Liberty ofrece (Productos, Soluciones, Clientes). A la derecha, quiénes somos y cómo hablar
   (Empresa, el agente, la demo). Los grupos abren paneles con contenido, no listas sueltas de links. */

.site-header { position: sticky; top: 0; z-index: 60; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); border: 0; background: none; transition: none; }
.site-header.scrolled { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }

.hd {
  position: relative; max-width: 1240px; margin: 0 auto; height: 68px; padding: 0 10px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px;
  border-radius: 20px; border: 1px solid transparent;
  transition: height .45s cubic-bezier(.16,1,.3,1), background-color .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled .hd, .site-header.menu-open .hd {
  height: 58px; background: var(--glass-bg); border-color: var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 22px 44px -30px rgb(15 30 61 / .45);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}

/* Marca */
.hd-brand { display: block; padding: 6px 12px; border-radius: 14px; text-decoration: none; }
.lt-brand { display: block; height: 50px; width: auto; overflow: visible; transition: height .45s cubic-bezier(.16,1,.3,1); }
.scrolled .lt-brand { height: 40px; }
.lt-brand .b-word { fill: var(--ink); }
.lt-brand .b-gulls { fill: var(--accent); transition: transform .6s cubic-bezier(.16,1,.3,1); transform-box: fill-box; transform-origin: 30% 80%; }
.hd-brand:hover .b-gulls, .foot-brand:hover .b-gulls { transform: translate(5%, -14%) rotate(-3deg); }

/* Lados */
.hd-left { justify-self: start; display: flex; align-items: center; gap: 2px; }
.hd-right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.hd-item { position: static; }
.hd-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  font: 600 1rem/1 var(--body); color: var(--ink-2); background: none; border: 0; cursor: pointer; text-decoration: none;
  transition: color .25s, background-color .25s;
}
.hd-link:hover, .hd-item.open > .hd-link { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.hd-link.is-current, .hd-link[aria-current="page"] { color: var(--ink); }
.hd-link.is-current::after, .hd-link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
.chev { width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.hd-item.open .chev { transform: translateY(1px) rotate(-135deg); }

/* Acciones: un solo grupo. La demo es la acción principal; el agente, la alternativa inmediata. */
.hd-actions {
  display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 15px;
  background: color-mix(in srgb, var(--ink) 5%, transparent); border: 1px solid var(--glass-line);
}
.hd-agent {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 11px; text-decoration: none;
  font: 600 .98rem/1 var(--body); color: var(--ink-2); transition: color .25s, background-color .25s;
}
.hd-agent:hover, .hd-agent[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 2px rgb(15 30 61 / .08); }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1FB76A; flex: none; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1FB76A; opacity: 0; animation: live 2.2s ease-out infinite; }
@keyframes live { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.hd-cta { height: 40px; padding: 0 18px; font-size: .96rem; border-radius: 11px; box-shadow: 0 8px 18px -12px var(--accent); }
.hd-left .hd-link { font-weight: 600; }

/* Paneles */
.hd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(560px, calc(100vw - 32px));
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none;
  padding: 14px; border-radius: 20px; border: 1px solid var(--glass-line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 34px 70px -34px rgb(15 30 61 / .5);
  transition: opacity .3s ease, transform .45s cubic-bezier(.16,1,.3,1), visibility 0s .3s;
}
.hd-panel.wide { width: min(900px, calc(100vw - 32px)); padding: 16px; }
.hd-item.open .hd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.hd-panel > * > * { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.hd-item.open .hd-panel > * > * { opacity: 1; transform: none; }
.hd-item.open .hd-panel > * > :nth-child(2) { transition-delay: .04s; }
.hd-item.open .hd-panel > * > :nth-child(3) { transition-delay: .08s; }
.hd-item.open .hd-panel > * > :nth-child(4) { transition-delay: .12s; }
.hd-item.open .hd-panel > * > :nth-child(5) { transition-delay: .16s; }

.pn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pn-prod { display: grid; gap: 12px; padding: 12px 12px 16px; border-radius: 14px; text-decoration: none; color: var(--ink-2); font-size: .95rem; transition: background-color .25s, transform .4s cubic-bezier(.16,1,.3,1); }
.pn-prod:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); transform: translateY(-2px); }
.pn-logo { display: grid; place-items: center; height: 84px; border-radius: 12px; background: #fff; border: 1px solid rgb(15 30 61 / .06); transition: box-shadow .3s; }
.pn-prod:hover .pn-logo { box-shadow: 0 16px 30px -20px rgb(15 30 61 / .45); }
.pn-logo img { height: 40px; width: auto; max-width: 78%; object-fit: contain; }
.pn-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--line); }
.pn-label { font-size: .9rem; line-height: 40px; color: var(--ink-2); margin-right: 6px; }
.pn-chip { display: inline-grid; place-items: center; width: 112px; height: 40px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid rgb(15 30 61 / .06); }
/* los logos tienen la gaviota arriba y la palabra abajo: se suben un poco para que la palabra quede al centro del botón */
.pn-chip img { height: 22px; width: auto; transform: translateY(-3.5px); }
.pn-foot .link { margin-left: auto; padding: 9px 14px; font-size: .92rem; }
.pn-list { display: grid; gap: 2px; }
.pn-row { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background-color .25s, padding-left .35s cubic-bezier(.16,1,.3,1); }
.pn-row b { font: 700 1.02rem var(--head); color: var(--ink); }
.pn-row span { font-size: .92rem; color: var(--ink-2); }
.pn-row:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); padding-left: 20px; }

/* Botón de menú (móvil) */
.menu-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--glass-line); background: var(--glass-bg); color: var(--ink); cursor: pointer; position: relative; }
.menu-btn b { font: 700 .98rem var(--head); }
.menu-btn span { position: absolute; left: 14px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); }
.menu-btn b { margin-left: 24px; }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); }

.hd-sheet { display: none; }

/* Pie: misma marca */
.foot-brand { display: inline-block; text-decoration: none; }
.foot-brand .lt-brand { height: 40px; }

/* WhatsApp de acceso rápido */
.wa-float {
  position: fixed; z-index: 70; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 16px; border-radius: 28px; text-decoration: none;
  background: #1FA855; color: #fff; box-shadow: 0 16px 34px -14px rgb(31 168 85 / .7), 0 2px 6px rgb(0 0 0 / .15);
  transition: gap .4s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font: 700 .98rem var(--head); transition: max-width .45s cubic-bezier(.16,1,.3,1); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; transform: translateY(-2px); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 120px; }
.js .wa-float { opacity: 0; transform: translateY(16px) scale(.9); }
body.ready .wa-float { opacity: 1; transform: none; transition: opacity .5s .9s, transform .6s .9s cubic-bezier(.16,1,.3,1), gap .4s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
body.ready .wa-float:hover { transform: translateY(-2px); transition: gap .4s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1); }

@media (max-width: 1080px) {
  .hd { grid-template-columns: auto minmax(0, 1fr); padding: 0 8px 0 4px; }
  .hd-left, .hd-right .hd-cta { display: none; }
  .hd-actions { background: none; border: 0; padding: 0; }
  .hd-agent { color: var(--ink); border: 1.5px solid var(--glass-line); background: var(--glass-bg); }
  .hd-brand { grid-column: 1; grid-row: 1; padding-left: 8px; }
  .hd-right { grid-column: 2; grid-row: 1; }
  .menu-btn { display: inline-flex; }
  .hd-agent { padding: 0 13px; height: 44px; font-weight: 700; }
  .hd-sheet {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: calc(100dvh - 100px); overflow: auto;
    padding: 18px 18px 22px; border-radius: 20px; border: 1px solid var(--glass-line);
    background: color-mix(in srgb, var(--surface) 97%, transparent); box-shadow: 0 34px 70px -34px rgb(15 30 61 / .5);
    opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s cubic-bezier(.16,1,.3,1);
  }
  .hd-sheet.open { display: block; }
  .menu-open .hd-sheet.open { opacity: 1; transform: none; }
  .sh-label { font: 600 .85rem var(--body); color: var(--ink-2); margin: 14px 4px 8px; }
  .sh-label:first-child { margin-top: 2px; }
  .sh-prods { display: grid; gap: 8px; }
  .sh-prods a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid rgb(15 30 61 / .06); text-decoration: none; }
  .sh-prods img { height: 24px; width: auto; }
  .sh-prods small { color: #4A5067; font-size: .88rem; text-align: right; }
  .sh-links { display: grid; }
  .sh-links a { padding: 13px 6px; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 1.08rem var(--head); color: var(--ink); }
  .sh-actions { display: grid; gap: 10px; margin-top: 18px; }
  .sh-actions .btn { justify-content: center; }
  .site-header.menu-open .hd { border-radius: 20px; }
}
@media (max-width: 560px) {
  .lt-brand { height: 34px; }
  .scrolled .lt-brand { height: 30px; }
  .hd-agent { font-size: .95rem; }
  .menu-btn b { display: none; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-btn span { left: 13px; }
  .wa-float { height: 52px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .live::after { animation: none; }
  .hd-panel, .hd-panel > * > *, .wa-float { transition: none; }
}

body.menu-open .wa-float { opacity: 0 !important; pointer-events: none; }

/* ===== v6: paneles anclados a su botón, con puente invisible para llegar con el cursor ===== */
.hd-item { position: relative; }
.hd-panel { left: -8px; top: calc(100% + 14px); transform: translateY(8px); width: min(620px, calc(100vw - 32px)); }
.hd-panel.wide { width: min(880px, calc(100vw - 48px)); }
.hd-item.open .hd-panel { transform: none; }
/* el puente cubre el espacio entre el botón y el panel: el cursor nunca "sale" al bajar */
.hd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.hd-panel { background: #FFFFFF; border-color: #DCDFE7; box-shadow: 0 1px 2px rgb(15 30 61 / .06), 0 34px 70px -30px rgb(15 30 61 / .38); }

/* Legibilidad sobre blanco */
.hd-link { color: #2B2F42; font-weight: 600; }
.hd-link:hover, .hd-item.open > .hd-link { color: #0F1E3D; background: #F0F1F5; }
.hd-agent { color: #2B2F42; }
.hd-actions { background: #F3F4F7; border-color: #E2E4EB; }
.pn-prod { color: #3F4459; }
.pn-row span { color: #4A5067; }
.pn-label { color: #4A5067; }
.site-header.scrolled .hd { background: rgb(255 255 255 / .9); border-color: #E2E4EB; }
.pn-chip { transition: border-color .25s, transform .3s; } .pn-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
@media (min-width: 1081px) and (max-width: 1220px) { .hd-left .hd-link { padding-inline: 9px; font-size: .95rem; } .hd-left .hd-link .chev { margin-left: 4px; } }   /* con Soluciones en el menú: más aire antes del logo */

/* Páginas por tipo de clínica, debajo de "Clínicas y consultorios" (solo aparecen las que están listas) */
.pn-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 14px 10px 14px; }
.pn-sub a { font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.pn-sub a:hover { color: var(--accent-ink); text-decoration: underline; }
.sh-links a.sh-sub { padding-left: 22px; font: 600 .98rem var(--head); color: var(--ink-2); }

/* ---- chat.css */
[hidden] { display: none !important; }
/* Página del agente v5: la ventana es la protagonista. Poco texto, dos caminos claros. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.agent { width: min(100% - 32px, 860px); margin: 0 auto; padding-block: 36px 90px; display: grid; gap: 26px; }
.agent-intro { text-align: center; display: grid; gap: 10px; justify-items: center; }
.agent-intro h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.agent-intro p { color: var(--ink-2); font-size: 1.15rem; max-width: 30em; }

/* Ventana */
.chat {
  position: relative; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto auto; padding: 0; margin: 0;
  height: min(74vh, 700px); min-height: 520px; border-radius: 26px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 60px 100px -50px rgb(15 30 61 / .6), 0 0 0 1px rgb(15 30 61 / .06);
}
.chat::before { /* brillo naranja suave arriba: le da profundidad a la ventana */
  content: ""; position: absolute; inset: 0 0 auto; height: 260px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgb(255 114 0 / .16), transparent 70%);
}
.chat-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-av { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); flex: none; }
.chat-av svg { width: 28px; height: auto; fill: #fff; }
.chat-av::after { content: none; }   /* el "En línea" ya lleva su punto verde */
.chat-id b { display: block; font: 700 1.06rem var(--head); }
.chat-status { display: flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--ink-2); }
.chat-wa { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; text-decoration: none; font: 700 .92rem var(--head); color: var(--ink); border: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.chat-wa:hover { background: #1FA855; border-color: #1FA855; color: #fff; }
.chat-wa svg { width: 18px; height: 18px; }

.chat-progress { position: relative; display: grid; gap: 8px; padding: 12px 18px 0; font-size: .86rem; color: var(--ink-2); }
.chat-progress b { font-weight: 600; color: var(--ink); }
.chat-progress em { font-style: normal; }
.chat-progress i { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.chat-progress s { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .6s cubic-bezier(.16,1,.3,1); text-decoration: none; }

.chat-body { position: relative; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); }   /* la fila no crece con la bienvenida: así la conversación scrollea */
.chat-welcome { max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.chat-log { grid-area: 1 / 1; overflow-y: auto; padding: 22px 18px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: thin; }

/* Bienvenida (antes de escribir) */
.chat-welcome { grid-area: 1 / 1; z-index: 1; align-self: center; display: grid; gap: 22px; padding: 22px; justify-items: center; transition: opacity .35s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.chat.started .chat-welcome { opacity: 0; transform: translateY(-16px); pointer-events: none; visibility: hidden; transition: opacity .3s ease, transform .5s cubic-bezier(.16,1,.3,1), visibility 0s .3s; }
.cw-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 640px; }
.cw-mode {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 6px; text-align: left; cursor: pointer;
  padding: 22px 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgb(255 255 255 / .04); color: var(--ink);
  transition: border-color .3s, transform .45s cubic-bezier(.16,1,.3,1), background-color .3s;
}
.cw-mode b { font: 700 1.18rem/1.2 var(--head); letter-spacing: -.01em; }
.cw-mode span { font-size: .95rem; color: var(--ink-2); }
.cw-mode:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .07); }
.cw-mode.demo { border-color: rgb(255 114 0 / .55); background: rgb(255 114 0 / .1); }
.cw-mode.demo::before { content: "1 minuto"; justify-self: start; margin-bottom: 4px; font: 700 .74rem var(--body); padding: 3px 9px; border-radius: 99px; background: var(--accent); color: #0F1E3D; }
.cw-mode.demo:hover { background: rgb(255 114 0 / .18); border-color: var(--accent); }
.cw-ex { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ex { cursor: pointer; padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--ink-2); font: 500 .9rem var(--body); transition: color .2s, border-color .2s; }
.ex:hover { color: var(--ink); border-color: rgb(255 255 255 / .35); }

/* Mensajes */
.chat .msg { align-self: flex-start; max-width: min(84%, 560px); padding: 11px 14px 8px; border-radius: 6px 18px 18px 18px; background: rgb(255 255 255 / .07); border: 1px solid var(--line); animation: msgIn .45s cubic-bezier(.16,1,.3,1) both; }
.chat .msg p { font-size: 1rem; line-height: 1.5; white-space: pre-line; }
.chat .msg small { display: block; text-align: right; font-size: .72rem; color: var(--ink-2); margin-top: 3px; }
.chat .msg.me { align-self: flex-end; border-radius: 18px 6px 18px 18px; background: var(--accent); border-color: transparent; color: #0F1E3D; }
.chat .msg.me small { color: rgb(15 30 61 / .6); }
.chat .msg.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat .msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: dot 1.2s ease-in-out infinite; }
.chat .msg.typing i:nth-child(2) { animation-delay: .15s; }
.chat .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-wa-card { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 14px; border-radius: 12px; background: #1FA855; color: #fff; text-decoration: none; font: 700 .92rem var(--head); }
.chat-wa-card svg { width: 16px; height: 16px; }

/* Resultado de la demo */
.res-card { display: grid; gap: 2px; min-width: min(460px, 70vw); }
.res-title { font: 700 1.1rem var(--head); margin-bottom: 8px; color: var(--accent-ink); }
.res-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); animation: msgIn .5s cubic-bezier(.16,1,.3,1) both; }
.res-row span { font-size: .88rem; color: var(--ink-2); }
.res-row b { font-weight: 600; font-size: .98rem; }

.chat-quick { position: relative; display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 18px 12px; min-height: 6px; }
.qr { cursor: pointer; padding: 9px 14px; border-radius: 99px; border: 1.5px solid rgb(255 114 0 / .6); background: transparent; color: var(--accent-ink); font: 700 .92rem var(--head); animation: msgIn .4s cubic-bezier(.16,1,.3,1) both; transition: background-color .25s, color .25s; }
.qr:hover { background: var(--accent); color: #0F1E3D; }

.chat-form { position: relative; display: flex; align-items: flex-end; gap: 10px; margin: 0 14px; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: rgb(0 0 0 / .25); box-shadow: none; transition: border-color .25s; }
.chat-form:focus-within { border-color: var(--accent); }
.chat-form textarea { flex: 1; min-height: 24px; max-height: 140px; resize: none; border: 0; padding: 8px 0; background: transparent; outline: none; font: 400 1rem/1.4 var(--body); color: var(--ink); }
.chat-form textarea::placeholder { color: var(--ink-2); }
.chat-form textarea:focus { outline: none; }
.chat-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--accent); color: #0F1E3D; cursor: pointer; transition: transform .25s, opacity .25s; }
.chat-send:hover { transform: translateX(2px); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 20px; height: 20px; }
.chat-legal { position: relative; padding: 10px 18px 14px; font-size: .78rem; color: var(--ink-2); }
.chat-legal a { color: inherit; }

/* el formulario del chat no lleva el estilo de tarjeta de los formularios del sitio */
.chat .chat-form { background: rgb(0 0 0 / .25); border-color: var(--line); box-shadow: none; }

@media (max-width: 700px) {
  .agent { width: 100%; padding: 12px 0 0; gap: 16px; }
  .agent-intro { padding: 0 20px; }
  .agent-intro h1 { font-size: 2.1rem; }
  .agent-intro p { font-size: 1.02rem; }
  .chat { border-radius: 0; border-inline: 0; height: calc(100dvh - 210px); min-height: 480px; }
  .cw-modes { grid-template-columns: 1fr; gap: 10px; }
  .cw-mode { padding: 18px 18px 20px; }
  .chat-wa span { display: none; }
  .chat-wa { width: 40px; padding: 0; justify-content: center; }
  .res-card { min-width: 0; }
  .res-row { grid-template-columns: 1fr; gap: 2px; }
  .chat .msg { max-width: 90%; }
  body[data-page="agente"] .wa-float, body[data-page="agente"] .site-footer { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chat .msg, .qr, .res-row { animation: none; } .chat .msg.typing i { animation: none; } }
.chat-head { grid-row: 1; } .chat-progress { grid-row: 2; } .chat-body { grid-row: 3; } .chat-quick { grid-row: 4; } .chat-form { grid-row: 5; } .chat-legal { grid-row: 6; }
.cw-mode { align-content: start; }

/* ---- theme.css */
/* Tema v5: fondo blanco y bloques oscuros translúcidos solo para lo fundamental.
   Se carga último: ordena lo que definen los demás archivos.

   Bloques oscuros (.glass y .on-dark): presentación de cada página, "Lo que deja de pasar", la visita,
   el cierre, el precio destacado, la puerta abierta y la ventana del agente.
   Todo lo demás va suelto sobre blanco, ordenado con líneas y aire. */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F6F9;
  --ink: #0F1E3D;
  --ink-2: #454B60;
  --line: #DDE0E8;
  --accent: #FF7200;
  --accent-ink: #B04A00;
  --accent-tint: #FFF1E6;
  --on-accent: #0F1E3D;
  /* cristal claro: barra superior y paneles */
  --glass-bg: rgb(255 255 255 / .78);
  --glass-line: rgb(15 30 61 / .08);
  --glass-hi: rgb(255 255 255 / .9);
  --glass-shadow: 0 24px 48px -36px rgb(15 30 61 / .3);
  /* cristal oscuro: información fundamental */
  --dark-bg: rgb(13 28 58 / .96);
  --dark-line: rgb(255 255 255 / .09);
  color-scheme: light;
}
html, body { background: #FFFFFF; }
#bg { background: none; }

/* ---------- Bloque oscuro: redefine los tokens adentro, así todo lo que contiene se adapta solo */
.glass, .on-dark, .price-box.accent, .door.is-open {
  --ink: #F2F3F8;
  --ink-2: #AEB3C7;
  --line: rgb(255 255 255 / .1);
  --surface: #17294D;
  --surface-2: #1E3460;
  --bg: #0F1E3D;
  --accent-ink: #FF9A4D;
  --accent-tint: rgb(255 114 0 / .14);
  color: var(--ink);
}
.glass, .on-dark {
  background: var(--dark-bg);
  border: 1px solid var(--dark-line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 40px 70px -40px rgb(15 30 61 / .55);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.glass h1, .glass h2, .glass h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ink); }

/* ---------- Lo que sale de bloque: suelto sobre blanco */
.rows, .steps > div, .three > div, .pairs > div, .faq, .ledger, .channels, .prose, .ptext,
.checks:not(.pairs .checks):not(.feature .checks), .sector-wrap, .promise {
  background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0;
}
.rows { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rows .row-link:first-child { border-top: 0; }
.steps > div { padding: 22px 0 0; border-top: 1px solid var(--line); }
.steps > div::before { left: 0; }
.three > div, .pairs > div { padding: 22px 0 0; border-top: 1px solid var(--line); }
.faq, .ledger { padding: 0; border-top: 1px solid var(--line); }
.faq details:first-child, .ledger li:first-child { border-top: 0; }
.faq details:last-child, .ledger li:last-child { border-bottom: 1px solid var(--line); }
.channels { padding: 0; }
.prose { padding: 0; }
.ptext { padding: 0; }
.checks:not(.pairs .checks):not(.feature .checks) { padding: 0; }
.sector-wrap { padding: 0; }
.sector-wrap .sector:first-child { border-top: 1px solid var(--line); }
.promise { padding: 18px 0 0; border-top: 2px solid var(--ink); }
.promises { gap: 28px; margin-top: 40px; }

/* Tarjetas claras (no son "información fundamental", pero necesitan borde sobre blanco) */
.price-box, form, .door, .pstage, .visit-route, .logos li, .card, .rc-tab, .ask {
  background: #FFFFFF; border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none;
}
form { box-shadow: 0 30px 60px -44px rgb(15 30 61 / .35); }
.visit-route { box-shadow: 0 30px 60px -48px rgb(15 30 61 / .35); }
.price-box.accent { background: var(--dark-bg); border-color: var(--dark-line); }
.price-box.accent h3 { color: var(--ink-2); }
.price-box.accent .amount { color: var(--ink); }

.tint { background: var(--surface-2); }
.site-footer { background: var(--surface-2); }
.pstage { background: radial-gradient(70% 60% at 50% 34%, rgb(255 114 0 / .07), transparent 70%), #FFFFFF; }

/* Puertas: la abierta se vuelve oscura, las otras quedan claras */
.door { box-shadow: 0 24px 48px -40px rgb(15 30 61 / .3); transition: flex-grow .8s cubic-bezier(.16,1,.3,1), background-color .55s ease, border-color .55s, box-shadow .55s; }
.door.is-open { background: rgb(13 28 58 / .95); border-color: var(--dark-line); box-shadow: 0 40px 70px -40px rgb(15 30 61 / .6); }
.door::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgb(255 114 0 / .22), transparent 70%); }
.door-line .base { stroke: rgb(15 30 61 / .1); }
.door.is-open .door-line .base { stroke: rgb(255 255 255 / .08); }

/* Cierre */
.closing-card { text-align: left; }

/* ---------- Móvil: sin blur (más fluido) y fondo oscuro casi sólido */
@media (max-width: 700px) {
  .glass, .on-dark, .price-box.accent { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(13 28 58 / .96); }
  .rows { padding: 0; }
  .faq, .ledger, .sector-wrap { padding-inline: 0; }
  .prose, .ptext { padding: 0; }
  .promises { gap: 18px; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .on-dark, .price-box.accent { background: #11234A; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Puertas en pantallas angostas: todas abiertas y claras (no hay hover) */
@media (max-width: 900px) {
  .door.is-open { --ink: #0F1E3D; --ink-2: #545A70; --line: #E5E7EE; --accent-ink: #B04A00; background: #FFFFFF; border-color: var(--line); box-shadow: 0 24px 48px -40px rgb(15 30 61 / .3); color: var(--ink); }
  .door.is-open .door-line .base { stroke: rgb(15 30 61 / .1); }
}

/* ---------- Móvil: ritmo propio, no una versión achicada del escritorio */
@media (max-width: 700px) {
  section { padding-block: 56px; }
  .hero { padding-block: 20px 48px; }
  .page-head { padding-block: 22px 8px; }
  .sec-head { margin-bottom: 24px; }
  h2 { font-size: 1.85rem; }
  .glass { padding: 26px 22px; border-radius: 20px; }
  .closing-card { padding: 30px 22px; }
  .closing h2 { font-size: 1.9rem; margin-bottom: 20px; }
  .actions { gap: 10px; }
  .actions .btn, .closing-card .btn { flex: 1 1 auto; justify-content: center; }
  .hero-grid { gap: 28px; }
  .steps, .three { gap: 22px; }
  .pairs { gap: 22px; }
  .prow + .prow { margin-top: 56px; }
  .gap-lg { gap: 56px; }
  .pain { padding: 20px 0; }
  .pain-old { font-size: 1.15rem; }
  .visit-copy h2 { font-size: 2rem; }
  .doors { gap: 12px; }

  /* Carrusel: rubros en una fila que se desliza */
  .rc-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 8px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; }
  .rc-tabs::-webkit-scrollbar { display: none; }
  .rc-tab { flex: none; scroll-snap-align: start; padding: 10px 14px; font-size: .95rem; }
  .rc { --rc-w: 128px; }

  /* Pie compacto en dos columnas */
  .site-footer { padding-block: 48px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .foot-about, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-grid ul { gap: 4px; font-size: 1rem; }
  .foot-grid li a { display: inline-block; padding-block: 6px; }   /* zona tocable más alta en celular */
  .legal-line { margin-top: 32px; }

  /* WhatsApp flotante más discreto */
  .wa-float { height: 50px; padding: 0 13px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 22px; height: 22px; }
}

/* ---------- v6: legibilidad sobre blanco */
body { color: #0F1E3D; }
.lead { color: #3A4055; }
.glass .lead, .on-dark .lead { color: #C3C7D8; }
.tab { color: #3F4459; }
.tab small { color: #545A70; }
.note, .caption { color: #4A5067; }
.chat-legal, .chat-legal a { color: #AEB3C7; }
.ptags span { background: #EEF0F4; color: #1B2F57; }
.checks li { border-bottom-color: #DDE0E8; }
.sector h3 { color: #3A4055; }
.draft-note { color: #4A5067; border-color: #9EA3B5; }
.door-txt { color: #3A4055; }
.door-need { color: #0F1E3D; }
.vstep span { color: #454B60; }
.vstep { border-top-color: #DDE0E8; }
.visit-map .v-road { stroke: rgb(15 30 61 / .3); }
.promise span { color: #454B60; }
.logos li { border-color: #DDE0E8; }
.pstage { border-color: #DDE0E8; }
.row-link .a { color: #3A4055; }
.faq details p { color: #3A4055; }
.ledger small { color: #4A5067; }
.person p { color: #454B60; }
.channels h3 { color: #4A5067; }
.foot-grid h4, .foot-grid .foot-h { color: #4A5067; }
.foot-about p { color: #454B60; }
.legal-line { color: #4A5067; }
.three p, .pairs p, .steps p, .feature p, .ptext p, .card-body p { color: #3A4055; }
.scene .grid-dot { fill: rgb(15 30 61 / .14); }
.scene .soft { fill: rgb(15 30 61 / .12); }
@media (min-width: 901px) { .door.is-open .door-txt { color: #C3C7D8; } .door.is-open .door-need { color: #F2F3F8; } }
.visit-route { border-radius: calc(var(--r) * 1.6); }

/* ---------- v7: tipografía Schibsted Grotesk en todo el sitio */
:root { --head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif; --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif; }
body { font-size: 1.1rem; }
h1 { letter-spacing: -.045em; }
h2 { letter-spacing: -.035em; }
.btn, .link { letter-spacing: -.01em; }

/* Notas internas (pendientes con Liberty): no se ven en el sitio. Para revisarlas, abrí cualquier página con #notas al final de la dirección. */
.draft-note, .draft-block { display: none !important; }
.notas .draft-note { display: block !important; }
.notas .draft-block { display: revert !important; }

/* ---- heads.css */
/* Encabezados de páginas internas: título en bloque oscuro + escena conceptual a la derecha (v2).
   Cada escena vive en un escenario fijo de 560x440 que heads.js escala (--k) y mueve con el cursor (--px, --py). */
@property --g { syntax: '<number>'; inherits: true; initial-value: 80; }
@property --up { syntax: '<number>'; inherits: false; initial-value: 0; }

.head-v { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.head-v .head-card { max-width: none; }
.page-head { overflow-x: clip; }

.hv { --ink: #0F1E3D; --ac: var(--accent, #FF7200); --ln: #E3E6EE; --mute: #6B7080; --ok: #16A34A;
  --sh: 0 1px 0 rgb(255 255 255 / .9) inset, 0 26px 40px -24px rgb(15 30 61 / .38), 0 6px 14px -8px rgb(15 30 61 / .16);
  --k: 1; --px: 0; --py: 0;
  position: relative; width: 100%; aspect-ratio: 560 / 440; pointer-events: none; user-select: none;
  font-family: var(--body); color: var(--ink); -webkit-font-smoothing: antialiased; }
.hv-s { position: absolute; left: var(--ox, 0); top: var(--oy, 0); width: var(--sw, 560px); height: var(--sh, 440px); transform-origin: 0 0; scale: var(--k); perspective: 1500px; perspective-origin: 50% 40%; }
.hv-t { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--px) * 7deg)) rotateX(calc(var(--py) * -6deg)); }
.L { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translate3d(calc(var(--px) * var(--z) * .9px), calc(var(--py) * var(--z) * .7px), calc(var(--z) * 1px)); }
.hv-floor { position: absolute; inset: -20px; background-image: radial-gradient(circle, rgb(15 30 61 / .17) 1.2px, transparent 1.7px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.hv svg.g-or, .hv svg.g-wh, .hv svg.g-ink { display: block; height: auto; overflow: visible; }
.hv svg.g-or path, .hv svg.g-wh path, .hv svg.g-ink path { stroke: none; }
.hv svg.g-or path { fill: var(--ac); } .hv svg.g-wh path { fill: #fff; } .hv svg.g-ink path { fill: var(--ink); }
.hv img { display: block; }

/* La escena aparece desde la profundidad cuando la página está lista (sin opacidad en capas 3D: aplanaría la escena) */
.hv .hv-s { opacity: 0; }
body.ready .hv .hv-s { animation: hvFade 1s .15s ease forwards; }
body.ready .hv .hv-t { animation: hvIn 1.4s .15s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hvFade { to { opacity: 1; } }
@keyframes hvIn { from { translate: 0 24px -120px; } to { translate: 0 0 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* =============================================================== PRODUCTOS */
.pr-beams { position: absolute; left: 0; top: 0; width: 560px; height: 440px; overflow: visible; }
.pr-b { fill: none; stroke: rgb(15 30 61 / .14); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; transition: stroke .5s, stroke-width .5s; }
.pr-b.on { stroke: var(--ac); stroke-width: 2.4; stroke-dasharray: 6 6; animation: dash .8s linear infinite; }
.pr-out { fill: none; stroke: var(--ac); stroke-width: 2.4; stroke-dasharray: 6 6; stroke-linecap: round; animation: dash .8s linear infinite; }
.pr-pill { position: absolute; width: 196px; height: 42px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--ln); box-shadow: var(--sh); font-size: 13.5px; font-weight: 600; color: #3A3F4E; white-space: nowrap;
  opacity: .8; transition: background .5s, color .5s, opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.pr-pill i { width: 8px; height: 8px; border-radius: 50%; background: #C5CAD6; flex: none; transition: background .5s, box-shadow .5s; }
.pr-pill.on { background: var(--ink); color: #fff; border-color: transparent; opacity: 1; transform: translateX(12px) scale(1.05); }
.pr-pill.on i { background: var(--ac); box-shadow: 0 0 0 5px rgb(255 114 0 / .28); }
.pr-pill.done { opacity: .5; color: #8C91A0; text-decoration: line-through; text-decoration-color: var(--ac); text-decoration-thickness: 2px; }
.pr-pill.done i { background: var(--ok); }
.pr-core { position: absolute; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #2A4378, #0F1E3D 68%); box-shadow: 0 34px 50px -22px rgb(15 30 61 / .7), inset 0 1px 0 rgb(255 255 255 / .14); }
.pr-core .ring { position: absolute; inset: -11px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, rgb(255 114 0 / .15) 70%, var(--ac) 98%, transparent 100%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: spin 2.2s linear infinite; }
.pr-core::before { content: ""; position: absolute; inset: -11px; border-radius: 50%; border: 1px solid rgb(15 30 61 / .1); }
.pr-core .rip { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ac); opacity: 0; }
.hv.pulse .pr-core .rip { animation: rip .9s ease-out; }
.hv.pulse .pr-core { animation: bump .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rip { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }
@keyframes bump { 45% { scale: 1.09; } }
.pr-spark { position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 0 3px var(--ac), 0 0 20px 6px rgb(255 114 0 / .6); offset-rotate: 0deg; }
.pr-deck { position: absolute; left: 360px; top: 114px; width: 176px; height: 204px; transform-style: preserve-3d; }
.pr-card { position: absolute; inset: 0; box-sizing: border-box; padding: 16px 16px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--ln); box-shadow: var(--sh);
  display: flex; flex-direction: column; opacity: calc(1 - var(--o) * .17);
  transform: translate3d(calc(var(--o) * 9px), calc(var(--o) * -20px), calc(var(--o) * -52px));
  transition: transform .9s cubic-bezier(.2, .75, .2, 1), opacity .6s; }
.pr-card.out { animation: prOut .55s cubic-bezier(.5, 0, .7, .4) forwards; }
@keyframes prOut { to { transform: translate3d(-36px, 46px, 50px) rotate(-7deg); opacity: 0; } }
.pr-card.snap { transition: none; }
.pr-top { display: flex; align-items: center; justify-content: space-between; height: 28px; }
.pr-top img { height: 24px; width: auto; }
.pr-ok { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #E7F7EE; }
.pr-ok::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2.2px 2.2px 0; transform: rotate(42deg); }
.pr-big { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.pr-sub { font-size: 12.5px; color: #4A5067; margin-top: 6px; font-weight: 600; }
.pr-mini { margin-top: auto; height: 46px; position: relative; }
.pr-card.on .pr-big { animation: prBig .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes prBig { from { opacity: 0; translate: 0 10px; } }
.m-rispy { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; align-content: end; }
.m-rispy i { height: 17px; border-radius: 5px; background: #EEF0F5; }
.m-rispy i.on { background: var(--ac); }
.pr-card.on .m-rispy i { animation: slotIn .45s calc(var(--i) * 45ms) both cubic-bezier(.2, .8, .2, 1.3); }
.pr-card.on .m-rispy i.on { animation: slotIn .45s .2s both, slotPing 1.6s .8s infinite; }
@keyframes slotIn { from { opacity: 0; scale: .5; } }
@keyframes slotPing { 50% { box-shadow: 0 0 0 5px rgb(255 114 0 / .22); } }
.m-compy { display: flex; align-items: flex-end; gap: 6px; }
.m-compy i { flex: 1; height: calc(var(--h) * 1%); border-radius: 4px 4px 2px 2px; background: #E2E5EC; transform-origin: bottom; }
.m-compy i:last-child { background: var(--ac); }
.pr-card.on .m-compy i { animation: barUp .7s calc(var(--i) * 70ms) both cubic-bezier(.2, .8, .2, 1); }
@keyframes barUp { from { scale: 1 0; } }
.m-crm { display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.m-crm i { display: block; height: 12px; width: 72%; border-radius: 8px 8px 8px 3px; background: #EEF0F5; }
.m-crm i.a { width: 58%; align-self: flex-end; background: var(--ac); border-radius: 8px 8px 3px 8px; }
.m-crm i.s { width: 40%; }
.pr-card.on .m-crm i { animation: bubIn .4s both cubic-bezier(.2, .8, .2, 1.3); }
.pr-card.on .m-crm i.a { animation-delay: .45s; } .pr-card.on .m-crm i.s { animation-delay: .9s; }
@keyframes bubIn { from { opacity: 0; translate: 0 6px; scale: .8; } }
.m-avm svg { width: 100%; height: 46px; overflow: visible; }
.m-avm .rt { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: .03 .02; }
.m-avm circle { fill: #fff; stroke: var(--ac); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.pr-card.on .m-avm circle { animation: slotIn .4s calc(var(--i) * 180ms) both cubic-bezier(.2, .8, .2, 1.5); }
.pr-card.on .m-avm circle:last-child { fill: var(--ac); }
.m-transit { display: flex; align-items: flex-end; gap: 7px; padding-bottom: 4px; overflow: hidden; }
.m-transit i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #E2E5EC; }
.m-transit i:first-child { background: var(--ac); }
.pr-card.on .m-transit i { animation: queue 1.6s infinite cubic-bezier(.5, 0, .2, 1); }
.pr-card.on .m-transit i:first-child { animation: queueOut 1.6s infinite cubic-bezier(.5, 0, .2, 1); }
@keyframes queue { 0%, 40% { translate: 0 0; } 80%, 100% { translate: -27px 0; } }
@keyframes queueOut { 0%, 30% { translate: 0 0; opacity: 1; } 60%, 100% { translate: 0 -24px; opacity: 0; } }

/* =============================================================== SOLUCIONES */
.iso { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.hv-soluciones .hv-t { animation: slBreath 7s ease-in-out infinite; }
@keyframes slBreath { 0%, 100% { --g: 110; } 50% { --g: 124; } }
.sl-iso { left: 190px; top: 332px; transform: rotateX(66deg) rotateZ(-42deg); }
.sl-p { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; box-sizing: border-box; border-radius: 26px; transform-style: preserve-3d;
  background: rgb(255 255 255 / .95); border: 1.5px solid #DADEE8; box-shadow: 6px 6px 0 #E1E4EC, 22px 22px 40px rgb(15 30 61 / .07);
  transform: translateZ(calc(var(--lv) * var(--g) * 1px + var(--up) * 1px)); transition: --up .8s cubic-bezier(.2, .8, .2, 1), border-color .6s; }
.hv[data-a="0"] .sl-p0, .hv[data-a="1"] .sl-p1, .hv[data-a="2"] .sl-p2 { --up: 16; border-color: var(--ac); box-shadow: 6px 6px 0 #FFD2AE, 22px 22px 40px rgb(255 114 0 / .12); }
.sl-base { position: absolute; left: -50px; top: -50px; width: 100px; height: 100px; border-radius: 22px; background: #0F1E3D; display: grid; place-items: center;
  transform: translateZ(-64px); box-shadow: 6px 6px 0 #081227, 30px 30px 50px rgb(15 30 61 / .22); }
.sl-base svg { rotate: 42deg; }
.sl-beam { position: absolute; left: -2px; top: 0; width: 4px; height: 300px; transform-origin: top center; transform: translateZ(-64px) rotateX(90deg);
  background: linear-gradient(to bottom, var(--ac), rgb(255 114 0 / .15) 85%, transparent); overflow: hidden; border-radius: 4px; }
.sl-beam.b2 { transform: translateZ(-64px) rotateX(90deg) rotateY(90deg); }
.sl-beam i { position: absolute; left: -2px; right: -2px; height: 40px; background: linear-gradient(to bottom, transparent, #fff, transparent); animation: beamUp 2.4s linear infinite; }
@keyframes beamUp { from { top: -40px; } to { top: 300px; } }
.sl-ag { position: absolute; left: 22px; top: 22px; display: grid; grid-template-columns: repeat(3, 16px); gap: 6px; }
.sl-ag i { height: 16px; border-radius: 4px; background: #E6E9F0; animation: agBlink 4.5s calc(var(--i) * .5s) infinite; }
.sl-ag i.on { background: var(--ac); }
@keyframes agBlink { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(.82); } }
.sl-ecg { position: absolute; left: 0; top: 52px; width: 180px; height: 115px; overflow: visible; }
.sl-ecg .base, .sl-steps .base { fill: none; stroke: #CDD2DD; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sl-ecg .run, .sl-steps .run { fill: none; stroke: var(--ac); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .22 .78; animation: runLine 2.2s linear infinite; }
@keyframes runLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sl-bars { position: absolute; inset: 0; transform-style: preserve-3d; }
.sl-steps { position: absolute; inset: 0; width: 180px; height: 180px; overflow: visible; }
.sl-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 4px rgb(255 114 0 / .25); offset-rotate: 0deg; animation: stepDot 3.4s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes stepDot { from { offset-distance: 0%; } 80%, to { offset-distance: 100%; } }
.sl-grid { position: absolute; right: 20px; top: 22px; display: grid; grid-template-columns: repeat(4, 11px); gap: 6px; }
.sl-grid i { height: 11px; border-radius: 50%; background: #E1E4EC; animation: gridFill 4.8s calc(var(--i) * .22s) infinite; }
@keyframes gridFill { 0%, 8% { background: #E1E4EC; } 14%, 70% { background: var(--ac); } 80%, 100% { background: #E1E4EC; } }
.sl-labels .sl-l { position: absolute; left: 370px; width: 190px; top: calc(332px - var(--lv) * var(--g) * .9px - 14px);
  display: flex; flex-direction: column; gap: 2px; padding-left: 16px; opacity: .55; transition: opacity .6s; }
.sl-l::before { content: ""; position: absolute; left: -38px; top: 10px; width: 46px; height: 1.5px; background: repeating-linear-gradient(90deg, rgb(15 30 61 / .35) 0 3px, transparent 3px 6px); }
.sl-l::after { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #C5CAD6; transition: background .5s, box-shadow .5s; }
.sl-l b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.sl-l span { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.hv[data-a="0"] .sl-l[data-a="0"], .hv[data-a="1"] .sl-l[data-a="1"], .hv[data-a="2"] .sl-l[data-a="2"] { opacity: 1; }
.hv[data-a="0"] .sl-l[data-a="0"]::after, .hv[data-a="1"] .sl-l[data-a="1"]::after, .hv[data-a="2"] .sl-l[data-a="2"]::after { background: var(--ac); box-shadow: 0 0 0 5px rgb(255 114 0 / .22); }

/* Cubos (A medida y barras de Comercio) */
.cube { position: absolute; width: calc(var(--w, 84) * 1px); height: calc(var(--w, 84) * 1px); transform-style: preserve-3d; }
.cube .f { position: absolute; box-sizing: border-box; }
.cube .tp { inset: 0; transform: translateZ(calc(var(--h) * 1px)); background: #fff; border: 1px solid #DFE2EA; border-radius: 6px; display: grid; place-items: center; }
.cube .s { left: 0; top: 100%; width: 100%; height: calc(var(--h) * 1px); transform-origin: top; transform: rotateX(90deg); background: #E7EAF1; }
.cube .n { left: 0; bottom: 100%; width: 100%; height: calc(var(--h) * 1px); transform-origin: bottom; transform: rotateX(-90deg); background: #F2F3F7; }
.cube .e { top: 0; left: 100%; height: 100%; width: calc(var(--h) * 1px); transform-origin: left; transform: rotateY(-90deg); background: #F2F3F7; }
.cube .w { top: 0; right: 100%; height: 100%; width: calc(var(--h) * 1px); transform-origin: right; transform: rotateY(90deg); background: #D7DBE5; }
.cube .tp span { rotate: 45deg; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8A90A0; }
.cube.cube-dark .tp { background: #17294D; border: 2px solid var(--ac); box-shadow: 0 0 24px rgb(255 114 0 / .45); }
.cube.cube-dark .tp svg { rotate: 45deg; }
.cube.cube-dark .s { background: #0A1530; } .cube.cube-dark .w { background: #142A55; } .cube.cube-dark .n, .cube.cube-dark .e { background: #0F1E3D; }
.b3 { position: absolute; --w: 18; transform-origin: center; animation: barS 3.4s calc(var(--i) * -.7s) ease-in-out infinite alternate; }
.b3 .tp { border-radius: 3px; }
.b3:last-child .tp { background: var(--ac); border-color: var(--ac); } .b3:last-child .s { background: #E66600; } .b3:last-child .w { background: #CC5A00; }
@keyframes barS { from { transform: scaleZ(.35); } to { transform: scaleZ(1); } }

/* =============================================================== A MEDIDA */
/* capa plana con su propia perspectiva: los grupos (atrás, pieza, adelante) se pintan en orden y la pieza nunca tapa a los de adelante */
.L.md-l { transform-style: flat; perspective: 1500px; perspective-origin: 50% 40%; }
.md-iso { left: 262px; top: 258px; transform: rotateX(58deg) rotateZ(-45deg); }
.md-floor { position: absolute; left: -172px; top: -172px; width: 344px; height: 344px; border-radius: 30px; box-sizing: border-box; border: 1.5px dashed #C9CEDA;
  background: #fff linear-gradient(rgb(15 30 61 / .05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(15 30 61 / .05) 1px, transparent 1px) 0 0 / 24px 24px;
  background-color: #fff; box-shadow: 8px 8px 0 #E3E6EE, 40px 40px 60px rgb(15 30 61 / .08); }
.md-net { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; overflow: visible; }
.md-net path { fill: none; stroke: #D3D7E1; stroke-width: 2; stroke-linecap: round; }
.md-net .run { stroke: var(--ac); stroke-width: 3; stroke-dasharray: .06 .94; animation: runLine 4s linear infinite; }
.md-slot { position: absolute; width: 84px; height: 84px; box-sizing: border-box; border: 2.5px dashed var(--ac); border-radius: 8px; animation: mdSlot 6.5s infinite; }
.md-rip { position: absolute; width: 84px; height: 84px; box-sizing: border-box; border: 3px solid var(--ac); border-radius: 10px; opacity: 0; animation: mdRip 6.5s infinite; }
.md-drop { animation: mdDrop 6.5s infinite; }
.md-drop .f { animation: mdDropO 6.5s infinite; }
@keyframes mdDropO { 0% { opacity: 0; } 6%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes mdDrop {
  0% { transform: translateZ(340px); animation-timing-function: cubic-bezier(.55, 0, .9, .5); }
  28% { transform: translateZ(0); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  33% { transform: translateZ(14px); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  37%, 80% { transform: translateZ(0); animation-timing-function: cubic-bezier(.5, 0, .9, .4); }
  92%, 100% { transform: translateZ(460px); } }
@keyframes mdSlot { 0%, 24% { opacity: 1; } 28%, 84% { opacity: 0; } 92%, 100% { opacity: 1; } 12% { opacity: .35; } }
@keyframes mdRip { 0%, 27% { opacity: 0; transform: scale(1); } 29% { opacity: .9; transform: scale(1); } 46%, 100% { opacity: 0; transform: scale(1.75); } }
.md-fit { position: absolute; left: 318px; top: 64px; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; box-shadow: 0 24px 40px -18px rgb(15 30 61 / .55); animation: mdFit 6.5s infinite; }
.md-fit i { width: 22px; height: 22px; border-radius: 50%; background: var(--ac); position: relative; flex: none; }
.md-fit i::after { content: ""; position: absolute; left: 8px; top: 4.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; rotate: 42deg; }
.md-fit::before { content: ""; position: absolute; left: 24px; top: 100%; width: 1.5px; height: 56px; background: linear-gradient(var(--ink), transparent); }
@keyframes mdFit { 0%, 32% { opacity: 0; translate: 0 10px; scale: .92; } 38%, 78% { opacity: 1; translate: 0 0; scale: 1; } 86%, 100% { opacity: 0; translate: 0 -6px; } }
.md-dim { position: absolute; left: 40px; top: 96px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); animation: bob 5s ease-in-out infinite; }
.md-dim i { width: 74px; height: 12px; border-left: 2px solid var(--ac); border-right: 2px solid var(--ac); box-sizing: border-box;
  background: linear-gradient(var(--ac), var(--ac)) center / 100% 2px no-repeat; animation: mdDim 6.5s infinite; transform-origin: left; }
@keyframes mdDim { 0%, 20% { scale: .3 1; } 34%, 80% { scale: 1 1; } 100% { scale: .3 1; } }

/* =============================================================== CLIENTES */
/* el muro se dibuja como una capa plana (con su propia perspectiva): así sus baldosas no atraviesan la tarjeta de adelante */
.L.cw-l { transform-style: flat; perspective: 1500px; perspective-origin: 50% 40%; }
.cw-wall { position: absolute; left: 112px; top: -70px; width: 480px; height: 580px; display: flex; justify-content: center; gap: 16px; overflow: hidden;
  transform: rotateX(46deg) rotateZ(-26deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 96%); mask-image: radial-gradient(closest-side, #000 52%, transparent 96%); }
.cw-wall > div { display: flex; flex-direction: column; gap: 16px; flex: none; }
body.ready .cw-wall > div { animation: cwUp var(--dur) linear infinite; }
body.ready .cw-wall > .rev { animation-direction: reverse; }
@keyframes cwUp { to { transform: translateY(calc(-50% - 8px)); } }
.cw-t { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 24px; background: #fff; border: 1px solid var(--ln);
  box-shadow: 0 16px 24px -16px rgb(15 30 61 / .35); transition: box-shadow .5s, border-color .5s, scale .5s; }
.cw-t img { max-width: 72%; max-height: 72%; object-fit: contain; }
.cw-t.hi { border-color: var(--ac); box-shadow: 0 0 0 6px rgb(255 114 0 / .16), 0 20px 30px -14px rgb(255 114 0 / .45); scale: 1.08; }
.cw-card { position: absolute; left: 4px; top: 232px; width: 236px; box-sizing: border-box; padding: 20px 20px 18px; border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, #1B3366, #0F1E3D 60%); box-shadow: 0 34px 54px -26px rgb(15 30 61 / .7), inset 0 1px 0 rgb(255 255 255 / .1); }
.cw-n { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.cw-n b { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.cw-n span { font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .72); }
.cw-r { display: grid; grid-template-columns: 1fr auto; row-gap: 5px; margin-top: 9px; font-size: 12.5px; font-weight: 600; }
.cw-r span { color: rgb(255 255 255 / .72); } .cw-r b { font-variant-numeric: tabular-nums; }
.cw-r i { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: rgb(255 255 255 / .12); position: relative; overflow: hidden; }
.cw-r i::after { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); border-radius: inherit; background: var(--ac); transform-origin: left; }
body.ready .cw-r i::after { animation: barUpX 1.2s calc(.6s + var(--i) * .15s) both cubic-bezier(.2, .8, .2, 1); }
@keyframes barUpX { from { scale: 0 1; } }

/* =============================================================== RECURSOS */
.bk { position: absolute; left: 286px; top: 222px; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(-20deg); animation: bkFloat 7s ease-in-out infinite; }
@keyframes bkFloat { 0%, 100% { translate: 0 0 0; } 50% { translate: 0 0 14px; } }
.bk-sh { position: absolute; left: -200px; top: -120px; width: 400px; height: 260px; border-radius: 30px; background: rgb(15 30 61 / .22); filter: blur(22px); transform: translate3d(18px, 18px, -14px); }
.bk-cv { position: absolute; left: -204px; top: -131px; width: 408px; height: 262px; border-radius: 5px; background: linear-gradient(135deg, #FF8A2A, #E35F00); transform: translateZ(-6px); box-shadow: 0 0 0 1px #C85300, 3px 3px 0 #B84C00; }
.bk-rb { position: absolute; left: 140px; top: 116px; width: 14px; height: 48px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); transform: translateZ(5px); }
.bk-pg { position: absolute; top: -124px; width: 192px; height: 248px; box-sizing: border-box; padding: 22px 20px; background: linear-gradient(90deg, #DFE2EA, #F7F8FA 7%, #fff 18%); border: 1px solid #E1E4EC; border-radius: 1px 3px 3px 1px; overflow: hidden; }
.bk-l { left: -194px; background: linear-gradient(270deg, #DFE2EA, #F7F8FA 7%, #fff 18%); border-radius: 3px 1px 1px 3px; box-shadow: -1px 1px 0 #D9DDE6, -2px 2px 0 #fff, -3px 3px 0 #D9DDE6, -4px 4px 0 #fff, -5px 5px 0 #D9DDE6, -6px 6px 0 #fff; }
.bk-r { box-shadow: 1px 1px 0 #D9DDE6, 2px 2px 0 #fff, 3px 3px 0 #D9DDE6, 4px 4px 0 #fff, 5px 5px 0 #D9DDE6, 6px 6px 0 #fff; }
.bk-r { left: 2px; }
.bk-f { position: absolute; left: 2px; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc((4 - var(--n)) * 1.3px)) rotateY(0deg);
  transition: transform 1.25s cubic-bezier(.45, .05, .25, 1); }
.bk-f.flip { transform: translateZ(calc((var(--n) + 2) * 1.3px)) rotateY(-180deg); }
.bk-f .bk-pg { left: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bk-f .bk-pg.bk { transform: rotateY(180deg); transform-origin: 0 50%; left: 0; translate: 0; background: linear-gradient(270deg, #DFE2EA, #F7F8FA 7%, #fff 18%); border-radius: 3px 1px 1px 3px; }
.bk-f .bk-pg.bk { left: 0; transform-origin: left center; }
.bk-h { display: block; width: 52%; height: 12px; border-radius: 6px; background: var(--ink); margin-bottom: 16px; }
.bk-ln i { display: block; height: 7px; border-radius: 4px; background: #E3E6EE; margin-bottom: 9px; }
.bk-hl { display: block; height: 14px; margin: 2px -4px 10px; border-radius: 3px; background: rgb(255 114 0 / .38); transform-origin: left; animation: hlSweep 5s ease-in-out infinite; }
@keyframes hlSweep { 0%, 10% { scale: 0 1; } 35%, 85% { scale: 1 1; } 100% { scale: 1 1; opacity: 0; } }
.bk-ch { display: flex; align-items: flex-end; gap: 7px; height: 52px; margin-top: 8px; }
.bk-ch i { flex: 1; height: calc(var(--h) * 1%); background: #DADEE7; border-radius: 3px 3px 1px 1px; }
.bk-ch i:nth-child(4) { background: var(--ac); }
.bk-ck p { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; }
.bk-ck p i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid #C9CEDA; box-sizing: border-box; flex: none; position: relative; animation: ckOn 4.4s calc(.3s + var(--i) * .45s) infinite; }
.bk-ck p i::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 42deg; }
.bk-ck p span { display: block; height: 7px; border-radius: 4px; background: #E3E6EE; }
@keyframes ckOn { 0%, 6% { background: transparent; border-color: #C9CEDA; } 10%, 80% { background: var(--ac); border-color: var(--ac); } 90%, 100% { background: transparent; border-color: #C9CEDA; } }
.bk-inv { position: relative; }
.bk-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.bk-row i { height: 7px; width: 46%; border-radius: 4px; background: #E3E6EE; } .bk-row i + i { width: 22%; }
.bk-tot { display: flex; justify-content: space-between; align-items: center; border-top: 1.5px solid #E1E4EC; padding-top: 10px; margin-top: 6px; }
.bk-tot i { height: 9px; width: 30%; border-radius: 4px; background: #CDD2DD; } .bk-tot b { height: 12px; width: 34%; border-radius: 4px; background: var(--ink); }
.bk-stamp { position: absolute; right: -2px; top: 98px; padding: 3px 9px; border: 2.5px solid var(--ok); border-radius: 7px; color: var(--ok); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; rotate: -12deg; animation: stamp 4.4s infinite; }
@keyframes stamp { 0%, 30% { opacity: 0; scale: 1.8; } 38%, 88% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }
.bk-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.bk-vs > div { border: 1.5px solid #E1E4EC; border-radius: 10px; padding: 10px 9px; display: grid; gap: 7px; }
.bk-vs > div.on { border-color: var(--ac); box-shadow: 0 0 0 3px rgb(255 114 0 / .14); }
.bk-vs b { height: 9px; border-radius: 4px; background: #CDD2DD; width: 70%; } .bk-vs .on b { background: var(--ac); }
.bk-vs i { height: 6px; border-radius: 3px; background: #E3E6EE; }
.bk-tab { position: absolute; left: 197px; width: 15px; height: 34px; border-radius: 0 7px 7px 0; transform: translateZ(1px); }
.bk-tab.t1 { top: -100px; background: var(--ac); } .bk-tab.t2 { top: -56px; background: var(--ink); } .bk-tab.t3 { top: -12px; background: #C9CEDA; }
.bk-chips .bk-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--ln); box-shadow: var(--sh);
  font-size: 13px; font-weight: 700; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.bk-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); }
.bk-chip.c0 { left: 36px; top: 54px; } .bk-chip.c1 { left: 392px; top: 30px; animation-delay: -2s; } .bk-chip.c2 { left: 356px; top: 368px; animation-delay: -4s; }
.bk-chip.c1::before { background: var(--ink); }

/* =============================================================== NOSOTROS */
.tm-fl { position: absolute; left: 0; top: 0; width: 560px; height: 440px; overflow: visible; }
.tm-fl .d { fill: none; stroke: var(--ac); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; opacity: .7; }
.tm-fl .gp { fill: var(--ac); stroke: none; }
.tm-deck { position: absolute; left: 150px; top: 100px; width: 184px; height: 264px; transform-style: preserve-3d; }
.tm-c { position: absolute; inset: 0; box-sizing: border-box; padding: 9px 9px 14px; border-radius: 22px; background: #fff; border: 1px solid var(--ln); box-shadow: var(--sh);
  display: flex; flex-direction: column; opacity: calc(1 - var(--o) * .06);
  transform: translate3d(calc(var(--o) * 46px), calc(var(--o) * -10px), calc(var(--o) * -56px)) rotate(calc(var(--o) * 6deg));
  transition: transform 1s cubic-bezier(.2, .75, .2, 1), opacity .6s; }
.tm-c.out { animation: tmOut .6s cubic-bezier(.5, 0, .7, .4) forwards; }
.tm-c.snap { transition: none; }
@keyframes tmOut { to { transform: translate3d(-150px, 30px, 60px) rotate(-14deg); opacity: 0; } }
.tm-ph { height: 164px; border-radius: 15px; overflow: hidden; background: #EEF0F5; }
.tm-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.tm-c b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; margin: 12px 6px 2px; }
.tm-c span { font-size: 11.5px; line-height: 1.3; color: var(--mute); font-weight: 600; margin: 0 6px; }

/* =============================================================== CONTACTO */
.ct-orb { position: absolute; left: 290px; top: 356px;   /* la órbita va por debajo de las tarjetas, así ningún ícono queda tapado */
  width: 0; height: 0; transform-style: preserve-3d; animation: ctSpin 26s linear infinite; }
@keyframes ctSpin { from { transform: rotateX(82deg) rotateZ(0deg); } to { transform: rotateX(82deg) rotateZ(360deg); } }
.ct-ring { position: absolute; left: -240px; top: -240px; width: 480px; height: 480px; border-radius: 50%; border: 1.5px dashed rgb(15 30 61 / .2); box-sizing: border-box; }
.ct-it { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateZ(var(--a)) translateX(240px) rotateZ(calc(-1 * var(--a))); }
.ct-face { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; animation: ctFace 26s linear infinite; }
@keyframes ctFace { from { transform: rotateZ(0deg) rotateX(-82deg); } to { transform: rotateZ(-360deg) rotateX(-82deg); } }
.ct-face svg { width: 24px; height: 24px; }
.ct-face.wa { background: #25D366; color: #fff; }
.ct-face::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgb(15 30 61 / .08); } .ct-face.ag { background: var(--ink); } .ct-face.ml { background: #fff; color: var(--ink); border: 1px solid var(--ln); }
.ct-b, .ct-ok { position: absolute; opacity: 0; translate: 0 14px; scale: .94; transition: opacity .5s, translate .6s cubic-bezier(.2, .8, .2, 1.2), scale .6s cubic-bezier(.2, .8, .2, 1.2); }
.ct-seq .in { opacity: 1; translate: 0 0; scale: 1; }
.ct-b { padding: 14px 18px; border-radius: 22px; font-size: 15px; font-weight: 600; box-shadow: var(--sh); white-space: nowrap; }
.ct-b.q { left: 40px; top: 34px; background: #fff; border: 1px solid var(--ln); border-bottom-left-radius: 6px; transform-origin: left bottom; }
.ct-b.a { left: 190px; top: 114px; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; transform-origin: right bottom; }
.ct-b.typ { left: 436px; top: 114px; background: var(--ink); display: flex; gap: 5px; padding: 18px 18px; }
.ct-b.typ i { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .8); animation: typ 1s infinite; }
.ct-b.typ i:nth-child(2) { animation-delay: .15s; } .ct-b.typ i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.ct-ok { left: 118px; top: 200px; display: flex; align-items: center; gap: 14px; padding: 13px 16px 13px 13px; border-radius: 20px; background: #fff; border: 1px solid var(--ln); box-shadow: var(--sh); }
.ct-ok > div:not(.ct-cal) { display: flex; flex-direction: column; gap: 2px; padding-right: 8px; }
.ct-ok > div b { font-size: 15px; font-weight: 800; } .ct-ok > div span { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.ct-cal { width: 52px; border-radius: 12px; overflow: hidden; border: 1px solid var(--ln); text-align: center; flex: none; }
.ct-cal b { display: block; background: var(--ac); color: #0F1E3D; font-size: 11px !important; letter-spacing: .1em; padding: 3px 0; }
.ct-cal span { display: block; font-size: 22px !important; font-weight: 800; color: var(--ink) !important; padding: 3px 0 4px; }
.ct-ok svg { width: 30px; height: 30px; flex: none; }
.ct-ok svg circle { fill: #E7F7EE; }
.ct-ok svg path { fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ct-ok.in svg path { transition: stroke-dashoffset .6s .35s; stroke-dashoffset: 0; }

/* =============================================================== Sin movimiento */
@media (prefers-reduced-motion: reduce) {
  .hv *, .hv *::before, .hv *::after { animation: none !important; transition: none !important; }
  .hv .hv-s { opacity: 1; }
  .md-fit, .ct-b, .ct-ok { opacity: 1; translate: none; scale: 1; }
  .ct-b.typ { display: none; }
  .md-slot { opacity: 0; }
}

@media (max-width: 1000px) {
  .head-v { grid-template-columns: 1fr; gap: 4px; }
  .hv { max-width: 540px; justify-self: center; margin-top: 4px; overflow: clip; overflow-clip-margin: 12px; }
}


/* =============================================================== HOME: un solo sistema */
.h2-scene { position: relative; flex: 1; min-height: clamp(300px, 27vw, 420px); }
.hv.hv-home { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; margin: 0; aspect-ratio: auto; --ink: #0F1E3D; }
.hv-home .hv-t { transform: rotateY(calc(var(--px) * 3deg)) rotateX(calc(var(--py) * -3deg)); }
.hm-beams { position: absolute; left: 0; top: 0; width: var(--sw); height: var(--sh); overflow: visible; }
.hm-beams path { fill: none; stroke: rgb(255 255 255 / .22); stroke-width: 1.6; stroke-dasharray: 3 7; stroke-linecap: round; animation: dash 1.2s linear infinite; }
.hm-card { position: absolute; box-sizing: border-box; border-radius: 18px; background: rgb(255 255 255 / .97); color: var(--ink);
  box-shadow: 0 1px 0 #fff inset, 0 40px 60px -30px rgb(0 0 0 / .55), 0 10px 20px -10px rgb(0 0 0 / .3); padding: 14px 16px; }
.hm-hd { display: flex; align-items: center; gap: 10px; height: 26px; margin-bottom: 10px; }
.hm-hd img { height: 20px; width: auto; }
.hm-hd span { font-size: 12.5px; font-weight: 700; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.hm-hd em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #EEF1F6; color: #4A5470; }
.hm-hd em.up { background: #E7F7EE; color: var(--ok); }
.hm-hd .dot { width: 7px; height: 7px; border-radius: 50%; background: #25D366; }
/* Rispy */
.hm-rispy { left: 70px; top: 52px; width: 332px; height: 236px; transform-origin: right center; transform: rotateY(14deg); }
.hm-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 41px; padding: 0 8px; margin: 0 -8px; border-radius: 10px; transition: background .5s; }
.hm-row + .hm-row { border-top: 1px solid #EEF0F4; }
.hm-row > b { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hm-row span { display: flex; flex-direction: column; min-width: 0; }
.hm-row span i { font-style: normal; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-row span small { font-size: 11px; color: var(--mute); font-weight: 600; }
.hm-row.hi { background: #FFF4EA; }
.st { font-style: normal; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 99px; white-space: nowrap; transition: background .4s, color .4s; }
.st.done { background: #EEF0F5; color: #6B7080; } .st.in { background: #E8F0FE; color: #2456AD; } .st.wait { background: #FFF3DC; color: #A86200; }
.st.ok { background: #E3F6EA; color: var(--ok); animation: stPop .5s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes stPop { from { scale: .7; } }
/* Compy */
.hm-compy { left: 798px; top: 52px; width: 332px; height: 236px; transform-origin: left center; transform: rotateY(-14deg); display: flex; flex-direction: column; }
.hm-total { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 8px; }
.hm-total small { font-size: 14px; font-weight: 700; color: var(--mute); }
.hm-total b { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.hm-bars i { flex: 1; height: calc(var(--h) * 1%); border-radius: 3px 3px 1px 1px; background: #DDE3EE; transform-origin: bottom; transition: height .8s cubic-bezier(.2, .8, .2, 1); }
.hm-bars i.new { background: var(--accent); }
.hm-bars i.new.grow { height: 96%; }
.hm-mv { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: #F4F6FA;
  opacity: .45; transition: opacity .4s, background .5s, translate .5s cubic-bezier(.2, .8, .2, 1); }
.hm-mv.in { opacity: 1; background: #FFF4EA; animation: mvIn .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes mvIn { from { translate: 0 10px; opacity: 0; } }
.hm-mv span { display: flex; flex-direction: column; min-width: 0; }
.hm-mv span i { font-style: normal; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-mv span small { font-size: 11px; color: var(--mute); font-weight: 600; }
.hm-mv b { font-size: 13px; font-weight: 800; white-space: nowrap; }
.hm-mv .sifen { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 3px 6px; border-radius: 6px; background: #E3F6EA; color: var(--ok); }
/* Conversa */
.hm-crm { left: 470px; top: 6px; width: 260px; height: 128px; padding: 12px 14px; opacity: .96; }
.hm-crm .hm-hd { margin-bottom: 8px; height: 20px; }
.hm-msg { font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 12px; max-width: 86%; line-height: 1.25; }
.hm-msg.inc { background: #EEF1F6; border-bottom-left-radius: 4px; }
.hm-msg.out { margin: 6px 0 0 auto; background: #DFF6E6; border-bottom-right-radius: 4px; display: flex; gap: 6px; align-items: flex-end; width: fit-content; opacity: 0; translate: 0 6px;
  transition: opacity .4s, translate .5s cubic-bezier(.2, .8, .2, 1.3); }
.hm-msg.out.in { opacity: 1; translate: 0 0; }
.hm-msg.out i { font-style: normal; font-size: 10px; color: #34B7F1; letter-spacing: -.1em; }
/* Liberty al centro */
.hm-core { position: absolute; left: 552px; top: 174px; width: 96px; height: 96px; display: grid; place-items: center; }
.hm-core .tile { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(150deg, #FF8A26, #FF6A00);
  box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 24px 40px -14px rgb(255 106 0 / .65); }
.hm-core .tile svg { width: 54px; height: 54px; }
.hm-core .ring { position: absolute; inset: -6px; border-radius: 30px; border: 1.5px solid rgb(255 255 255 / .16); }
.hm-core .ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 2px solid transparent; border-top-color: #FFB27A; border-right-color: rgb(255 178 122 / .3); animation: spin 2.6s linear infinite; }
.hm-core .rip { position: absolute; inset: 9px; border-radius: 22px; border: 2px solid var(--accent); opacity: 0; }
.hm-core.pulse .rip { animation: rip 1s ease-out; }
.hm-core.pulse .tile { animation: bump .55s cubic-bezier(.3, 1.6, .5, 1); }
.hm-p { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; opacity: 0;
  box-shadow: 0 0 0 3px var(--accent), 0 0 18px 6px rgb(255 114 0 / .55); offset-rotate: 0deg; }
/* avisos flotantes */
.hm-toast { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 99px; background: #0F1E3D; color: #fff;
  border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 18px 30px -14px rgb(0 0 0 / .6); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  opacity: 0; translate: 0 8px; scale: .94; transition: opacity .4s, translate .5s cubic-bezier(.2, .8, .2, 1.3), scale .5s cubic-bezier(.2, .8, .2, 1.3); }
.hm-toast.in { opacity: 1; translate: 0 0; scale: 1; }
.hm-toast i { width: 18px; height: 18px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.hm-toast i::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 42deg; }
.hm-toast b { color: #FFB27A; font-variant-numeric: tabular-nums; }
.t-r { left: 104px; top: 22px; } .t-c { left: 930px; top: 22px; }

/* Composición alta (celular) */
.hv-home[data-layout="tall"] .hm-rispy { left: 20px; top: 8px; width: 360px; height: 200px; transform: none; }
.hv-home[data-layout="tall"] .hm-row:nth-child(4) { display: none; }
.hv-home[data-layout="tall"] .hm-core { left: 64px; top: 216px; }
.hv-home[data-layout="tall"] .hm-crm { left: 196px; top: 238px; width: 184px; height: auto; padding: 10px 12px; }
.hv-home[data-layout="tall"] .hm-crm .hm-msg.inc { display: none; }
.hv-home[data-layout="tall"] .hm-crm .hm-msg.out { margin-top: 0; max-width: 100%; }
.hv-home[data-layout="tall"] .hm-compy { left: 20px; top: 352px; width: 360px; height: 220px; transform: none; }
.hv-home[data-layout="tall"] .t-r { left: auto; right: 26px; top: 192px; }
.hv-home[data-layout="tall"] .t-c { display: none; }
.hv-home[data-layout="tall"] .hm-beams { width: 400px; height: 580px; }
@media (max-width: 699px) {
  .h2-scene { flex: none; min-height: 0; aspect-ratio: 400 / 580; margin: 8px 10px 0; }
}

/* Productos en celular: la ilustración se achica, así que quedan tres problemas con letra más grande */
@media (max-width: 700px) {
  .hv-productos .pr-pill { font-size: 14.5px; width: auto; max-width: 236px; height: 46px; white-space: nowrap; }
  .hv-productos .pr-pill[data-i="3"], .hv-productos .pr-pill[data-i="4"] { display: none; }
}

/* ---- sky.css */
/* 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; }

/* ---- glass.css */
/* Fondo con profundidad y bloques translúcidos (como en la web de Cerodos), y una escala tipográfica con más contraste.
   Se carga al final: manda sobre lo anterior. */

/* ---------- Fondo: azul Liberty con luces de color, fijo detrás de todo. Las tarjetas lo dejan ver esmerilado. */
:root {
  --bgc: #B9CAE6;
  --glass-l: rgb(255 255 255 / .6);
  --glass-l-strong: rgb(255 255 255 / .72);
  --glass-l-line: rgb(255 255 255 / .78);
  --glass-l-shadow: 0 1px 0 rgb(255 255 255 / .85) inset, 0 34px 64px -34px rgb(15 30 61 / .42), 0 10px 24px -16px rgb(15 30 61 / .18);
  --glass-d: rgb(9 24 58 / .86);
  --ink-2: #4B5674;
}
html { background: var(--bgc); }
body { background: transparent !important; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 44vmax at 4% -6%, rgb(24 66 158 / .62), transparent 62%),
    radial-gradient(46vmax 40vmax at 104% 24%, rgb(255 132 40 / .38), transparent 62%),
    radial-gradient(56vmax 44vmax at 26% 98%, rgb(32 88 190 / .46), transparent 64%),
    radial-gradient(40vmax 34vmax at 88% 94%, rgb(255 168 96 / .3), transparent 62%),
    linear-gradient(170deg, #AFC3E4 0%, #C6D3EA 45%, #D2DCEC 100%);
}
/* grano muy fino para que el fondo no se vea plano */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tint { background: transparent !important; }

/* ---------- Bloques claros translúcidos */
.pick-panel, .pv-panel, .ct-form, .qk, .qk-social a, .p-also article, .dm-form, .dm-done, .dm-wa, .visit-route,
.door:not(.is-open), .doors.sm .door:not(.is-open), .pstage, .card, .price-box:not(.accent),
.three > div, .pairs > div, .faq, .ledger, .p-used li, .pv-chips img, .dm-chip span, .dm-radios span, .ct-place {
  background: var(--glass-l) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--glass-l-line) !important;
  box-shadow: var(--glass-l-shadow) !important;
}
/* los que ya eran texto suelto ahora son tarjetas: les damos aire y forma */
.three > div, .pairs > div { padding: 26px 28px 28px !important; border-radius: 22px; }
.faq, .ledger { padding: 10px 28px !important; border-radius: 24px; }
.pick-panel, .pv-panel { background: var(--glass-l) !important; }
.pick-panel::before { opacity: .6; }
.pstage { border-radius: 28px; }
.p-used li, .pv-chips img { background: var(--glass-l-strong) !important; box-shadow: 0 6px 14px -8px rgb(15 30 61 / .35) !important; }
.dm-chip span, .dm-radios span { box-shadow: none !important; }
.dm-chip input:checked + span, .dm-radios input:checked + span { background: rgb(255 246 238 / .85) !important; border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgb(255 114 0 / .15) !important; }
.field input, .field select, .field textarea { background: rgb(255 255 255 / .7); border-color: rgb(15 30 61 / .14); }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; }

/* ---------- Bloques oscuros: azul profundo translúcido y esmerilado */
.glass, .on-dark, .price-box.accent, .door.is-open, .pv-prom, .dm-box, .ct-next {
  background: var(--glass-d) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .14) !important;
  box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 40px 80px -40px rgb(8 18 40 / .7) !important;
}
.hc-panel { box-shadow: 0 50px 90px -50px rgb(8 18 40 / .8); }

/* barra y pie, también de vidrio */
.site-header.scrolled .hd, .site-header.menu-open .hd { background: rgb(255 255 255 / .62); border-color: var(--glass-l-line); }
.site-footer { background: rgb(255 255 255 / .42) !important; border-top: 1px solid var(--glass-l-line) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.hd-actions { background: rgb(255 255 255 / .55); border-color: var(--glass-l-line); }

/* ---------- Tipografía: títulos más grandes y pesados, texto más liviano y chico. Más distancia entre niveles. */
body { font-size: 1.0625rem; line-height: 1.6; }
h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); font-weight: 800; letter-spacing: -.048em; line-height: .96; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); font-weight: 800; letter-spacing: -.042em; line-height: .98; }
h3 { font-size: clamp(1.12rem, 1.35vw, 1.3rem); font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.55; }
p, li { color: inherit; }
.sec-head h2 { max-width: 14em; }
.pick-head h2, .pv-head h2, .p-also + *, .ct-form-hd h2 { letter-spacing: -.045em; }
.pick-head h2, .pv-head h2 { font-size: clamp(2.4rem, 4.8vw, 4.3rem); line-height: .95; }
.hero2 h1 { font-size: clamp(3rem, min(7vw, 11vh), 7rem); letter-spacing: -.055em; line-height: .92; }
.page-head h1, .prod-hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.9rem); }
.agent-intro h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); letter-spacing: -.05em; }
.dm-step legend { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.025em; }
.pick-side p, .three p, .pairs p, .ptext p, .p-also p, .qk-tx em, .pv-old span { font-size: .98rem; }
.ptext h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.p-used > span, .pv-cols span, .pick .dm-label span, .dm-chip small, .qk-tx small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.dm-chip small { letter-spacing: .06em; }

/* ---------- Celular: blur más liviano para que fluya, sin perder la transparencia */
@media (max-width: 700px) {
  .pick-panel, .pv-panel, .ct-form, .qk, .p-also article, .dm-form, .dm-done, .dm-wa, .visit-route, .door:not(.is-open), .pstage, .card,
  .three > div, .pairs > div, .faq, .ledger {
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); background: rgb(255 255 255 / .64) !important;
  }
  .glass, .on-dark, .price-box.accent, .door.is-open, .pv-prom, .dm-box, .ct-next { background: rgb(12 27 58 / .86) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  h2, .pick-head h2, .pv-head h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .ptext h2 { font-size: 1.9rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .on-dark, .pv-prom, .dm-box, .ct-next { background: #11234A !important; }
  .pick-panel, .pv-panel, .ct-form, .qk, .dm-form, .card, .door:not(.is-open) { background: #F7F9FC !important; }
}
.pn-txt { font: 800 .96rem/1 var(--head); letter-spacing: .03em; text-transform: uppercase; color: #1B1B1B; text-decoration: none; }   /* mismo peso y alto de letra que las palabras de AVM y TRANSIT */
/* en pantallas angostas las puertas quedan abiertas y claras: vidrio claro, no oscuro */
@media (max-width: 900px) {
  .door.is-open { background: rgb(255 255 255 / .64) !important; border: 1px solid var(--glass-l-line) !important; box-shadow: var(--glass-l-shadow) !important; }
}
/* legibilidad sobre el fondo con color */
:root { --ink-2: #3D4866; }
.p-used > span { color: #3E4865; }
.pv-cols span { color: #5A6480; } .pv-cols span + span { color: var(--accent-ink, #B04A00); }
.dm-form .field label em { color: #5F6884; }
.ct-place .btn span { color: inherit; font-size: inherit; }

/* ---------- Textos que se cargan al bajar (text.js) */
.tx-on .tx-h .tw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.tx-on .tx-h .tw > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--w) * 45ms); }
.tx-on .tx-h.tx-in .tw > span { transform: none; }
.tx-on .tx-p { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1), filter .8s ease; transition-delay: calc(120ms + var(--pi, 0) * 70ms); }
.tx-on .tx-p.tx-in { opacity: 1; transform: none; filter: none; }

/* ---------- Botones con borde luminoso: una luz recorre el borde y un halo suave los rodea */
@property --ga { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn, .link { --glow: 255 140 50; }
.btn::after, .link::after {
  content: "" !important; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ga), rgb(var(--glow) / 0) 0 62%, rgb(var(--glow) / .8) 78%, rgb(255 255 255 / .7) 84%, rgb(var(--glow) / .8) 90%, rgb(var(--glow) / 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: btnGlow 4.5s linear infinite; opacity: .7; transition: opacity .3s;   /* en reposo, la luz es más suave */ margin: 0 !important; transform: none !important;
}
@keyframes btnGlow { to { --ga: 360deg; } }
.btn:is(:hover, :focus-visible)::after, .link:is(:hover, :focus-visible)::after { opacity: 1; }
.btn-primary { --glow: 255 214 170; box-shadow: 0 0 0 1px rgb(255 160 80 / .55), 0 0 22px -2px rgb(255 114 0 / .55), 0 12px 26px -14px rgb(255 114 0 / .8) !important; }
.btn-primary:hover, .btn-primary:focus-visible { box-shadow: 0 0 0 1px rgb(255 190 130 / .8), 0 0 34px 0 rgb(255 114 0 / .65), 0 16px 30px -14px rgb(255 114 0 / .8) !important; }
.btn-ghost, .link { box-shadow: 0 0 0 1px rgb(255 140 50 / .28), 0 0 18px -4px rgb(255 114 0 / .4); }
.btn-ghost:hover, .link:hover, .btn-ghost:focus-visible, .link:focus-visible { box-shadow: 0 0 0 1px rgb(255 140 50 / .5), 0 0 26px -2px rgb(255 114 0 / .5); }
/* sobre fondos oscuros, la luz es blanca y fría */
.glass .btn-ghost, .on-dark .btn-ghost, .hero-c .btn-ghost, .closing .btn-ghost, .dm-box .btn, .glass .link, .on-dark .link {
  --glow: 190 215 255; box-shadow: 0 0 0 1px rgb(190 215 255 / .35), 0 0 20px -4px rgb(150 190 255 / .45);
}
.btn-agent { gap: 10px; }
.btn-agent .live, .closing .btn-agent i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); flex: none; }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.closing .btn-ghost { color: #fff; border-color: rgb(255 255 255 / .45); }
@media (prefers-reduced-motion: reduce) { .btn::after, .link::after { animation: none; } }

/* ---------- Al pasar el cursor el botón se rellena: el texto siempre contrasta con ese relleno */
.btn-primary:hover, .btn-primary:focus-visible, .btn-ghost:hover, .btn-ghost:focus-visible, .link:hover, .link:focus-visible { --fill: #0F1E3D; color: #fff !important; }
.btn-primary:hover .roll > span, .btn-ghost:hover .roll > span, .link:hover .roll > span,
.btn-primary:hover .roll::after, .btn-ghost:hover .roll::after, .link:hover .roll::after { color: inherit; }
/* sobre bloques oscuros el relleno es blanco y el texto azul */
:is(.glass, .on-dark, .closing, .hc-panel, .dm-box, .ct-next, .pv-prom, .band) :is(.btn-primary, .btn-ghost, .link):is(:hover, :focus-visible) { --fill: #fff; color: #0F1E3D !important; }
:is(.glass, .on-dark, .closing, .hc-panel, .band) .btn-ghost:is(:hover, :focus-visible) { border-color: #fff; }
.btn-agent:hover .live, .btn-agent:focus-visible .live { box-shadow: 0 0 0 4px rgb(34 197 94 / .3); }

/* ---------- Ventana del agente: borde luminoso que la recorre y un halo que la destaca */
.chat { position: relative; isolation: isolate;
  box-shadow: 0 0 0 1px rgb(170 205 255 / .5), 0 0 34px -4px rgb(110 165 255 / .65), 0 0 90px -10px rgb(80 140 255 / .55), 0 0 160px -30px rgb(255 120 30 / .6), 0 60px 100px -50px rgb(8 18 40 / .7) !important; }
.chat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--ga), rgb(255 150 60 / 0) 0 55%, rgb(255 150 60 / .95) 70%, #fff 76%, rgb(140 190 255 / .95) 84%, rgb(140 190 255 / 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: btnGlow 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .chat::after { animation: none; } }

/* A medida: tarjetas con imagen con el mismo redondeo que el resto, y la grilla de abajo con la misma separación */
.cards .card { border-radius: 24px; }
.cards + .pairs { column-gap: 24px; row-gap: 24px; margin-top: 24px !important; }
.cards + .pairs > div { border-radius: 24px; }

/* Encabezados de página: el mismo ancho en todas las páginas */
.page-head .head-card { max-width: 577px !important; }
@media (max-width: 900px) { .page-head .head-card { max-width: none !important; } }

/* Nosotros, Dónde estamos: los tres datos en una fila, sin dejar vacía la mitad derecha */
.channels { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; column-gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 700px) { .channels { grid-template-columns: 1fr; } }

/* Contraste: el naranja de marca (#FF7200) queda para fondos oscuros y botones.
   Sobre fondos claros, la palabra destacada de los títulos y los datos en naranja usan un tono un poco más profundo que se lee bien. */
:root { --accent-text: #DA5B00; }
main :is(h1, h2, h3) em { color: var(--accent-text); }
:is(.glass, .on-dark, .hc-panel, .closing, .band, .dm-box, .ct-next, .pv-prom, .door.is-open, .jh-win, .chat) :is(h1, h2, h3) em { color: var(--accent); }

/* ---- pd.css */
/* Páginas de producto: recorrido claro y lo importante destacado. */

/* ---------- Portada del producto */
.pd-head { padding-bottom: 0; }
.pd-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pd-card-head { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 3.4vw, 46px) !important; }
.pd-card-head h1 { font-size: clamp(2.4rem, 4.2vw, 3.9rem) !important; line-height: .98; max-width: 11em; margin: 0; }
.pd-card-head .lead { margin: 0; }
.pd-card-head .actions { margin-top: 8px; }
.pd-logo { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -14px rgb(0 0 0 / .6); }
.pd-logo img { height: 30px; width: auto; display: block; }
.pd-eyebrow { margin: 4px 0 0; font: 800 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #FFB27A; }
/* La línea chica va dentro del título principal: Google y las IA leen qué es la página (auditoría externa, 26/11/2026). */
.pd-card-head h1 .pd-eyebrow { display: block; margin: 4px 0 14px; line-height: 1.4; max-width: none; }
h1 .h1-kicker { display: block; margin: 0 0 12px; font: 700 .9rem/1.4 var(--body); letter-spacing: .02em; color: var(--ink-2); }
.pd-shot .mock-wrap { margin: 0; }
.pd-shot .mock { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; box-shadow: 0 50px 90px -40px rgb(8 18 40 / .55); border-radius: 18px; }

/* datos clave: lo primero que hay que saber, grande y a la vista */
.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(26px, 3vw, 40px); border-radius: 24px; overflow: hidden;
  background: rgb(255 255 255 / .6); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-fact { display: grid; gap: 4px; align-content: start; padding: 22px 24px; }
.pd-fact + .pd-fact { border-left: 1px solid rgb(15 30 61 / .08); }
.pd-fact b { font: 800 clamp(1.35rem, 2vw, 1.8rem)/1.05 var(--head); letter-spacing: -.035em; color: #0F1E3D; }
.pd-fact span { font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.pd-fact:first-child b { color: var(--accent-text, #DA5B00); }

/* ---------- Qué resuelve */
.pd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pd-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border-radius: 24px;
  background: rgb(255 255 255 / .6); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 1px 0 #fff inset, 0 30px 60px -36px rgb(15 30 61 / .4); }
.pd-card::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--accent); }
.pd-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.pd-card p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Qué incluye + precio, lado a lado */
.pd-offer { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 20px; align-items: start; }
.pd-inc { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-inc h2 { margin: 0 0 22px; }
.pd-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.pd-checks li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid rgb(15 30 61 / .08); font-weight: 600; color: #0F1E3D; font-size: 1rem; line-height: 1.35; }
.pd-checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: #FFF1E6; }
.pd-checks li::after { content: ""; position: absolute; left: 8px; top: 16px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2.2px 2.2px 0; rotate: 42deg; }
.pd-price { position: sticky; top: 100px; display: grid; gap: 8px; padding: 30px 28px; border-radius: 28px; color: #EEF2FA;
  background: rgb(9 24 58 / .88); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .14); box-shadow: 0 0 0 1px rgb(255 140 50 / .2), 0 0 50px -12px rgb(255 114 0 / .4), 0 40px 80px -40px rgb(8 18 40 / .7); }
.pd-price-k { margin: 0; font: 800 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #FFB27A; }
.pd-amount { margin: 0; font: 800 clamp(2rem, 3vw, 2.7rem)/1 var(--head); letter-spacing: -.04em; color: #fff; }
.pd-sub { margin: 0 0 6px; color: #C3CDE3; font-size: .98rem; }
.pd-price-extra { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.pd-price-extra b { color: #fff; font-size: .98rem; } .pd-price-extra span { color: #C3CDE3; font-size: .92rem; }
.pd-price-cta { display: grid; gap: 10px; margin-top: 10px; }
.pd-price-cta .btn { justify-content: center; }
.pd-price .note { margin: 6px 0 0; color: #9FAAC4; font-size: .84rem; }
.pd-ask { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 20px; border-radius: var(--r); font: 700 1.02rem var(--head);   /* mismo alto que "Pedí una demo" */
  color: #fff; text-decoration: none; border: 1.5px solid rgb(255 255 255 / .22); transition: background .3s, color .3s; }
.pd-ask:hover { background: #fff; color: #0F1E3D; }
.pd-ask .live, .pd-faq .live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgb(34 197 94 / .22); flex: none; }

/* planes (Conversa) */
.pd-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pd-plan { display: grid; gap: 18px; align-content: start; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-plan-hd { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid rgb(15 30 61 / .1); }
.pd-plan h3 { margin: 0; font: 800 .8rem var(--body) !important; letter-spacing: .14em; text-transform: uppercase; color: #5A6480; }
.pd-plan .pd-amount { color: #0F1E3D; } .pd-plan .pd-sub { color: var(--ink-2); }
.pd-plan .pd-checks { grid-template-columns: 1fr; }
.pd-plan.hot { background: rgb(9 24 58 / .88); border-color: rgb(255 255 255 / .14); color: #EEF2FA;
  box-shadow: 0 0 0 1px rgb(255 140 50 / .25), 0 0 50px -12px rgb(255 114 0 / .45), 0 40px 80px -40px rgb(8 18 40 / .7); }
.pd-plan.hot h3 { color: #FFB27A; } .pd-plan.hot .pd-amount { color: #fff; } .pd-plan.hot .pd-sub { color: #C3CDE3; }
.pd-plan.hot .pd-plan-hd { border-color: rgb(255 255 255 / .12); }
.pd-plan.hot .pd-checks li { color: #EEF2FA; border-color: rgb(255 255 255 / .1); }
.pd-plan.hot .pd-checks li::before { background: rgb(255 114 0 / .2); }
.pd-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.pd-offer-foot .note { margin: 0; }
.pd-offer-foot .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pd-offer-foot .pd-ask { color: #0F1E3D; border-color: rgb(15 30 61 / .2); background: rgb(255 255 255 / .55); }
.pd-offer-foot .pd-ask:hover { background: #0F1E3D; color: #fff; }

/* ---------- Cómo se pone en marcha + con qué se combina */
.pd-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: stretch; }
.pd-steps-box, .pd-combos-box, .pd-who { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); }
.pd-steps-box h2, .pd-combos-box h2, .pd-who h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3vw, 2.6rem) !important; }
.pd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.pd-steps::before { content: ""; position: absolute; left: 11px; right: 30%; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), rgb(255 114 0 / .15)); }
.pd-steps li { position: relative; display: grid; gap: 6px; align-content: start; padding-top: 40px; }
.pd-dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 0 0 5px rgb(255 114 0 / .14); }
.pd-steps li:last-child .pd-dot { background: var(--accent); }
.pd-steps b { font: 800 1.12rem/1.2 var(--head); letter-spacing: -.02em; color: #0F1E3D; min-height: 2.4em; }   /* si un título ocupa dos líneas, las descripciones siguen alineadas */
.pd-steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.pd-combos { display: grid; gap: 12px; }
.pd-combo { display: grid; gap: 8px; padding: 16px 18px; border-radius: 18px; background: rgb(255 255 255 / .7); border: 1px solid rgb(15 30 61 / .08);
  text-decoration: none; color: var(--ink-2); font-size: .95rem; line-height: 1.4; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s; }
.pd-combo-logo img { height: 24px; width: auto; display: block; }
.pd-combo-logo b { font: 800 1.15rem var(--head); color: #0F1E3D; letter-spacing: -.02em; }
.pd-combo:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 114 0 / .12), 0 18px 30px -18px rgb(15 30 61 / .4); }

/* ---------- Quién lo usa */
.pd-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }   /* centrados, sin hueco a la derecha */
.pd-logos li { width: 124px; flex: none; }
.pd-logos li { aspect-ratio: 1; border-radius: 18px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 22px -16px rgb(15 30 61 / .45);
  transition: transform .35s cubic-bezier(.16,1,.3,1); }
.pd-logos li:hover { transform: translateY(-3px); }
.pd-logos img { width: 76%; height: 76%; object-fit: contain; }
.pd-names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-names span { padding: 7px 13px; border-radius: 99px; background: rgb(255 255 255 / .7); border: 1px solid rgb(15 30 61 / .08); font: 700 .9rem var(--head); color: #0F1E3D; }

/* ---------- Preguntas: título y salida al agente a la izquierda, respuestas a la derecha */
.pd-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-faq-side { display: grid; gap: 14px; justify-items: start; position: sticky; top: 110px; }
.pd-faq-side h2 { margin: 0; }
.pd-faq-side p { margin: 0; color: var(--ink-2); }
.pd-faq-side .btn-agent i.live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); }
.pd-faq .faq { margin: 0; }

/* ---------- Celular */
@media (max-width: 1000px) {
  .pd-hero, .pd-offer, .pd-two, .pd-faq { grid-template-columns: 1fr; }
  .pd-price, .pd-faq-side { position: static; }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-fact:nth-child(3) { border-left: 0; }
  .pd-fact:nth-child(n+3) { border-top: 1px solid rgb(15 30 61 / .08); }
  .pd-shot .mock { transform: none; }
}
@media (max-width: 700px) {
  .pd-cards, .pd-plans, .pd-steps, .pd-checks { grid-template-columns: 1fr; }
  .pd-steps { gap: 22px; padding-left: 38px; }
  .pd-steps b { min-height: 0; }
  .pd-steps::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(var(--accent), rgb(255 114 0 / .15)); }
  .pd-steps li { padding-top: 0; }
  .pd-dot { left: -38px; }
  .pd-fact { padding: 16px; }
  .pd-fact b { font-size: 1.25rem; }
  .pd-card-head h1 { font-size: clamp(2.2rem, 10vw, 2.8rem) !important; }
  .pd-logos { gap: 8px; }
  .pd-logos li { width: calc((100% - 24px) / 4); }
  .pd-logos li { border-radius: 14px; }
  .pd-inc, .pd-steps-box, .pd-combos-box, .pd-who, .pd-plan { padding: 22px 18px; border-radius: 22px; }
}
/* botones sobre los bloques oscuros del precio: se rellenan de blanco */
:is(.pd-price, .pd-plan.hot) :is(.btn-primary, .btn-ghost):is(:hover, :focus-visible) { --fill: #fff; color: #0F1E3D !important; }

/* ---------- Soluciones por negocio */
.so-head .pd-card-head h1 { max-width: 12em; }
.so-pain::before { display: none; }
.so-old { position: relative; margin: 0; padding-left: 26px; color: var(--ink-2); font-size: .98rem; text-decoration: line-through; text-decoration-color: rgb(218 91 0 / .45); text-decoration-thickness: 1.5px; }
.so-old::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(15 30 61 / .25); }
.so-pain h3 { position: relative; padding-left: 26px; }
.so-pain h3::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.so-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.so-prods.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.so-prod { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 28px 26px; border-radius: 26px; background: rgb(255 255 255 / .66);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgb(255 255 255 / .8);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -36px rgb(15 30 61 / .4); }
.so-logo { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px -16px rgb(15 30 61 / .5); }
.so-logo img { height: 28px; width: auto; display: block; }
.so-name { font: 800 1.2rem var(--head); letter-spacing: -.02em; color: #0F1E3D; }
.so-prod > p { margin: 0; font: 700 1.12rem/1.3 var(--head); color: #0F1E3D; letter-spacing: -.015em; }
.so-prod .pd-checks { grid-template-columns: 1fr; width: 100%; }
.so-prod .pd-checks li { font-weight: 500; font-size: .96rem; padding-block: 10px; }
.so-prod .pd-checks li::before { top: 9px; } .so-prod .pd-checks li::after { top: 13px; }
.so-prod .link, .so-prod .p-links { margin-top: auto; }
.so-head .pd-who .link, .pd-two .pd-who .link { display: inline-block; margin-top: 18px; }
.pd-two:has(> .pd-who) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd-two .pd-who .pd-logos { justify-content: flex-start; }
.pd-two .pd-who .pd-logos li { width: 92px; }

/* casos con testimonio (se muestran solo cuando hay alguno cargado) */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.case { display: grid; gap: 16px; padding: 28px 26px; border-radius: 26px; background: rgb(255 255 255 / .66); border: 1px solid rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 30px 60px -36px rgb(15 30 61 / .4); }
.case-hd { display: flex; align-items: center; gap: 12px; } .case-hd img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; }
.case-hd b { font: 800 1.2rem var(--head); color: #0F1E3D; }
.case dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; } .case dt { font: 800 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text, #DA5B00); }
.case dd { margin: 2px 0 0; color: #0F1E3D; font-size: .96rem; }
.case blockquote { margin: 0; padding-top: 14px; border-top: 1px solid rgb(15 30 61 / .08); } .case blockquote p { margin: 0; font: 600 1.05rem/1.4 var(--head); color: #0F1E3D; }
.case blockquote footer { margin-top: 8px; color: var(--ink-2); font-size: .9rem; }

@media (max-width: 1000px) {
  .so-prods, .so-prods.n2, .pd-two:has(> .pd-who) { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .so-prod { padding: 22px 18px; border-radius: 22px; }
  .pd-two .pd-who .pd-logos li { width: calc((100% - 24px) / 4); }
  .case dl { grid-template-columns: 1fr; }
}
.pd-two.solo1 { grid-template-columns: 1fr; }

/* ---------- Todo lo que hace: pestañas por área */
.md { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .6); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 1px 0 #fff inset, 0 34px 64px -34px rgb(15 30 61 / .42); display: grid; gap: 22px; }
.md-hd { display: grid; gap: 8px; }
.md-hd h2 { margin: 0; }
.md-hd p { margin: 0; color: var(--ink-2); max-width: 46em; }
.md-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.md-tabs button { padding: 10px 16px; border-radius: 99px; border: 1px solid rgb(15 30 61 / .12); background: rgb(255 255 255 / .75); color: #2B3554; font: 700 .95rem var(--head); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s; }
.md-tabs button:hover { border-color: var(--accent); }
.md-tabs button[aria-selected="true"] { background: #0F1E3D; border-color: #0F1E3D; color: #fff; }
.md-tabs button:focus-visible, .md-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.md-panel .pd-checks li { font-weight: 600; }
.md-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; background: #EEF1F7; color: #3E4660; font: 700 .74rem var(--body); font-style: normal; vertical-align: 1px; white-space: nowrap; }
.md-tag.dev { background: #FFF1E6; color: #8A4B00; }

/* ---------- circuito de punta a punta (una línea de puntos) */
.fl-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; position: relative; }
.fl-line::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), rgb(255 114 0 / .2)); }
.fl-line li { position: relative; display: grid; gap: 6px; align-content: start; padding-top: 40px; }
.fl-line li:last-child .pd-dot { background: var(--accent); }
.fl-line b { font: 800 1.08rem/1.2 var(--head); color: #0F1E3D; letter-spacing: -.02em; }
.fl-line p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* ---------- Rispy y Compy son el mismo sistema */
.pf { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pf-hd { display: grid; gap: 14px; position: sticky; top: 110px; }
.pf-hd h2 { margin: 0; }
.pf-hd p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.pf-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.pf-logos a { display: inline-flex; padding: 9px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -16px rgb(15 30 61 / .5); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.pf-logos a:hover { transform: translateY(-2px); }
.pf-logos img { height: 30px; width: auto; display: block; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pf-card { display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-radius: 20px; background: rgb(255 255 255 / .62); border: 1px solid rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 40px -30px rgb(15 30 61 / .4); }
.pf-card h3 { margin: 0; font-size: 1.12rem !important; letter-spacing: -.02em; }
.pf-card h3::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; vertical-align: 2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(255 114 0 / .15); }
@media (min-width: 701px) { .md-panel { min-height: 9.5em; } }
.pf-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* etiqueta "Nuevo" en la portada */
.pd-new { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--accent); color: #17294D; font: 800 .78rem var(--head); letter-spacing: .04em; text-transform: uppercase; }
.pd-card-head .pd-logo + .pd-new { margin-top: -4px; }
.pn-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.am-list { grid-template-columns: 1fr 1fr; }

@media (max-width: 1000px) {
  .pf { grid-template-columns: 1fr; } .pf-hd { position: static; }
  .fl-line { grid-template-columns: 1fr; gap: 18px; padding-left: 38px; }
  .fl-line::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(var(--accent), rgb(255 114 0 / .2)); }
  .fl-line li { padding-top: 0; } .fl-line li .pd-dot { left: -38px; }
}
@media (max-width: 700px) {
  .md { padding: 22px 18px; border-radius: 22px; }
  .md-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .md-tabs::-webkit-scrollbar { display: none; }
  .md-tabs button { flex: none; }
  .pf-grid, .am-list { grid-template-columns: 1fr; }
}

/* Para quién es Rispy: "Ideal para" con tilde y "No es para" con una cruz gris */
.pd-two.ideal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd-two.ideal .pd-checks { grid-template-columns: 1fr; }
.pd-checks.no li::before { background: rgb(15 30 61 / .07); }
.pd-checks.no li::after { content: "\00d7"; left: 0; top: 12px; width: 22px; height: 22px; border: 0; rotate: none; color: #545A70; font-weight: 700; font-size: 18px; line-height: 22px; text-align: center; }
@media (max-width: 860px) { .pd-two.ideal { grid-template-columns: 1fr; } }
.pd-two.ideal:not(:has(.pd-combos-box)) { grid-template-columns: 1fr; }
.pd-two.ideal:not(:has(.pd-combos-box)) .pd-checks { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---- jopoi.css */
/* ---------- Gavi flotante: una gaviota de la marca encima del botón de WhatsApp. Abre el chat sin salir de la página. */
.jp { --jp-s: 56px; --jp-r: max(18px, env(safe-area-inset-right, 0px)); --jp-b: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 56px + 12px); }

.jp-fab {
  position: fixed; z-index: 71; right: var(--jp-r); bottom: var(--jp-b); width: var(--jp-s); height: var(--jp-s);
  display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
  border: 1px solid rgb(255 255 255 / .16);
  background: radial-gradient(120% 100% at 30% 15%, #2A4C8E 0%, #13295A 52%, #0B1834 100%);
  box-shadow: 0 16px 34px -14px rgb(11 24 52 / .85), 0 0 0 0 rgb(255 114 0 / 0), 0 2px 6px rgb(0 0 0 / .18);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.jp-fab:hover, .jp-fab:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgb(11 24 52 / .9), 0 0 0 5px rgb(255 114 0 / .16), 0 2px 6px rgb(0 0 0 / .18); }
.jp-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.js .jp-fab { opacity: 0; transform: translateY(16px) scale(.9); }
body.ready .jp-fab { opacity: 1; transform: none; transition: opacity .5s 1.1s, transform .6s 1.1s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
body.ready .jp-fab:hover { transform: translateY(-2px); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }

/* la gaviota: planea subiendo y bajando apenas, y cada tanto da dos aletazos */
.jp-sky { display: grid; place-items: center; width: 100%; height: 100%; animation: jpGlide 4.6s ease-in-out infinite; }
.jp-bird { display: grid; place-items: center; color: var(--accent); filter: drop-shadow(0 2px 6px rgb(255 114 0 / .35)); }
.jp-bird svg { display: block; width: 32px; height: auto; transform-origin: 50% 62%; animation: jpFlap 5.2s ease-in-out infinite; }
.jp-fab:hover .jp-bird svg { animation-duration: 1.6s; }
@keyframes jpGlide { 0%, 100% { transform: translate(0, 1.5px) rotate(-3deg); } 50% { transform: translate(1px, -2.5px) rotate(2deg); } }
@keyframes jpFlap {
  0%, 62%, 100% { transform: scaleY(1); }
  67% { transform: scaleY(-.35) translateY(-2px); } 72% { transform: scaleY(1); }
  77% { transform: scaleY(-.3) translateY(-2px); } 83% { transform: scaleY(1); }
}
.jp-fab .live { position: absolute; top: 3px; right: 3px; width: 11px; height: 11px; border-radius: 50%; background: #1FB76A; border: 2px solid #0F2148; }
.jp-x { position: absolute; width: 22px; height: 22px; opacity: 0; transform: rotate(-90deg) scale(.6); transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1); }
.jp.is-open .jp-x { opacity: 1; transform: none; }
.jp.is-open .jp-sky { opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s; animation: none; }
.jp.is-open .jp-fab .live { opacity: 0; }

/* etiqueta al pasar el mouse */
.jp-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap; pointer-events: none;
  padding: 9px 14px; border-radius: 12px; font: 700 .92rem var(--head); color: #fff; background: #0F1E3D;
  box-shadow: 0 12px 26px -12px rgb(11 24 52 / .7);
  opacity: 0; transform: translate(6px, -50%); transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1);
}
.jp-fab:hover .jp-tip, .jp-fab:focus-visible .jp-tip { opacity: 1; transform: translate(0, -50%); }
.jp.is-open .jp-tip { display: none; }

/* aviso de una vez por visita */
.jp-hint {
  position: fixed; z-index: 71; right: calc(var(--jp-r) + var(--jp-s) + 14px); bottom: calc(var(--jp-b) + 4px); width: 250px; cursor: pointer;
  padding: 13px 34px 13px 15px; border-radius: 16px 16px 4px 16px; font-size: .92rem; line-height: 1.4; color: #2B2F42;
  background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 20px 40px -20px rgb(15 30 61 / .5);
  opacity: 0; transform: translateX(8px) scale(.96); transform-origin: right bottom; transition: opacity .3s, transform .45s cubic-bezier(.16,1,.3,1);
}
.jp-hint.in { opacity: 1; transform: none; }
.jp-hint b { display: block; font: 700 .98rem var(--head); color: #0F1E3D; margin-bottom: 2px; }
.jp-hint-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: #6B7186; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.jp-hint-x:hover { background: rgb(15 30 61 / .06); color: #0F1E3D; }

/* ventana */
.jp-pop {
  position: fixed; z-index: 95; right: var(--jp-r); bottom: calc(var(--jp-b) + var(--jp-s) + 14px);
  width: min(392px, calc(100vw - 32px)); height: min(600px, calc(100svh - var(--jp-b) - var(--jp-s) - 110px)); min-height: 420px;
  opacity: 0; transform: translateY(14px) scale(.96); transform-origin: right bottom; transition: opacity .25s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.jp.is-open .jp-pop { opacity: 1; transform: none; }
.jp .chat-pop { height: 100%; min-height: 0; border-radius: 22px; }
.jp .chat-pop .chat-head { gap: 10px; padding: 12px 12px 12px 14px; }
.jp .chat-pop .chat-av { width: 38px; height: 38px; }
.jp .chat-pop .chat-av svg { width: 24px; }
.jp .chat-pop .chat-wa { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 10px; }
.jp .chat-pop .chat-wa span { display: none; }
.jp-full, .jp-close { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.jp-full:hover, .jp-close:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .3); }
.jp-full svg { width: 16px; height: 16px; }
.jp-close svg { width: 18px; height: 18px; }
.jp .chat-pop .chat-welcome { gap: 14px; padding: 16px; align-self: end; }
.jp .chat-pop .cw-modes { grid-template-columns: 1fr; gap: 10px; }
.jp .chat-pop .cw-mode { padding: 15px 16px 16px; }
.jp .chat-pop .cw-mode b { font-size: 1.04rem; }
.jp .chat-pop .cw-mode span { font-size: .88rem; }
.jp .chat-pop .ex { font-size: .84rem; padding: 7px 11px; }
.jp .chat-pop .chat-log { padding: 16px 14px 6px; }
.jp .chat-pop .msg { max-width: 88%; }
.jp .chat-pop .msg p { font-size: .96rem; }
.jp .chat-pop .res-card { min-width: 0; }
.jp .chat-pop .res-row { grid-template-columns: 1fr; gap: 2px; }
.jp .chat-pop .chat-quick { padding: 6px 14px 10px; }
.jp .chat-pop .chat-form { margin: 0 12px; }
.jp .chat-pop .chat-legal { padding: 8px 14px 12px; font-size: .74rem; }

/* el chat abierto deja de lado la burbuja de WhatsApp para no tapar nada */
body.jp-open .wa-float { opacity: 0 !important; pointer-events: none; transform: translateY(10px) !important; }
body.menu-open .jp-fab, body.menu-open .jp-hint { opacity: 0 !important; pointer-events: none; }

@media (hover: none) { .jp-tip { display: none; } }
@media (max-width: 700px) {
  /* en celular queda un solo botón: Gavi. WhatsApp está dentro del chat (botón de arriba), así no se tapa el contenido */
  .jp { --jp-s: 52px; --jp-b: max(14px, env(safe-area-inset-bottom, 0px)); --jp-r: 14px; }
  body:has(.jp) .wa-float { display: none; }
  .jp-bird svg { width: 28px; }
}
/* celular: el chat ocupa toda la pantalla, como una app */
@media (max-width: 640px) {
  .jp-hint { width: min(240px, calc(100vw - 100px)); }
  .jp-pop { inset: 0; width: 100%; height: 100dvh; min-height: 0; transform: translateY(24px); transform-origin: center bottom; }
  .jp .chat-pop { border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .jp .chat-pop::after { display: none; }
  .jp .chat-pop.on-dark { background: radial-gradient(90% 50% at 50% 0%, #1D3A72 0%, #0F2148 60%, #0B1834 100%) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .jp .chat-pop .chat-welcome { align-self: center; }
  .jp .chat-pop .chat-wa { width: auto; padding: 0 12px; gap: 7px; }   /* en celular WhatsApp vive acá: se muestra con su nombre */
  .jp .chat-pop .chat-wa span { display: inline; }
  body.jp-open { overflow: hidden; }
  body.jp-open .jp-fab { opacity: 0 !important; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jp-sky, .jp-bird svg { animation: none; }
  .jp-pop, .jp-hint { transition: opacity .2s; transform: none; }
}

/* Gavi por Conversa (.cv): la gaviota abre el chat de Conversa. En celular quedan los dos botones (Gavi arriba,
   WhatsApp abajo), porque el chat de Conversa no trae el botón de WhatsApp adentro. */
.jp.cv .jp-fab { text-decoration: none; }
@media (max-width: 700px) {
  .jp.cv { --jp-b: calc(max(14px, env(safe-area-inset-bottom, 0px)) + 50px + 10px); }
  body:has(.jp.cv) .wa-float { display: inline-flex; }
}

/* ---- jh.css */
/* ---------- Home: bloque de Gavi. Texto a la izquierda; a la derecha, una demo que se arma sola en una ventana de chat. */
.jh-sec { padding-top: 0; }
.jh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: rgb(255 255 255 / .6); border: 1px solid rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 30px 60px -40px rgb(15 30 61 / .45); }
.jh-copy { display: grid; gap: 20px; justify-items: start; }
.jh-copy h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; text-wrap: balance; }
.jh-copy h2 em { font-style: normal; color: var(--accent-text, #DA5B00); }
.jh-copy > p { margin: 0; color: var(--ink-2); font-size: 1.12rem; max-width: 30em; }
.jh-can { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; max-width: 32em; }
.jh-can li { display: grid; gap: 2px; padding: 14px 16px 14px 46px; position: relative; border-radius: 16px; background: rgb(255 255 255 / .7); border: 1px solid rgb(15 30 61 / .07); }
.jh-can li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 4px, rgb(255 114 0 / .18) 4.5px); }
.jh-can b { font: 700 1.02rem var(--head); color: #0F1E3D; }
.jh-can span { font-size: .95rem; color: var(--ink-2); }
.jh-copy .actions { margin-top: 4px; }

/* la ventana */
.jh-win { position: relative; border-radius: 24px; overflow: hidden; color: #EEF2FA;
  background: radial-gradient(120% 70% at 50% 0%, #1D3A72 0%, #0F2148 55%, #0B1834 100%);
  box-shadow: 0 0 0 1px rgb(170 205 255 / .35), 0 0 40px -8px rgb(110 165 255 / .45), 0 0 110px -30px rgb(255 120 30 / .5), 0 40px 70px -40px rgb(8 18 40 / .8); }
.jh-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.jh-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); flex: none; }
.jh-av svg { width: 24px; height: auto; }
.jh-top b { font: 700 1.02rem var(--head); }
.jh-top span { display: flex; align-items: center; gap: 7px; font-size: .84rem; color: #B7C1D8; }
.jh-top span i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgb(34 197 94 / .22); }
.jh-log { display: flex; flex-direction: column; gap: 9px; padding: 18px 16px 20px; min-height: 392px; justify-content: flex-end; }
.jh-m { margin: 0; max-width: 80%; padding: 10px 14px; border-radius: 6px 16px 16px 16px; font-size: .95rem; line-height: 1.4;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); }
.jh-m.me { align-self: flex-end; border-radius: 16px 6px 16px 16px; background: var(--accent); border-color: transparent; color: #0F1E3D; font-weight: 600; }
.jh-qr { display: flex; flex-wrap: wrap; gap: 6px; }
.jh-qr span { padding: 7px 12px; border-radius: 99px; border: 1.5px solid rgb(255 114 0 / .55); color: #FFB27A; font: 700 .84rem var(--head); }
.jh-qr span.on { background: var(--accent); border-color: var(--accent); color: #0F1E3D; }
.jh-res { display: grid; gap: 0; padding: 14px 16px 6px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); }
.jh-res > b { font: 700 1rem var(--head); color: #FFB27A; margin-bottom: 6px; }
.jh-res div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgb(255 255 255 / .1); font-size: .9rem; }
.jh-res span { color: #B7C1D8; } .jh-res em { font-style: normal; font-weight: 600; color: #fff; }
.jh-typ { display: none; }

/* la conversación se arma cuando el bloque entra en pantalla, y vuelve a empezar */
.js .jh-log > [style*="--s"] { opacity: 0; translate: 0 10px; }
.jh.play .jh-log > [style*="--s"] { animation: jhIn 13s calc(var(--s) * 1.15s + .3s) cubic-bezier(.16,1,.3,1) infinite both; }
@keyframes jhIn { 0% { opacity: 0; translate: 0 10px; } 4% { opacity: 1; translate: 0 0; } 88% { opacity: 1; translate: 0 0; } 94%, 100% { opacity: 0; translate: 0 -6px; } }
.jh.play .jh-qr span.on { animation: jhPick 13s 1.75s infinite both; }
@keyframes jhPick { 0% { background: transparent; color: #FFB27A; border-color: rgb(255 114 0 / .55); } 4%, 100% { background: var(--accent); color: #0F1E3D; border-color: var(--accent); } }

@media (max-width: 900px) {
  .jh { grid-template-columns: 1fr; }
  .jh-log { min-height: 0; }
}
@media (max-width: 700px) {
  .jh { padding: 22px 16px 16px; border-radius: 24px; }
  .jh-copy .actions { width: 100%; display: grid; gap: 10px; }
  .jh-copy .actions .btn { justify-content: center; }
  .jh-res div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .jh-log > [style*="--s"] { opacity: 1; translate: none; }
  .jh.play .jh-log > [style*="--s"], .jh.play .jh-qr span.on { animation: none; }
}

/* ---- coverflow.css */
/* Galería en 3D de logos (coverflow), sin caja: los logos flotan sobre el cielo de la página.
   El activo de frente; los vecinos se inclinan hacia atrás y se funden con el fondo. Lógica en coverflow.js. */
.cf { display: grid; gap: 4px; }
.cf-eyebrow { text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font: 800 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #2B3554; }
.cf-eyebrow::before, .cf-eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); }

/* los costados se desvanecen en vez de cortarse contra un borde */
.cf-stage { position: relative; container-type: inline-size; height: clamp(270px, 31vw, 350px); perspective: 1600px; outline: none; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.cf-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 18px; -webkit-mask-image: none; mask-image: none; }
/* sombra en el piso, debajo del logo activo */
.cf-stage { --cw-half: min(110px, 21cqw); }
.cf-stage::before { content: ""; position: absolute; left: 50%; top: calc(46% + var(--cw-half, 110px) + 4px); width: min(260px, 50cqw); height: 30px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(15 30 61 / .28), transparent); filter: blur(6px); pointer-events: none; }
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }

.cf-card {
  --cw: min(220px, 42cqw);
  position: absolute; left: 50%; top: 46%; width: var(--cw); aspect-ratio: 1; padding: 0; border: 0; border-radius: 26px; cursor: pointer;
  display: grid; place-items: center; background: #fff; overflow: hidden; transform-origin: center center;
  transform: translate(-50%, -50%); opacity: 0;
  box-shadow: 0 24px 44px -24px rgb(15 30 61 / .45), 0 0 0 1px rgb(15 30 61 / .06);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s cubic-bezier(.22, 1, .36, 1), box-shadow .4s;
  -webkit-tap-highlight-color: transparent;
}
.cf-card img { width: 70%; height: 70%; object-fit: contain; display: block; pointer-events: none; }
/* los vecinos se funden con el cielo del fondo */
.cf-card::after { content: ""; position: absolute; inset: 0; background: #CBD8EE; opacity: var(--dim, .4); transition: opacity .6s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.cf-card.on { cursor: default; box-shadow: 0 38px 60px -28px rgb(15 30 61 / .55), 0 0 0 1px rgb(15 30 61 / .06); }
.cf-card.on::after { opacity: 0; }
/* detalle de marca: una línea naranja abajo del activo */
.cf-card::before { content: ""; position: absolute; left: 50%; bottom: 14px; width: 0; height: 3px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); transition: width .5s .15s cubic-bezier(.22, 1, .36, 1); z-index: 1; }
.cf-card.on::before { width: 34px; }
.cf-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cf.dragging .cf-card { transition-duration: .25s; }

.cf-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.cf-name { margin: 0; display: grid; gap: 2px; min-width: 0; text-align: center; }
.cf-name b { font: 700 1.08rem/1.25 var(--head); color: #0F1E3D; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-name span { font-size: .84rem; color: #3E4660; font-variant-numeric: tabular-nums; }
.cf-nav { display: contents; }
.cf-prev { order: -1; }
.cf-nav button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer; color: #0F1E3D;
  background: rgb(255 255 255 / .75); border: 1px solid rgb(15 30 61 / .12); box-shadow: 0 10px 22px -14px rgb(15 30 61 / .5);
  transition: background-color .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.22, 1, .36, 1); }
.cf-nav button:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.cf-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cf-nav svg { width: 20px; height: 20px; }
.cf-next svg { transform: scaleX(-1); }

@media (max-width: 700px) {
  .cf-eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .cf-eyebrow::before, .cf-eyebrow::after { display: none; }
  .cf-stage { height: 230px; --cw-half: min(85px, 23cqw); }
  /* en celular las flechas van centradas debajo del nombre, lejos de los botones flotantes */
  .cf-foot { grid-template-columns: auto auto; justify-content: center; gap: 10px 14px; }
  .cf-name { grid-column: 1 / -1; order: -2; }
  .cf-card { --cw: min(170px, 46cqw); border-radius: 20px; }
  .cf-card::before { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-card, .cf-card::after, .cf-card::before { transition-duration: .01s; }
}

/* ---- deck.css */
/* Quién lo usa: un mazo de logos que se reparte en una tira y gira en bucle. Lógica en deck.js. */
.dk-who { display: grid; gap: 6px; overflow: hidden; }
.dk-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.dk-hd h2 { margin: 0 !important; }

.dk { position: relative; margin-inline: calc(clamp(26px, 3vw, 40px) * -1); }   /* la tira llega a los bordes del panel */
/* sin JavaScript: la lista de logos queda visible como antes */
.dk-src { list-style: none; margin: 0; padding: 8px clamp(26px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dk-src li { width: 110px; aspect-ratio: 1; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -16px rgb(15 30 61 / .45); }
.dk-src img { width: 76%; height: 76%; object-fit: contain; }
.dk-stage { display: none; }
/* Un solo logo: se muestra una vez, quieto, sin la cinta de deck.js (ver deck() en build.py). */
.dk-single { display: flex; justify-content: center; padding: 10px 0 18px; }
.dk-single .dk-face { position: static; width: 150px; height: 150px; border-radius: 22px; background: #fff;
  box-shadow: 0 18px 30px -20px rgb(15 30 61 / .5), 0 0 0 1px rgb(15 30 61 / .06); display: grid; place-items: center; }
.dk-single .dk-face img { width: 72%; height: 72%; object-fit: contain; }
.dk.on .dk-src { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; margin: -1px; }
.dk.on .dk-stage { display: block; position: relative; height: var(--dk-h, 220px); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.dk.on .dk-stage.grabbing { cursor: grabbing; }
.dk-strip { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-origin: center; will-change: transform; }

.dk-card { --dk-w: 150px; position: absolute; left: 0; top: 0; width: var(--dk-w); height: var(--dk-w); margin: calc(var(--dk-w) / -2) 0 0 calc(var(--dk-w) / -2);
  transform-origin: center center; transform-style: preserve-3d; will-change: transform; }
.dk-face, .dk-back { position: absolute; inset: 0; border-radius: 22px; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: grid; place-items: center; }
.dk-face { background: #fff; box-shadow: 0 18px 30px -20px rgb(15 30 61 / .5), 0 0 0 1px rgb(15 30 61 / .06); }
.dk-face img { width: 72%; height: 72%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
/* al darse vuelta, la tarjeta muestra el nombre de la empresa */
.dk-back { transform: rotateY(180deg); padding: 14px; text-align: center; color: #fff; background: radial-gradient(120% 100% at 30% 10%, #24427E 0%, #0F2148 60%, #0B1834 100%);
  box-shadow: 0 18px 30px -20px rgb(15 30 61 / .6); }
.dk-back span { font: 700 .95rem/1.2 var(--head); letter-spacing: -.01em; }
.dk-back::after { content: ""; position: absolute; left: 50%; bottom: 16px; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); transform: translateX(-50%); }

.dk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.dk-more { margin: 0; color: var(--ink-2); font-size: .95rem; }
.dk-more span { font-weight: 700; color: #0F1E3D; }

@media (max-width: 700px) {
  .dk { margin-inline: -18px; }
  .dk-card { --dk-w: 118px; }
  .dk.on .dk-stage { --dk-h: 180px; }
  .dk-face, .dk-back { border-radius: 18px; }
  .dk-back span { font-size: .84rem; }
  .dk-src li { width: 84px; }
}

/* ---- video.css */
/* Videos demo: el cuadro en cada producto y la ventana que abren los botones "Ver el video demo". Lógica en video.js. */
.vd { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.vd-copy { display: grid; gap: 14px; justify-items: start; }
.vd-copy h2 { margin: 0; }
.vd-copy p { margin: 0; color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.vd-copy .actions { margin-top: 6px; }

.vd-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #0B1834;
  box-shadow: 0 50px 90px -44px rgb(8 18 40 / .6), 0 0 0 1px rgb(255 255 255 / .5); }
.vd-frame iframe, .vd-modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* portada propia: no se carga nada de YouTube ni Vimeo hasta que se toca play */
.vd-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; color: #fff; overflow: hidden;
  background: radial-gradient(110% 120% at 20% 0%, #2A4C8E 0%, #13295A 48%, #0B1834 100%); }
.vd-poster:disabled { cursor: default; }
.vd-glow { position: absolute; width: 60%; aspect-ratio: 1; right: -12%; bottom: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 114 0 / .45), transparent); filter: blur(10px); }
.vd-gulls { position: absolute; right: 5%; top: 8%; width: 26%; opacity: .14; color: #fff; }
.vd-gulls svg { width: 100%; height: auto; display: block; fill: currentColor; }
.vd-logo { position: absolute; left: 6%; top: 9%; display: inline-flex; padding: 9px 13px; border-radius: 12px; background: #fff; box-shadow: 0 12px 24px -14px rgb(0 0 0 / .6); }
.vd-logo img { height: 26px; width: auto; display: block; }
.vd-play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 9vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff;
  box-shadow: 0 0 0 10px rgb(255 114 0 / .18), 0 0 0 22px rgb(255 114 0 / .08), 0 20px 40px -12px rgb(255 114 0 / .7);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
.vd-play svg { width: 40%; display: block; }   /* el triángulo ya está centrado por su centro óptico: sin corrimiento extra */
.vd-poster:not(:disabled):hover .vd-play, .vd-poster:focus-visible .vd-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgb(255 114 0 / .22), 0 0 0 30px rgb(255 114 0 / .08), 0 24px 44px -12px rgb(255 114 0 / .75); }
.vd-poster:disabled .vd-play { background: rgb(255 255 255 / .16); box-shadow: none; }
.vd-poster:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vd-cap { position: absolute; left: 6%; bottom: 9%; font: 700 .95rem var(--head); letter-spacing: -.01em; color: #DCE4F5; }

/* botones "Ver el video demo" en el resto del sitio */
.vd-link { display: inline-flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 1rem var(--head); color: #0F1E3D; }
.vd-link svg { width: 30px; height: 30px; padding: 8px; border-radius: 50%; color: #fff; background: var(--accent); box-shadow: 0 0 0 4px rgb(255 114 0 / .16); flex: none; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.vd-link:hover svg, .vd-link:focus-visible svg { transform: scale(1.1); }
.vd-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.vd-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.vd-btn svg { width: 18px; height: 18px; }
.p-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }

/* ventana */
.vd-modal { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 22px; background: #000; overflow: visible; color: #fff; }
.vd-modal::backdrop { background: rgb(8 16 36 / .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vd-modal[open] { animation: vdIn .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes vdIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.vd-modal-in { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; }
.vd-modal-hd { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vd-modal-hd b { font: 700 1rem var(--head); color: #fff; }
.vd-close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; }
.vd-close:hover { background: #fff; color: #0F1E3D; }
.vd-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vd-close svg { width: 18px; height: 18px; }
body.vd-open { overflow: hidden; }

@media (max-width: 900px) {
  .vd { grid-template-columns: 1fr; }
  .vd-frame { order: -1; }
}
@media (max-width: 640px) {
  .vd-frame { border-radius: 18px; }
  .vd-logo { padding: 6px 9px; } .vd-logo img { height: 18px; }
  .vd-cap { font-size: .82rem; }
  .vd-modal { width: 100vw; border-radius: 0; }
  .vd-modal-in { border-radius: 0; }
  .vd-modal-hd { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .vd-modal[open] { animation: none; } }
/* en la tarjeta oscura de la portada del producto */
.pd-card-head .vd-link { color: #fff; padding-block: 10px; }
.pd-card-head .actions { align-items: center; column-gap: 22px; }
