/* ==========================================================================
   Kenbit · Estilos del sitio
   Diseño "Ciudad Blanca": blanco, azul añil y ocre, con el arco colonial
   de Popayán como motivo. Tipografía: Schibsted Grotesk.

   Orden del archivo (el orden importa: las reglas de abajo ganan a las de arriba):
    1. Kenbit · "Ciudad Blanca", versión interactiva
    2. Enlace para saltar al contenido
    3. Botones
    4. Encabezado
    5. Portada
    6. Secciones
    7. Antes y después
    8. Servicios
    9. Ventanas de ejemplo: reservas
   10. Ventanas de ejemplo: tarjeta de marcación
   11. Ventanas de ejemplo: pedidos
   12. Ventanas de ejemplo: módulos
   13. Calculadora
   14. Qué incluye
   15. Comparativa (solo en pantallas medianas y grandes)
   16. Pasos
   17. Cotizador
   18. Quién está detrás
   19. Preguntas
   20. Oferta final: un arco que se abre hacia el pie
   21. Pie
   22. WhatsApp: barra fija en el celular y botón flotante en pantallas grandes
   23. Movimiento reducido
   ========================================================================== */

/* Kenbit · "Ciudad Blanca", versión interactiva */
:root {
  color-scheme: light;
  --cal: #FFFFFF;
  --piedra: #F2F4F8;
  --anil: #1E2A78;
  --anil-2: #2B3A9C;
  --anil-3: #141C52;
  --cielo: #DCE4FF;
  --cielo-2: #EEF2FF;
  --ocre: #F2B33D;
  --ocre-2: #FCEBC4;
  --ocre-t: #6B4A00;
  --tinta: #172033;
  --gris: #566075;
  --linea: #E1E5EE;
  --linea-2: #CBD2E0;
  --teja: #B3362B;
  --wa: #D9FDD3;
  --on-dark: #C9D1EE;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad: clamp(60px, 8vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cal); color: var(--tinta); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, legend { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
button, input { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--anil-2); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--ocre); }
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
a, button, label, summary, input { touch-action: manipulation; }
main:focus { outline: none; }
[hidden] { display: none !important; }
@media (min-width: 760px) { .wrap { padding-inline: 32px; } }

