:root { --noche: #030b20; --azul: #0057e0; --marino: #03235f; --cielo: #39b5ff; --verde: #4fd12b; --hielo: #eef5ff; --tenue: #a9bedf; --tinta: #071a3f; --linea: #cddcf2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--noche); }
body { margin: 0; color: #fff; font: 400 1.0625rem/1.6 Onest, "Segoe UI", sans-serif; background: radial-gradient(60vw 60vw at 78% 12%, #0a3487 0%, transparent 65%) fixed, var(--noche); overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
img { display: block; }
h1, h2 { font-weight: 750; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.2vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }
#escena { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sin3d #escena { background: url(assets/emblema.png) 82% 50% / 320px no-repeat; opacity: .5; }
main, footer { position: relative; z-index: 1; }
.wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 20; padding: 10px 16px; background: #fff; color: var(--tinta); }
.skip:focus { top: 12px; }

.top { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; gap: 30px; padding: 14px clamp(20px, 4vw, 56px); background: linear-gradient(rgb(3 11 32 / .95) 55%, rgb(3 11 32 / .8) 75%, transparent); padding-bottom: 26px; }
.top.solido { background: var(--noche); padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-icon { border-radius: 11px; }
.brand-word { height: 30px; width: auto; }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; color: var(--tenue); padding: 8px 0; }
nav a:hover { color: #fff; }
.pill { border: 1px solid #35558f; border-radius: 99px; background: none; color: #fff; padding: 8px 16px; cursor: pointer; }
.pill:hover { border-color: #fff; }
kbd { font: inherit; font-size: .85em; color: var(--tenue); margin-left: 6px; }
.btn { display: inline-block; border: 1px solid transparent; border-radius: 99px; padding: 15px 26px; background: var(--verde); color: #04200a; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: #7cec5b; }
.btn:active { transform: scale(.97); }
.ghost { background: rgb(3 11 32 / .6); color: #fff; border-color: #4b6aa5; }
.ghost:hover { background: #12306b; }

.hero { min-height: 100svh; display: flex; align-items: center; padding: 110px clamp(20px, 4vw, 56px) 60px; }
.hero-copy { width: min(52%, 780px); }
.hero-copy p, .pieza-copy p { margin-top: 26px; font-size: 1.25rem; color: #c8d8f2; max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.pieza { min-height: 115svh; display: flex; align-items: center; padding: 0 clamp(20px, 4vw, 56px); }
.pieza-copy { width: min(44%, 600px); }
.more { margin-top: 28px; padding: 6px 0; border: 0; border-bottom: 2px solid var(--verde); background: none; color: #fff; font-weight: 650; cursor: pointer; }
.more:hover { color: var(--verde); }

.demo { background: var(--hielo); color: var(--tinta); padding: clamp(80px, 10vw, 150px) 0 70px; border-radius: 40px 40px 0 0; scroll-margin-top: 20px; }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.demo-head p { max-width: 34ch; font-size: 1.15rem; color: #3b5280; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }
button:disabled { opacity: .45; cursor: not-allowed; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 8px 6px; font-weight: 400; border-bottom: 1px solid var(--linea); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
.vacio td { text-align: center; color: #56657f; padding-block: 18px; white-space: normal; }

/* CESpos: mismos colores y estructura que el sistema real */
.cp { display: grid; grid-template-columns: 214px minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: #f3f5f9; color: #1f2937; border: 1px solid #c5d0e4; font: 400 15px/1.45 "Source Sans 3", "Segoe UI", sans-serif; scroll-margin-top: 84px; }
.cp :is(input, select, button) { font: inherit; }
.cp-lado { background: #142a5e; color: rgb(255 255 255 / .8); padding: 12px 10px; }
.cp-marca, .cp-user { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid rgb(255 255 255 / .1); color: #fff; }
.cp-marca { font-size: 18px; } .cp-marca img { background: #fff; border-radius: 50%; padding: 2px; }
.cp-user { padding-block: 12px; }
.cp-user span { width: 34px; height: 34px; border-radius: 50%; background: #3f8a20; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.cp-user small { display: block; color: rgb(255 255 255 / .65); font-size: 12px; }
.cp-menu { list-style: none; margin-top: 10px; }
.cp-menu li { padding: 7px 10px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.cp-menu li:not(.sub)::before { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--c); }
.cp-menu .on { background: rgb(255 255 255 / .1); color: #fff; }
.cp-menu .sub { padding: 2px 0; }
.cp-menu button { width: 100%; text-align: left; border: 0; border-radius: 8px; padding: 7px 10px 7px 32px; background: none; color: inherit; cursor: pointer; }
.cp-menu button:hover:not(:disabled) { background: rgb(255 255 255 / .1); color: #fff; }
.cp-menu button.act { background: #3f8a20; color: #fff; }
.cp-barra { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; background: #fff; border-bottom: 1px solid #e2e6ee; padding: 11px 18px; }
.cp-badge { display: inline-block; border-radius: 4px; padding: 3px 9px; font-size: 13.5px; font-weight: 700; color: #fff; background: #343a40; }
.cp-badge.rojo { background: #c82333; } .cp-badge.verde { background: #3f8a20; } .cp-badge.ambar { background: #ffc107; color: #1f2937; }
.cp-vista { padding: 14px 18px 20px; }
.cp-tit { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cp-tit h3 { font-size: 1.5rem; font-weight: 600; color: #1a3478; outline: 0; }
.cp-tit div { text-align: right; } .cp-tit small { display: block; color: #5b6472; }
.cp-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cp-card { background: #fff; border: 1px solid #e2e6ee; border-top: 3px solid #1d4f9c; border-radius: 10px; min-width: 0; }
.cp-card.verde { border-top-color: #4fa52a; }
.cp-card h4 { margin: 0; padding: 11px 16px; border-bottom: 1px solid #e2e6ee; color: #1a3478; font-size: 1.05rem; font-weight: 600; }
.cp-in { padding: 14px 16px; }
.cp-in > input, .cp label :is(input, select) { width: 100%; }
.cp :is(input, select) { border: 1px solid #aab4c5; border-radius: 4px; padding: 7px 10px; background: #fff; color: inherit; min-width: 0; }
.cp label { display: block; font-weight: 600; } .cp label :is(input, select) { font-weight: 400; margin-top: 3px; }
.cp table { font-size: 14.5px; margin-top: 12px; }
.cp th, .cp td { border-color: #e2e6ee; }
.cp thead th { background: #f6f8fb; color: #5b6472; font-size: 12.5px; font-weight: 600; }
.cp td:first-child { white-space: normal; }
.cp td small { display: block; color: #5b6472; }
.cp tbody tr:hover { background: #e8eef9; }
.cp-mas { width: 36px; height: 36px; border: 0; border-radius: 5px; background: #1d4f9c; color: #fff; font-size: 20px !important; line-height: 1; cursor: pointer; }
.cp-mas:hover:not(:disabled) { background: #1a3478; }
.cp-quitar { width: 32px; height: 36px; border: 0; background: none; color: #c82333; font-size: 22px !important; line-height: 1; cursor: pointer; }
.cp td input { width: 62px; padding: 5px 7px; }
.cp-tot { font-variant-numeric: tabular-nums; margin: 10px 0 14px; }
.cp-tot div { display: flex; justify-content: space-between; padding: 4px 6px; border-bottom: 1px solid #e2e6ee; }
.cp-tot .suave { color: #5b6472; } .cp-tot .gran { font-size: 22px; font-weight: 700; }
.cp-pago { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 14px; }
.cp-cobrar { width: 100%; padding: 12px; border: 0; border-radius: 5px; background: #3f8a20; color: #fff; font-size: 19px !important; font-weight: 600; cursor: pointer; }
.cp-cobrar:hover:not(:disabled) { background: #326f19; }
.cp-cobrar:disabled { opacity: 1; background: #dfe5ee; color: #55617a; }
.cp-cobrar.chico { width: auto; padding: 8px 16px; font-size: 15px !important; }
.cp-aviso { margin-top: 8px; min-height: 3em; color: #4b5565; }
.cp-pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.cp-pasos li { background: #dfe5ee; color: #55617a; border-radius: 6px; padding: 9px 12px; font-weight: 600; transition: background .4s, color .4s; }
.cp-pasos .ok { background: #3f8a20; color: #fff; }
.kude { position: relative; overflow: hidden; background: #fff; border: 1px solid #d5dbe6; padding: 20px; }
.k-cab, .k-dos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.k-cab { border-bottom: 1px solid #d5dbe6; padding-bottom: 12px; }
.k-cab > :last-child { text-align: right; border-left: 1px solid #d5dbe6; padding-left: 14px; }
.k-cab h4 { margin: 0 0 4px; font-size: 1.35rem; } .k-cab strong, .k-cab span { font-size: 18px; }
.k-info { display: flex; flex-wrap: wrap; gap: 10px 60px; padding: 12px 0; }
.k-scroll { overflow-x: auto; }
.kude table { margin: 0; } .kude tbody tr:nth-child(odd) { background: #fafbfd; }
.kude tbody td:nth-child(2), .kude th:nth-child(2) { text-align: left; } .kude tfoot td { font-weight: 700; text-align: right; }
.kude tfoot td:first-child { text-align: left; }
.k-dos { grid-template-columns: 1fr 1fr; margin-top: 14px; } .k-dos h5 { margin: 0; font-size: 1.1rem; font-weight: 400; }
.k-pie { display: flex; gap: 20px; border-top: 1px solid #d5dbe6; padding-top: 16px; }
.k-pie > div { min-width: 0; }
.k-pie canvas { flex: none; opacity: 0; transform: scale(.6); transition: .5s cubic-bezier(.2, 1.3, .4, 1); }
.lista .k-pie canvas { opacity: 1; transform: none; }
.k-cdc { margin: 10px 0 4px; font-size: 16px; overflow-wrap: anywhere; }
.k-agua { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%) rotate(-20deg); font-size: clamp(34px, 6vw, 76px); font-weight: 700; white-space: nowrap; color: rgb(200 35 51 / .09); pointer-events: none; }
.nota { margin-top: 18px; font-size: .92rem; color: #3b5280; }

.conta { background: #fff; color: var(--tinta); padding: clamp(80px, 10vw, 140px) 0; scroll-margin-top: 20px; }
.conta-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px 60px; align-items: end; }
.conta-head p { color: #3b5280; font-size: 1.12rem; }
.ecuacion { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; margin: 64px 0; padding: 34px 0; border-block: 2px solid var(--tinta); font-variant-numeric: tabular-nums; }
.ecuacion strong { display: block; font-size: clamp(2.1rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }
.ecuacion span { display: block; margin-top: 10px; color: #3b5280; }
.ecuacion i { font: 400 clamp(2rem, 4.4vw, 4.2rem)/1 Onest, sans-serif; color: var(--azul); }
.ecuacion .res strong { color: #147a24; }
.libros { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 48px; }
.libros h3, .vence h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.libro-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.asiento h3 { margin-bottom: 14px; min-height: 46px; display: flex; align-items: center; }
.libros thead th { color: #4c628d; } .libros tfoot td, .asiento tbody tr:last-child:not(.vacio) td { font-weight: 750; border-bottom: 3px double var(--tinta); }
.libro > p { margin-top: 12px; color: #4c628d; font-size: .92rem; }
.cambio { display: flex; padding: 4px; border-radius: 99px; background: var(--hielo); }
.cambio button { border: 0; border-radius: 99px; padding: 9px 18px; background: none; color: var(--tinta); cursor: pointer; }
.cambio [aria-pressed="true"] { background: var(--azul); color: #fff; }
.conta-pie { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 80px; align-items: start; }
.vence { background: linear-gradient(150deg, var(--azul), var(--marino)); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
.vence > p { margin-top: 8px; color: #dce9ff; }
.digitos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 22px; }
.digitos button { min-height: 54px; border: 1px solid #7fa8ef; border-radius: 12px; background: none; color: #fff; font-size: 1.25rem; font-weight: 650; cursor: pointer; }
.digitos button:hover { background: rgb(255 255 255 / .14); }
.digitos [aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #04200a; }
.v-res { min-height: 5em; margin-top: 22px !important; }
.v-res strong { display: block; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em; }
.vence small { color: #dce9ff; }
.conta-serv { list-style: none; }
.conta-serv li { padding: 18px 0; border-top: 1px solid var(--linea); }
.conta-serv li:first-child { border-top: 0; padding-top: 0; }
.conta-serv h3 { font-size: 1.3rem; letter-spacing: -.02em; } .conta-serv p { color: #3b5280; }

.proceso { background: var(--hielo); color: var(--tinta); padding: 50px 0 clamp(90px, 10vw, 150px); border-radius: 0 0 40px 40px; }
.proceso h2 { max-width: 14ch; font-size: clamp(2rem, 4vw, 3.4rem); }
.proceso ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 12px; margin-top: 40px; }
.proceso li { background: #fff; border-radius: 18px 18px 0 0; padding: 26px; border-bottom: 5px solid var(--verde); }
.proceso li:nth-child(2) { padding-bottom: 64px; } .proceso li:nth-child(3) { padding-bottom: 104px; } .proceso li:nth-child(4) { padding-bottom: 148px; }
.proceso h3 { font-size: 1.4rem; letter-spacing: -.02em; }
.proceso li p { color: #3b5280; margin-top: 8px; }

.contacto { min-height: 100svh; padding: 120px 0 80px; }
.contacto-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; min-height: 70svh; }
.contacto-in h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
form { background: #fff; color: var(--tinta); border-radius: 24px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; align-self: end; }
label { font-weight: 650; }
form input, form select, form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #8ba2c8; border-radius: 12px; background: #fff; color: var(--tinta); resize: vertical; }
form .btn { justify-self: start; }
#estado { min-height: 1.6em; }
.canales { list-style: none; margin-top: 26px; }
.canales li { padding: 8px 0; overflow-wrap: anywhere; }
.canales span { display: block; color: var(--tenue); font-size: .9rem; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; padding: 26px clamp(20px, 4vw, 56px); background: var(--noche); color: var(--tenue); }

.hud { position: fixed; z-index: 9; right: 24px; bottom: 24px; width: 250px; padding: 18px 20px; background: var(--noche); border: 1px solid var(--verde); border-radius: 16px; }
.hud dl { margin: 10px 0 14px; font-variant-numeric: tabular-nums; }
.hud dl div { display: flex; justify-content: space-between; color: var(--tenue); }
.hud dd { color: var(--verde); }
.hud button { border: 0; border-bottom: 1px solid; background: none; color: #fff; padding: 2px 0; cursor: pointer; }
.rayos :is(.hero-copy, .pieza-copy, .cp-card, .kude, .vence, h1, h2, form, .actions, .proceso li) { outline: 1px dashed var(--cielo); outline-offset: 4px; }
dialog { width: min(600px, calc(100% - 32px)); margin-top: 14vh; padding: 0; border: 1px solid #35558f; border-radius: 20px; background: #071636; color: #fff; overflow: hidden; }
dialog::backdrop { background: rgb(1 5 16 / .75); }
#menu-q { width: 100%; padding: 22px 24px; border: 0; border-bottom: 1px solid #24417a; background: none; color: #fff; font-size: 1.2rem; outline: 0; }
#menu-q::placeholder { color: var(--tenue); }
#menu-lista { list-style: none; padding: 8px; }
#menu-lista button { width: 100%; text-align: left; padding: 12px 16px; border: 0; border-radius: 12px; background: none; color: #fff; cursor: pointer; }
#menu-lista :is(button:hover, button:focus-visible) { background: var(--azul); outline: 0; }

@media (max-width: 1100px) {
  .cp { grid-template-columns: minmax(0, 1fr); } .cp-user, .cp-menu li:not(.sub) { display: none; }
  .cp-menu { display: flex; flex-wrap: wrap; gap: 4px; } .cp-menu button { padding: 9px 12px; }
  .libros { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 799px) {
  nav, kbd { display: none; }
  .hero { align-items: end; min-height: 100svh; padding-bottom: 34px; }
  .hero-copy, .pieza-copy { width: 100%; }
  .hero-copy p, .pieza-copy p { font-size: 1.08rem; margin-top: 16px; }
  .actions { margin-top: 24px; }
  .pieza { align-items: end; padding-bottom: 12svh; }
  .wrap { width: calc(100% - 32px); }
  .cp-cols, .conta-head, .conta-pie, .contacto-in, .proceso ol { grid-template-columns: minmax(0, 1fr); }
  .cp-vista { padding: 14px 12px; } .cp-in { padding: 12px 10px; } .cp th, .cp td { padding-inline: 4px; }
  .ecuacion { flex-direction: column; } .ecuacion i { line-height: .6; }
  .cp-pasos { grid-template-columns: 1fr 1fr; } .k-cab, .k-dos { grid-template-columns: minmax(0, 1fr); }
  .k-cab > :last-child { text-align: left; border: 0; padding: 0; } .kude { padding: 14px; } .k-pie { flex-direction: column; }
  .conta-pie { gap: 40px; }
  .proceso li:nth-child(n) { padding-bottom: 26px; }
  .contacto-in { padding-top: 22svh; gap: 30px; }
  .hud { right: 16px; bottom: 16px; }
}
@media (max-width: 400px) { .brand-word { height: 25px; } .btn { padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- Sitios web, empresa y cabecera ---- */
.cta { padding: 10px 20px; }
.hero { flex-wrap: wrap; align-content: space-between; }
.hero-copy { margin-block: auto; }
.lineas { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid #35558f; }
.lineas a { padding: 18px 20px 0 0; color: #c8d8f2; font-weight: 600; }
.lineas a:hover { color: var(--verde); }
.hero { padding-bottom: 30px; }
.web { background: #fff; color: var(--tinta); padding: clamp(80px, 10vw, 140px) 0; border-radius: 40px 40px 0 0; scroll-margin-top: 20px; }
.demo { border-radius: 0; }
.web-head, .emp-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: 56px; }
.web-head p { color: #3b5280; font-size: 1.12rem; }
.taller { display: grid; grid-template-columns: 320px minmax(0, 1fr); border-radius: 24px; overflow: hidden; border: 1px solid var(--linea); }
.mandos { padding: 28px; display: grid; gap: 20px; align-content: start; background: #fff; }
.mandos label { font-weight: 650; }
.mandos > label input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #8ba2c8; border-radius: 12px; color: var(--tinta); background: #fff; }
.mandos fieldset { border: 0; padding: 0; margin: 0; min-width: 0; } .mandos legend { padding: 0; font-weight: 650; margin-bottom: 8px; }
.mandos > p { font-size: .9rem; color: #4c628d; }
.opc { display: flex; flex-wrap: wrap; gap: 8px; }
.opc label { position: relative; font-weight: 500; }
.opc input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opc span { display: block; padding: 8px 14px; border: 1px solid #8ba2c8; border-radius: 99px; }
.opc input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.opc input:focus-visible + span { outline: 3px solid #17952f; outline-offset: 2px; }
.escaparate { background: linear-gradient(140deg, #0a6cff, #03235f); padding: clamp(16px, 3vw, 44px); display: grid; place-items: center; min-height: 600px; }
.nave { width: 100%; max-width: 860px; background: #fff; border-radius: 14px; overflow: hidden; container-type: inline-size; transition: max-width .55s cubic-bezier(.2, 1, .3, 1), border-radius .4s; }
.nave.movil { max-width: 290px; border-radius: 32px; border: 8px solid #061330; }
.nave-barra { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #e6edf8; font-size: .85rem; color: #3b5280; }
.nave-barra i { width: 10px; height: 10px; border-radius: 50%; background: #a8badb; }
.nave-barra span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; }
.mini { --f: #fff; --t: #0b1f45; --a: #0a5ad6; --p: #eaf1fc; background: var(--f); color: var(--t); line-height: 1.4; min-height: 440px; }
.m-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; }
.m-top b { font-size: 1.15rem; white-space: nowrap; } .m-links { display: flex; gap: 20px; font-size: .88rem; }
.m-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 24px; padding: 22px 28px 30px; }
.m-hero strong { display: block; font-size: clamp(1.8rem, 6.2cqw, 3.2rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.m-hero p { margin: 12px 0 18px; } .m-hero em { display: inline-block; font-style: normal; font-weight: 650; font-size: .92rem; padding: 10px 18px; border-radius: 8px; background: var(--a); color: #fff; }
.m-arte { aspect-ratio: 1; display: grid; place-items: center; background: var(--p); color: var(--a); border-radius: 18px; }
.m-arte svg { width: 60%; height: 70%; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 28px 28px; }
.m-cards div { padding: 14px; border: 1px solid color-mix(in srgb, var(--t) 18%, transparent); border-radius: 10px; }
.m-cards b { font-size: .92rem; } .m-cards i { display: block; height: 6px; border-radius: 4px; margin-top: 8px; background: color-mix(in srgb, var(--t) 16%, transparent); } .m-cards i:last-child { width: 60%; }
.m-audaz { --f: #16052e; --t: #fff; --a: #ff4f2e; --p: #ffcf33; }
.m-audaz .m-hero strong { font-weight: 800; font-size: clamp(2.1rem, 8cqw, 4.2rem); line-height: .95; }
.m-audaz .m-arte { border-radius: 50%; color: #16052e; } .m-audaz .m-hero em { border-radius: 99px; color: #16052e; } .m-audaz .m-cards div { border: 0; background: rgb(255 255 255 / .1); }
.m-elegante { --f: #f2f3ef; --t: #1d2b26; --a: #24483c; --p: #d3dcd3; font-family: Georgia, "Times New Roman", serif; }
.m-elegante .m-hero strong { font-weight: 400; letter-spacing: -.02em; } .m-elegante .m-hero { grid-template-columns: 1fr 1.25fr; } .m-elegante .m-arte { order: -1; border-radius: 200px 200px 0 0; } .m-elegante .m-hero em { border-radius: 0; } .m-elegante .m-cards div { border-radius: 0; border-width: 1px 0 0; padding-inline: 0; }
.m-elegante .m-arte svg { stroke-width: 4; }
@container (max-width: 480px) {
  .m-links { display: none; } .m-top, .m-hero, .m-cards { padding-inline: 18px; }
  .m-hero, .m-elegante .m-hero, .m-cards { grid-template-columns: minmax(0, 1fr); }
  .m-hero { padding-top: 4px; } .m-arte { aspect-ratio: 1.7; } .m-elegante .m-arte { border-radius: 100px 100px 0 0; } .m-audaz .m-arte { border-radius: 99px; } .m-hero strong, .m-audaz .m-hero strong { font-size: 2rem; }
  .m-cards div:nth-child(n+2) { display: none; }
}
.web-tipos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.web-tipos h3 { font-size: 1.25rem; letter-spacing: -.02em; } .web-tipos p { margin-top: 6px; color: #3b5280; }
.web-tipos li { border-top: 2px solid var(--tinta); padding-top: 16px; }

.empresa { background: var(--marino); color: #fff; padding: clamp(80px, 10vw, 140px) 0; scroll-margin-top: 20px; }
.emp-head p { color: #cfe0fb; font-size: 1.12rem; }
.emp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.emp-mapa svg { width: 100%; height: auto; display: block; }
.vias path { stroke: #2d5cb5; stroke-width: 3; }
.pulso path { stroke: var(--verde); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 22 330; animation: pulso 3.2s linear infinite; }
.pulso path:nth-child(2) { animation-delay: -.8s; } .pulso path:nth-child(3) { animation-delay: -1.6s; } .pulso path:nth-child(4) { animation-delay: -2.4s; }
@keyframes pulso { from { stroke-dashoffset: 352; } to { stroke-dashoffset: 0; } }
.nodos rect { fill: #0a3a94; stroke: #5f8fe6; stroke-width: 1.5; }
.rot text { fill: #fff; font: 600 21px Onest, sans-serif; text-anchor: middle; }
.centro { fill: #fff; }
.emp-lista > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 20px 0; border-top: 1px solid #2d5cb5; }
.emp-lista > div:last-child { border-bottom: 1px solid #2d5cb5; }
.emp-lista dt { font-weight: 700; } .emp-lista dd { color: #cfe0fb; }
.rubros { margin-top: 64px; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -.02em; color: #a9c6f7; max-width: 46ch; } .rubros strong { color: #fff; }

footer { display: block; padding: 70px 0 28px; border-top: 1px solid #14306b; }
.pie { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.pie img { width: 170px; height: auto; } .pie p { margin-top: 18px; max-width: 32ch; }
.pie h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 12px; font-weight: 650; }
.pie nav { display: block; } .pie nav a { display: block; padding: 5px 0; }
.pie .canales { margin: 0; } .pie .canales li { padding: 0 0 10px; }
.pie-fin { margin-top: 48px; padding-top: 20px; border-top: 1px solid #14306b; }

@media (max-width: 1180px) { .top nav { display: none; } }
@media (max-width: 1000px) { .taller, .emp-grid { grid-template-columns: minmax(0, 1fr); } .web-tipos, .pie { grid-template-columns: 1fr 1fr; } }
@media (max-width: 799px) {
  .web-head, .emp-head { grid-template-columns: minmax(0, 1fr); }
  .lineas { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; } .lineas a { padding: 12px 10px 0 0; font-size: .95rem; }
  .hero { padding-top: 42svh; } .hero-copy { margin-block: 0; } .web { scroll-margin-top: 0; } .escaparate { min-height: 0; }
  .pie nav { display: block; }
  .top { gap: 10px; }
}
@media (max-width: 520px) {
  .cta { display: none; }
  .web-tipos, .pie, .emp-lista > div { grid-template-columns: minmax(0, 1fr); } .emp-lista > div { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .pulso path { animation: none; } }

/* ---- Interacciones, calculadoras, solución y aviso legal ---- */
.avance { position: fixed; z-index: 11; inset: 0 0 auto; height: 3px; background: var(--verde); transform: scaleX(0); transform-origin: left; }
.etq { position: fixed; z-index: 8; left: 0; top: 0; padding: 8px 14px; border-radius: 10px; background: #fff; color: var(--tinta); font-weight: 650; pointer-events: none; opacity: 0; transition: opacity .15s; }
.etq.ver { opacity: 1; }
.girando, .girando * { cursor: grabbing !important; user-select: none; }
.hero, .pieza { touch-action: pan-y; cursor: grab; } .hero-copy, .pieza-copy, .lineas { cursor: auto; }
.hero-copy .pista { margin-top: 18px; font-size: 1rem; color: var(--tenue); }
.copiar { margin-left: 10px; padding: 4px 12px; border: 1px solid #5f7fb8; border-radius: 99px; background: none; color: inherit; font-size: .88rem; cursor: pointer; }
.copiar:hover { background: #12306b; color: #fff; }
.calc, .sol { background: var(--hielo); color: var(--tinta); padding: clamp(80px, 10vw, 130px) 0; scroll-margin-top: 20px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.calc-grid > div { border-radius: 24px; padding: clamp(22px, 3vw, 40px); min-width: 0; }
.calc h3, .sol h3 { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; }
.calc label { display: block; } .calc-iva > label { margin: 20px 0 14px; font-weight: 650; }
.calc-iva { background: #fff; } .calc-iva .opc { margin-bottom: 10px; }
.calc-iva #c-monto { width: 100%; margin-top: 6px; padding: 12px 16px; border: 1px solid #8ba2c8; border-radius: 12px; font-size: 1.7rem; font-weight: 700; color: var(--tinta); font-variant-numeric: tabular-nums; }
.calc-iva dl { margin-top: 20px; font-variant-numeric: tabular-nums; }
.calc-iva dl div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--linea); } .calc-iva .gran { font-size: 1.6rem; font-weight: 750; }
.calc-tiempo { background: var(--tinta); color: #fff; }
.calc-tiempo label { margin-top: 20px; } .calc-tiempo output { float: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--verde); height: 28px; cursor: pointer; }
.t-res { margin: 22px 0 16px !important; } .t-res strong { display: block; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; color: var(--verde); }
.reloj { display: flex; flex-wrap: wrap; gap: 3px; min-height: 86px; max-height: 130px; overflow: hidden; align-content: flex-start; margin-bottom: 10px; }
.reloj i { width: 9px; height: 9px; border-radius: 2px; background: var(--cielo); }
.calc-tiempo small { color: var(--tenue); }
.sol { padding-bottom: 60px; }
.sol-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.grande { gap: 12px; } .grande span { padding: 13px 20px; font-size: 1.08rem; background: #fff; transition: transform .2s; } .grande input:checked + span { transform: scale(1.04); }
.sol-res { background: linear-gradient(150deg, var(--azul), var(--marino)); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 40px); min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sol-res ul { list-style: none; width: 100%; flex: 1; } .sol-res li { padding: 13px 0; border-top: 1px solid #5f8fe6; } .sol-res li span { display: block; color: #dce9ff; }
.pie-fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
.pie-fin button { border: 0; padding: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; } .pie-fin button:hover { color: #fff; }
.legal-in { padding: clamp(22px, 4vw, 38px); display: grid; gap: 14px; max-height: 76vh; overflow-y: auto; } .legal-in h2 { font-size: 1.7rem; letter-spacing: -.03em; } .legal-in p { color: #c8d8f2; } .legal-in .btn { justify-self: start; }
#legal { margin-top: 9vh; }
@media (max-width: 799px) { .calc-grid, .sol-grid { grid-template-columns: minmax(0, 1fr); } .sol-res { min-height: 0; } .hero-copy .pista { margin-top: 12px; } }