/* Enlace para saltar al contenido */
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: var(--r-sm); background: var(--anil); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-180%); transition: transform .2s ease; }
.skip:focus { transform: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 17px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-main { background: var(--anil); color: #fff; }
.btn-main:hover { background: var(--anil-3); }
.btn-line { background: #fff; color: var(--anil); border-color: var(--anil); }
.btn-line:hover { background: var(--cielo-2); }
.btn-ocre { background: var(--ocre); color: var(--anil-3); }
.btn-ocre:hover { background: #FFC55C; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Encabezado */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.header.scrolled { border-bottom-color: var(--linea); }
.bar { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--anil); text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.nav { display: none; }
.actions { display: none; gap: 10px; margin-left: auto; }
.menu-btn { margin-left: auto; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--linea-2); background: #fff; color: var(--anil); display: grid; place-items: center; cursor: pointer; }
.menu-btn .i-x, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-x { display: block; }
.mobile-nav { border-top: 1px solid var(--linea); background: #fff; max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav .mn { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--linea); font-size: 19px; font-weight: 600; color: var(--tinta); text-decoration: none; }
.mobile-nav .mn .ico { color: var(--anil-2); }
.mobile-nav .mn:hover { color: var(--anil); }
.m-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 18px 0 22px; }
@media (min-width: 760px) {
  .actions { display: flex; }
  .actions + .menu-btn { margin-left: 4px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .nav a { padding: 10px 13px; border-radius: 999px; font-weight: 500; font-size: 16px; color: var(--tinta); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
  .nav a:hover { background: var(--piedra); }
  .nav a.active { background: var(--cielo-2); color: var(--anil); }
  .actions { margin-left: 14px; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Portada */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 32px; padding-bottom: 56px; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; color: var(--anil); max-width: 12ch; }
.lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--gris); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 15px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .ico { width: 18px; height: 18px; color: var(--anil-2); stroke-width: 2.6; }
.hero-demo { min-width: 0; }
.pick-l { font-size: 15px; font-weight: 700; color: var(--anil); }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pk { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 66px; padding: 8px 4px; border-radius: 14px; border: 1.5px solid var(--linea-2); background: #fff; color: var(--tinta); font-size: 13.5px; font-weight: 600; line-height: 1.15; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.pk .ico { color: var(--anil-2); }
.pk:hover { border-color: var(--anil); }
.pk[aria-pressed="true"] { background: var(--anil); border-color: var(--anil); color: #fff; }
.pk[aria-pressed="true"] .ico { color: var(--ocre); }
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 470px; margin-top: 18px; }
.arch { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, 460px); transform: translateX(-50%); border-radius: 999px 999px 24px 24px; background: var(--cielo); overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 14px 14px 0; border: 2px solid rgba(30, 42, 120, .13); border-bottom: 0; border-radius: 999px 999px 0 0; }
.sun { position: absolute; left: 50%; top: 34px; width: clamp(68px, 8vw, 92px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--ocre); }
.phone { position: relative; width: min(284px, 82%); margin-bottom: 18px; padding: 9px; border-radius: 38px; background: #10163A; box-shadow: 0 30px 60px -24px rgba(20, 28, 82, .5); }
.scr { padding: 16px 15px 14px; border-radius: 30px; background: #fff; }
.scr.swap { animation: swap .35s ease; }
@keyframes swap { from { opacity: .25; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sb { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.hi { margin-top: 12px; font-size: 13px; color: var(--gris); }
.biz-name { font-size: 18px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--anil); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.tile { min-width: 0; padding: 9px 8px; border-radius: 13px; background: var(--piedra); }
.tile b { display: block; font-size: 21px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--anil); }
.tile span { display: block; font-size: 12px; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.on { background: var(--anil); }
.tile.on b, .tile.on span { color: #fff; }
.mv { margin-top: 14px; font-size: 13px; font-weight: 700; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--linea); }
.row:last-child { border-bottom: 0; }
.row > div { min-width: 0; }
.row .av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cielo); color: var(--anil); font-size: 12px; font-weight: 700; }
.row .av.y { background: var(--ocre-2); color: var(--ocre-t); }
.row b { display: block; font-size: 13px; line-height: 1.25; }
.row small { display: block; font-size: 12px; line-height: 1.3; color: var(--gris); }
.row em { margin-left: auto; padding-left: 4px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--anil-2); white-space: nowrap; }
.also { margin-top: 14px; font-size: 14px; color: var(--gris); text-align: center; }
@media (max-width: 520px) { .hero .ctas .btn { flex: 1 1 100%; } }
@media (max-width: 379px) {
  .btn { font-size: 16px; padding-inline: 18px; }
  .pk { font-size: 12.5px; }
  .phone { width: 258px; padding: 8px; border-radius: 34px; }
  .scr { padding: 14px 12px 12px; border-radius: 27px; }
  .tiles { gap: 6px; }
  .tile { padding: 8px 6px; }
  .tile b { font-size: 19px; }
  .row { gap: 8px; }
}
@media (min-width: 560px) { .pick { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-top: 52px; padding-bottom: 72px; }
  .stage { min-height: 500px; }
  .phone { width: 292px; }
}
/* Secciones */
.section { padding-block: var(--pad); }
.alt { background: var(--piedra); }
.head { max-width: 720px; }
.head h2, .who h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--anil); }
.head p { margin-top: 14px; font-size: clamp(17px, 1.4vw, 18px); color: var(--gris); max-width: 36em; }
.head + * { margin-top: clamp(28px, 5vw, 52px); }
/* Antes y después */
.flip-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--linea-2); }
.seg-b { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 6px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--gris); font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg-b .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.seg-b:hover { color: var(--tinta); }
.seg-b[data-v="antes"][aria-pressed="true"] { background: #4A5263; color: #fff; }
.seg-b[data-v="con"][aria-pressed="true"] { background: var(--anil); color: #fff; }
.seg-b[data-v="con"][aria-pressed="true"] .ico { color: var(--ocre); }
.flip-card { position: relative; margin-top: 12px; padding: 6px 20px 20px 52px; border-radius: 22px; border: 1.5px dashed var(--linea-2); background: #fff; transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.flip-card::before { content: ""; position: absolute; left: 38px; top: 0; bottom: 0; width: 2px; background: #F1C4BE; transition: opacity .35s ease; }
.flip-list li { position: relative; display: block; padding: 15px 0; border-bottom: 1px solid var(--linea); font-size: 16px; line-height: 1.45; }
.fi { position: absolute; left: -36px; top: 15px; display: none; }
.fi .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.flip-foot { padding-top: 16px; }
.flip-foot .btn { margin-top: 14px; }
.tk { display: none; }
.flip[data-state="antes"] .fx { display: block; color: var(--teja); }
.flip[data-state="antes"] .ta { color: var(--gris); }
.flip[data-state="antes"] .flip-foot .ta { font-weight: 600; color: var(--teja); }
.flip[data-state="con"] .ta { display: none; }
.flip[data-state="con"] .tk { display: block; }
.flip[data-state="con"] .flip-foot .btn.tk { display: inline-flex; }
.flip[data-state="con"] .fk { display: block; color: var(--ocre); }
.flip[data-state="con"] .flip-card { background: var(--anil); border-color: var(--anil); color: #fff; }
.flip[data-state="con"] .flip-card::before { opacity: 0; }
.flip[data-state="con"] .flip-list li { border-bottom-color: rgba(255, 255, 255, .16); font-weight: 600; }
.flip[data-state="con"] .flip-foot .tk { font-weight: 600; color: var(--ocre-2); }
.flip[data-state="con"] .flip-card :focus-visible { outline-color: var(--ocre); }
@media (min-width: 1000px) {
  .flip-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .flip-grid > .flip { margin-top: 0; }
  .flip-list li { font-size: 17px; }
}
/* Servicios */
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 20px; background: var(--piedra); border: 1px solid var(--linea); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 4px; border: 0; border-radius: 15px; background: transparent; color: var(--tinta); font-weight: 600; font-size: 13.5px; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.tab .ico { color: var(--anil-2); }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: var(--anil); color: #fff; }
.tab[aria-selected="true"] .ico { color: var(--ocre); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; border-radius: var(--r-md); }
.p-info h3 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--anil); }
.p-info p { margin-top: 8px; color: var(--gris); }
.p-more ul { display: grid; gap: 10px; }
.p-more li { display: flex; align-items: flex-start; gap: 10px; }
.p-more li .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--anil-2); stroke-width: 2.6; }
.p-for { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--linea-2); font-size: 15px; color: var(--gris); }
.p-more > .p-for:first-child { margin-top: 0; }
.p-for b { color: var(--tinta); }
.p-more .btn { margin-top: 18px; }
.shot { min-width: 0; border: 1px solid var(--linea-2); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: 0 28px 56px -40px rgba(20, 28, 82, .45); }
.shot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--linea); background: var(--piedra); }
.shot-top b { font-size: 15px; color: var(--anil); }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--ocre-2); color: var(--ocre-t); font-size: 13px; font-weight: 700; white-space: nowrap; }
.shot-body { padding: 16px; }
.w-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.w-bar b { display: block; font-size: 17px; }
.w-bar small { font-size: 14px; color: var(--gris); }
.pill { padding: 5px 11px; border-radius: 999px; background: var(--cielo-2); color: var(--anil); font-size: 13px; font-weight: 700; }
.demo-msg { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--cielo-2); color: var(--anil-3); font-size: 14px; line-height: 1.45; }
@media (min-width: 560px) {
  .tab { flex-direction: row; gap: 8px; min-height: 52px; font-size: 15px; }
}
@media (min-width: 760px) {
  .tabs { border-radius: 999px; }
  .tab { border-radius: 999px; font-size: 16px; }
}
@media (min-width: 1000px) {
  .panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "info shot" "more shot"; column-gap: 56px; row-gap: 24px; margin-top: 44px; }
  .p-info { grid-area: info; align-self: end; }
  .p-more { grid-area: more; align-self: start; }
  .shot { grid-area: shot; align-self: center; }
  .shot-body { padding: 22px; }
}
/* Ventanas de ejemplo: reservas */
.cal { display: grid; grid-template-columns: 46px repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cal .x { display: none; }
.cal .h { padding-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--gris); text-align: center; }
.cal .t { padding-top: 10px; font-size: 13px; color: var(--gris); }
.slot { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 10px; border-radius: 10px; border: 1.5px dashed var(--linea-2); color: var(--gris); font-size: 13px; line-height: 1.3; text-align: left; }
.slot.bk { border: 0; background: var(--cielo-2); color: var(--tinta); font-weight: 600; }
.slot.new { background: var(--ocre-2); box-shadow: inset 0 0 0 1.5px var(--ocre); }
.slot small { font-weight: 400; font-size: 12px; color: var(--gris); }
button.slot { width: 100%; background: #fff; border-color: #9FAACB; color: var(--anil); font-weight: 700; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
button.slot small { color: var(--anil-2); font-weight: 500; }
button.slot:hover { background: var(--cielo-2); border-color: var(--anil); }
button.slot.mine { border-style: solid; border-color: var(--ocre); background: var(--ocre-2); color: var(--ocre-t); }
button.slot.mine small { color: var(--ocre-t); }
@media (min-width: 560px) {
  .cal { grid-template-columns: 50px repeat(4, minmax(0, 1fr)); }
  .cal .h.x { display: block; }
  .cal .slot.x { display: flex; }
}
/* Ventanas de ejemplo: tarjeta de marcación */
.tc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 14px; }
.tc-name { font-size: 17px; font-weight: 700; }
.tc-k { font-size: 14px; color: var(--gris); }
.ley { padding: 5px 10px; border-radius: 8px; background: var(--ocre-2); color: var(--ocre-t); font-size: 13px; font-weight: 700; line-height: 1.3; }
.tc-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.tc-table th { padding: 0 0 8px; border-bottom: 2px solid var(--anil); font-size: 13px; font-weight: 500; color: var(--gris); text-align: left; }
.tc-table td { padding: 9px 0; border-bottom: 1px solid var(--linea); }
.tc-table th:last-child, .tc-table td:last-child { text-align: right; }
.tc-table td:first-child { font-weight: 600; white-space: nowrap; }
.tc-table .late { color: var(--teja); font-weight: 600; }
.tc-table .late small { font-size: 12px; }
.tc-table tr.off td { color: var(--gris); }
.tc-table tr.today td { background: var(--cielo-2); border-bottom: 0; }
.tc-table tr.today td:first-child { padding-left: 8px; border-radius: 10px 0 0 10px; }
.tc-table tr.today td:last-child { padding-right: 8px; border-radius: 0 10px 10px 0; }
.tc-badge { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--anil); color: #fff; font-size: 12px; font-weight: 700; }
#tcOut.pend { color: var(--gris); }
.tc-table .stamped { color: var(--anil); font-weight: 800; }
.tc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.tc-foot span { display: block; font-size: 14px; color: var(--gris); }
.tc-foot b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--anil); }

/* Ventanas de ejemplo: pedidos */
.pseg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.ps { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid var(--linea-2); background: #fff; color: var(--tinta); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.ps i { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--piedra); font-style: normal; font-size: 12px; font-weight: 700; }
.ps:hover { border-color: var(--anil); }
.ps[aria-pressed="true"] { background: var(--anil); border-color: var(--anil); color: #fff; }
.ps[aria-pressed="true"] i { background: var(--ocre); color: var(--anil-3); }
.olist { display: grid; gap: 8px; margin-top: 12px; }
.oi { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--linea); background: #fff; }
.oi.new { box-shadow: inset 4px 0 0 var(--ocre); }
.oi-info { display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.35; }
.oi-info b { color: var(--anil); }
.ty { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--gris); }
.ty em { font-style: normal; font-weight: 700; color: var(--tinta); white-space: nowrap; }
.adv { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--anil); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s ease; }
.adv:hover { background: var(--anil-3); }
.done { justify-self: end; padding: 4px 10px; border-radius: 999px; background: #E3F4EA; color: #1F6B45; font-size: 13px; font-weight: 700; }
.olist .empty { padding: 16px; border-radius: 12px; border: 1.5px dashed var(--linea-2); color: var(--gris); font-size: 14px; }
@media (min-width: 480px) {
  .pseg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ps { flex-direction: column; justify-content: center; gap: 4px; min-height: 60px; padding: 6px; font-size: 13px; }
}
/* Ventanas de ejemplo: módulos */
.modg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mod { display: grid; align-content: start; gap: 2px; min-height: 100px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--linea-2); background: #fff; text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.mod:hover { border-color: #9FAACB; }
.mr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mr .ico { color: var(--gris); }
.sw { position: relative; width: 36px; height: 22px; border-radius: 999px; background: var(--linea-2); transition: background-color .2s ease; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.mod[aria-pressed="true"] { border-color: var(--anil); background: var(--cielo-2); }
.mod[aria-pressed="true"] .sw { background: var(--anil); }
.mod[aria-pressed="true"] .sw::after { transform: translateX(14px); }
.mod[aria-pressed="true"] .mr .ico { color: var(--anil); }
.mod b { font-size: 15px; }
.mod small { font-size: 13px; line-height: 1.35; color: var(--gris); }
.mod-sum { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--anil); color: #fff; }
.mod-sum .ico { color: var(--ocre); stroke-width: 2.6; }
.mod-sum b { display: block; }
.mod-sum small { font-size: 14px; color: var(--on-dark); }
@media (min-width: 560px) { .modg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Calculadora */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.calc-grid > .calc { margin-top: 0; }
.facts { margin-top: 26px; border-top: 1px solid var(--linea-2); }
.facts li { display: grid; grid-template-columns: minmax(92px, 8rem) minmax(0, 1fr); align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linea-2); }
.facts b { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--anil); white-space: nowrap; }
.facts span { font-size: 15px; line-height: 1.45; }
.source { margin-top: 14px; font-size: 14px; color: var(--gris); }
.calc { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--linea-2); background: #fff; box-shadow: 0 28px 56px -40px rgba(20, 28, 82, .45); }
.calc h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--anil); }
.calc .sub { margin-top: 4px; font-size: 15px; color: var(--gris); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field input { width: 100%; height: 52px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--linea-2); background: #fff; font-size: 17px; transition: border-color .2s ease; }
.field input:hover { border-color: #9FAACB; }
.field input:focus-visible { outline: 3px solid var(--anil-2); outline-offset: 1px; border-color: var(--anil); }
.field input::placeholder { color: #6B7489; }
.res { margin-top: 22px; padding: 14px 18px 16px; border-radius: var(--r-md); background: var(--cielo-2); }
.r-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.r-line span { min-width: 0; }
.r-line b { white-space: nowrap; }
.r-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-top: 8px; padding-top: 12px; border-top: 1.5px solid #C7D2F5; }
.r-total span { font-weight: 700; }
.r-total b { font-size: clamp(28px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--anil); white-space: nowrap; }
.calc .btn { width: 100%; margin-top: 18px; }
.calc > .field { margin-top: 18px; }
.sfs { margin-top: 8px; }
.sf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.sf label { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.stepper { flex: none; display: flex; align-items: center; border: 1.5px solid var(--linea-2); border-radius: 999px; background: #fff; }
.st { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--anil); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.st:hover { background: var(--cielo-2); }
.stepper input { width: 52px; height: 44px; padding: 0; border: 0; background: transparent; text-align: center; font-size: 18px; font-weight: 800; color: var(--anil); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: 3px solid var(--anil-2); outline-offset: 0; border-radius: 8px; }
.r-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--gris); }
@media (min-width: 480px) {
  .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  
}
@media (min-width: 1000px) { .calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 72px; align-items: start; } }

/* Qué incluye */
.inc-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.bill { position: relative; padding: 4px 20px 0; border-radius: var(--r-lg); border: 1px solid var(--linea-2); background: #fff; box-shadow: 0 28px 56px -40px rgba(20, 28, 82, .45); }
.bill-head { padding: 16px 0 14px; border-bottom: 1.5px dashed var(--linea-2); }
.bill-head b { display: block; font-size: 19px; font-weight: 800; color: var(--anil); }
.bill-head span { font-size: 14px; color: var(--gris); }
.bill details { border-bottom: 1px dashed var(--linea-2); }
.bill summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 20px; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; cursor: pointer; list-style: none; }
.bill summary::-webkit-details-marker { display: none; }
.bi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cielo-2); color: var(--anil); }
.bt { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ok { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 6px; border-radius: 999px; background: #E3F4EA; color: #1F6B45; font-size: 12px; font-weight: 700; }
.ok .ico { width: 14px; height: 14px; stroke-width: 3; }
@media (max-width: 479px) {
  .ok { width: 26px; height: 26px; padding: 0; justify-content: center; }
  .okt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
.chev { width: 20px; height: 20px; color: var(--gris); transition: transform .2s ease; }
.bill details[open] .chev { transform: rotate(180deg); }
.bill summary:hover .bt { color: var(--anil); }
.bill details p { padding: 0 0 16px 52px; font-size: 15px; color: var(--gris); }
.bill-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: -1px; padding: 16px 0 18px; border-top: 2px solid var(--anil); }
.bill-foot span { font-weight: 700; }
.bill-foot b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--anil); }
@media (max-width: 379px) { .bill { padding-inline: 14px; } .bill summary { grid-template-columns: 36px minmax(0, 1fr) auto 18px; gap: 10px; } .bi { width: 36px; height: 36px; } .bill details p { padding-left: 46px; } }
@media (min-width: 1000px) {
  .inc-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .inc-grid > .bill { margin-top: 0; }
}
/* Comparativa (solo en pantallas medianas y grandes) */
#porque { display: none; }
.vs table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.vs th, .vs td { padding: 16px 18px; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: middle; }
.vs thead th { border-bottom: 2px solid var(--linea-2); font-size: 15px; font-weight: 600; color: var(--gris); }
.vs tbody th { width: 38%; padding-left: 0; font-weight: 500; }
.vs table { background: #fff; border-radius: var(--r-md); }
.vs .k { background: var(--cielo-2); border-bottom-color: #D6DEF8; }
.vs thead .k { border-radius: var(--r-md) var(--r-md) 0 0; border-bottom-color: var(--anil); background: var(--anil); color: #fff; }
.vs thead .k span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.vs thead .k svg { width: 26px; height: 26px; }
.vs tbody tr:last-child td, .vs tbody tr:last-child th { border-bottom: 0; }
.vs tbody tr:last-child .k { border-radius: 0 0 var(--r-md) var(--r-md); }
.yes, .no, .mid { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.yes .ico, .no .ico, .mid .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.yes { color: var(--anil); }
.no { color: var(--teja); }
.mid { color: var(--gris); }
.vs .k .yes { font-weight: 700; }
@media (min-width: 760px) { #porque { display: block; } }

/* Pasos */
@media (max-width: 759px) { #pasos { border-top: 1px solid var(--linea); } }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); }
.steps li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; padding-bottom: 30px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 27px; top: 74px; bottom: 10px; width: 2px; background: var(--linea-2); }
.steps li:last-child::before { display: none; }
.steps .n { grid-row: span 2; width: 56px; height: 66px; padding-top: 8px; border-radius: 999px 999px 12px 12px; display: grid; place-items: center; background: var(--anil); color: #fff; font-size: 24px; font-weight: 800; }
.steps h3 { align-self: end; font-size: 21px; font-weight: 700; color: var(--anil); }
.steps p { color: var(--gris); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .steps li { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .steps li::before { left: 76px; right: -20px; top: 33px; bottom: auto; width: auto; height: 2px; }
  .steps .n { grid-row: auto; margin-bottom: 20px; }
  .steps h3 { align-self: auto; margin-bottom: 6px; }
}

/* Cotizador */
.dark { background: var(--anil-3); color: #fff; }
.dark .head h2 { color: #fff; }
.dark .head p { color: var(--on-dark); }
.quote-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.qwiz { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; color: var(--tinta); }
.qwiz :focus-visible { outline-color: var(--anil-2); }
.qcount { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--gris); }
.qcount b { color: var(--anil); }
.qcount #qStepName { font-weight: 600; color: var(--tinta); }
.qprog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.qprog i { height: 6px; border-radius: 999px; background: var(--linea); transition: background-color .25s ease; }
.qprog i.on { background: var(--anil); }
.qbody { margin-top: 24px; }
.qstep { min-width: 0; margin: 0; padding: 0; border: 0; }
.qstep:focus { outline: none; }
.qstep legend { padding: 0; font-size: clamp(22px, 2.4vw, 27px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--anil); }
.qhint { margin-top: 6px; font-size: 15px; color: var(--gris); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--linea-2); font-weight: 600; font-size: 15px; line-height: 1.25; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.opt .ico { color: var(--anil-2); }
.opt:hover span { border-color: #9FAACB; }
.opt input:checked + span { border-color: var(--anil); background: var(--cielo-2); color: var(--anil); }
.opt input:focus-visible + span { outline: 3px solid var(--anil-2); outline-offset: 2px; }
.qcounter { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.qc-btn { width: 52px; height: 52px; border-radius: 999px; border: 1.5px solid var(--linea-2); background: #fff; color: var(--anil); display: grid; place-items: center; cursor: pointer; }
.qc-btn:hover { background: var(--cielo-2); }
.qcounter output { min-width: 9ch; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--anil); }
.range { margin-top: 14px; }
.range input { width: 100%; height: 44px; margin: 0; accent-color: var(--anil); cursor: pointer; }
.ticks { display: flex; justify-content: space-between; font-size: 13px; color: var(--gris); }
.qstep .fields { margin-top: 18px; }
.qmini { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--piedra); }
.qmini-l { display: block; font-size: 13px; font-weight: 600; color: var(--gris); }
.qmini p { margin-top: 6px; font-size: 15px; white-space: pre-line; }
.qnav { display: flex; gap: 10px; margin-top: 26px; }
.qnav .btn { flex: 1 1 0; padding-inline: 14px; }
#qBack.off { display: none; }
.qnote { margin-top: 12px; font-size: 14px; text-align: center; color: var(--gris); }
.chat { display: none; }
@media (min-width: 560px) { .opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .quote-box { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; align-items: start; }
  .qmini { display: none; }
  .chat { display: block; overflow: hidden; border-radius: var(--r-lg); background: #fff; color: var(--tinta); }
}
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--linea); }
.chat-av svg { width: 40px; height: 40px; }
.chat-top b { display: block; font-size: 16px; }
.chat-top small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gris); }
.chat-top small i { width: 8px; height: 8px; border-radius: 50%; background: #23A55A; }
.chat-tag { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: var(--cielo-2); color: var(--anil); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chat-body { display: flex; flex-direction: column; gap: 12px; min-height: 280px; padding: 18px 16px 22px; background: var(--piedra); }
.chat-day { align-self: center; padding: 4px 10px; border-radius: 8px; background: #fff; color: var(--gris); font-size: 12px; font-weight: 600; }
.bubble-out { align-self: flex-end; max-width: 92%; padding: 10px 12px 6px; border-radius: 14px 14px 4px 14px; background: var(--wa); font-size: 15px; white-space: pre-line; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble-out .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: #4F5F53; }
.bubble-out .meta svg { width: 16px; height: 16px; fill: none; stroke: #2F7BEA; stroke-width: 2; }
.chat-cap { padding: 12px 16px 14px; font-size: 14px; color: var(--gris); }

/* Quién está detrás */
.who { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.who-id { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.who-av { position: relative; flex: none; width: 96px; height: 120px; border-radius: 999px 999px 14px 14px; display: grid; place-items: end center; padding-bottom: 18px; background: var(--anil); color: #fff; font-size: 32px; font-weight: 800; letter-spacing: -.02em; overflow: hidden; }
.who-av::before { content: ""; position: absolute; top: 18px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--ocre); }
.who-av span { position: relative; }
.who-id b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--anil); }
.who-id .role { font-size: 15px; color: var(--gris); }
.who blockquote { margin-top: 24px; max-width: 30em; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; font-weight: 500; }
.who-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.who-tags li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--piedra); font-size: 15px; font-weight: 500; }
.who-tags .ico { width: 18px; height: 18px; color: var(--anil-2); }
.tl { position: relative; display: grid; gap: 24px; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--linea-2); }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--anil); background: #fff; }
.tl time { font-size: 14px; font-weight: 600; color: var(--anil-2); }
.tl b { display: block; margin-top: 2px; font-size: 18px; }
.tl p { margin-top: 4px; font-size: 15px; color: var(--gris); }
.stack { margin-top: 36px; }
.stack-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack-l { font-weight: 700; }
.mq-pause { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--linea-2); background: #fff; color: var(--anil); display: grid; place-items: center; cursor: pointer; }
.mq-pause:hover { background: var(--cielo-2); }
.mq-pause .i-play, .mq-pause[aria-pressed="true"] .i-pause { display: none; }
.mq-pause[aria-pressed="true"] .i-play { display: block; }
.tech { margin-top: 12px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.tech-track { display: flex; width: max-content; animation: mq 34s linear infinite; }
.tech-track.is-paused { animation-play-state: paused; }
.tech-set { display: flex; gap: 10px; padding-right: 10px; }
.tchip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid var(--linea); background: #fff; white-space: nowrap; }
.ti { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cielo-2); color: var(--anil); }
.tchip b { display: block; font-size: 15px; }
.tchip small { font-size: 13px; color: var(--gris); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (min-width: 1000px) { .who { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; } }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.faq-grid .head .btn { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--linea-2); }
.faq details:first-child { border-top: 1px solid var(--linea-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--anil); }
.faq summary:hover .pm { border-color: var(--anil); }
.pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 999px; background: #fff; border: 1px solid var(--linea-2); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--anil); transition: transform .2s ease; }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 50px 20px 0; color: var(--gris); }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .faq-grid > .faq { margin-top: 0; }
}

/* Oferta final: un arco que se abre hacia el pie */
.offer { padding-top: var(--pad); }
.door { position: relative; max-width: 960px; margin-inline: auto; padding: clamp(132px, 15vw, 200px) clamp(20px, 6vw, 72px) clamp(52px, 6vw, 76px); border-radius: 999px 999px 0 0; background: var(--anil-3); color: #fff; text-align: center; }
.door::before { content: ""; position: absolute; left: 50%; top: clamp(44px, 5.5vw, 70px); width: clamp(60px, 7vw, 84px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--ocre); }
.door h2 { max-width: 15ch; margin-inline: auto; font-size: clamp(31px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.door > p { max-width: 34em; margin: 16px auto 0; color: var(--on-dark); }
.stubs { margin-top: 30px; }
.stubs-row { display: flex; justify-content: center; gap: 10px; }
.stub { width: 48px; height: 58px; padding-top: 6px; border-radius: 999px 999px 8px 8px; display: grid; place-items: center; background: var(--ocre); color: var(--anil-3); font-size: 20px; font-weight: 800; }
.door .stubs-l { margin-top: 12px; font-size: 15px; color: var(--on-dark); }
.door .stubs-l b { color: #fff; }
.door .ctas { justify-content: center; margin-top: 26px; }
@media (max-width: 520px) { .door .ctas .btn { flex: 1 1 100%; } }

/* Pie */
.footer { padding: 52px 0 28px; color: var(--on-dark); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer .logo { color: #fff; }
.f-up { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; display: grid; place-items: center; transition: background-color .2s ease; }
.f-up:hover { background: rgba(255, 255, 255, .08); }
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 30px; }
.f-about { max-width: 30em; }
.f-h { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: #fff; }
.f-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; transition: color .2s ease; }
.f-col a:hover { color: #fff; }
.f-col .ico { width: 18px; height: 18px; color: var(--ocre); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.f-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
.f-about, .f-contact { grid-column: 1 / -1; }
@media (min-width: 1200px) {
  .f-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); }
  .f-about, .f-contact { grid-column: auto; }
}

/* WhatsApp: barra fija en el celular y botón flotante en pantallas grandes */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linea); box-shadow: 0 -10px 28px rgba(20, 28, 82, .1); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.mbar.show { transform: none; visibility: visible; }
.mbar.show.inq { transform: translateY(110%); visibility: hidden; }
.mbar small { display: grid; font-size: 13px; line-height: 1.25; color: var(--gris); }
.mbar small b { font-size: 15px; color: var(--tinta); }
.mbar .btn { flex: 1; min-height: 48px; padding-inline: 14px; font-size: 16px; }
.float-wa { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: none; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--anil); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 14px 32px -12px rgba(20, 28, 82, .55); opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .2s ease; }
.float-wa.show { opacity: 1; transform: none; visibility: visible; }
.float-wa:hover { background: var(--anil-3); }
@media (max-width: 760px) {
  html { scroll-padding-bottom: 96px; }
  .footer { padding-bottom: 104px; }
}
@media (min-width: 761px) {
  .mbar { display: none; }
  .float-wa { display: inline-flex; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .tech-track { animation: none; width: auto; display: block; }
  .tech-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding-right: 0; }
  .tchip { white-space: normal; }
  .tech-set[aria-hidden] { display: none; }
  .tech { -webkit-mask: none; mask: none; }
  .mq-pause { display: none; }
}
