/* ==========================================================================
   STPT · Soluciones Tecnológicas Para Todos
   Diseño visual con fotografía. Colores en :root.
   ========================================================================== */
:root {
  --blue: #0a6fb8;
  --blue-d: #085a96;
  --cyan: #1cb4e8;
  --orange: #f48543;
  --orange-d: #e8702c;
  --steel: #4c6f80;
  --violet: #7c3aed;
  --wa: #25d366;
  --ink: #0f2440;
  --muted: #5d6c80;
  --line: #e4ebf1;
  --tint: #f4f7fb;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --sec: clamp(3.25rem, 2.5rem + 3.5vw, 5.25rem);
  --h: 72px;
  --r: 22px;
  --sh: 0 2px 4px rgba(15, 36, 64, .04), 0 12px 32px -16px rgba(15, 36, 64, .22);
  --sh-lg: 0 30px 70px -30px rgba(15, 36, 64, .45);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 999; padding: .6rem 1rem; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.c-blue { --c: var(--blue); } .c-steel { --c: var(--steel); } .c-orange { --c: #e0661f; } .c-violet { --c: var(--violet); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem 1.3rem; border: 1.5px solid transparent; border-radius: 999px; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: .85rem 1.7rem; font-size: 1.03rem; }
.btn-sm { min-height: 38px; padding: .35rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #fff; text-shadow: 0 1px 1px rgba(120, 50, 10, .3); box-shadow: 0 12px 24px -12px rgba(244, 133, 67, .9); }
.btn-orange:hover { background: var(--orange-d); }
.btn-wa { background: var(--wa); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); box-shadow: 0 12px 24px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1fbd59; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white .icon { color: #16a34a; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--line); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-link { padding: .5rem .25rem; border: 0; background: none; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 0; box-shadow: none; }
.btn-link:hover { transform: none; color: var(--ink); }
.link { padding: 0; border: 0; background: none; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Carga */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; transition: opacity .4s, visibility 0s .4s; }
.loader.is-done { opacity: 0; visibility: hidden; }
html:not(.js) .loader { display: none; }
.loader-mark { position: relative; display: grid; place-items: center; width: 90px; height: 90px; }
.loader-iso { width: 48px; height: 48px; }
.loader-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -30deg, var(--cyan) 0 60deg, transparent 60deg 120deg, var(--steel) 120deg 180deg, transparent 180deg 240deg, var(--orange) 240deg 300deg, transparent 300deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 80; height: var(--h); background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(15, 36, 64, .5); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange)); transform: scaleX(var(--sp, 0)); transform-origin: left; }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; flex: none; }
.brand-iso { height: 42px; width: auto; aspect-ratio: 632 / 676; }
.brand-txt { height: 33px; width: auto; }
.nav-panel { display: flex; align-items: center; gap: .6rem; }
.nav-list { display: flex; gap: 1.4rem; margin-right: 1rem; }
.nav-list a { position: relative; padding: .4rem 0; font-weight: 600; font-size: .94rem; color: var(--muted); transition: color .2s; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-social { display: none !important; }
.nav-toggle { display: none; }
@media (max-width: 1000px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; }
  .nav-toggle .icon { width: 20px; height: 20px; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .nav-panel { position: fixed; inset: var(--h) 0 auto; flex-direction: column; align-items: stretch; gap: .8rem; padding: .5rem var(--pad) 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -24px rgba(15, 36, 64, .35); max-height: calc(100dvh - var(--h)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav-list { flex-direction: column; gap: 0; margin: 0; }
  .nav-list a { display: block; padding: 1rem 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-social { display: flex !important; justify-content: center; padding: .5rem 0; }
}
@media (max-width: 400px) { .brand-iso { height: 36px; } .brand-txt { height: 28px; } }

/* Redes */
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--b); transition: transform .2s; }
.social a:hover { transform: translateY(-2px); }
.social .icon { width: 19px; height: 19px; }
.s-whatsapp { --b: var(--wa); } .s-facebook { --b: #1877f2; } .s-tiktok { --b: #000; } .s-youtube { --b: #f00; } .s-linkedin { --b: #0a66c2; }
.social .s-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }

/* Encabezados de sección */
.section { padding: var(--sec) 0; }
.tint { background: var(--tint); }
.tint + .tint { padding-top: 0; }
.hero + .section { padding-top: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.sec-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; margin-bottom: 1.75rem; }
.kicker { display: inline-block; margin-bottom: .7rem; color: var(--orange-d); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.sec-sub { margin-top: .7rem; color: var(--muted); font-size: 1.08rem; }

/* Portada */
.hero { position: relative; padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); background: linear-gradient(180deg, #f3f8fd 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.hero h1 { margin: 1.1rem 0 1rem; font-size: clamp(2.7rem, 1.6rem + 4.4vw, 4.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.grad { display: block; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.hero-sub { max-width: 30em; color: var(--muted); font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.hero-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-weight: 600; font-size: .92rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-checks .icon { color: #16a34a; stroke-width: 2.8; }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--sh-lg); }
.hero-badge { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: 16px; background: #fff; box-shadow: var(--sh-lg); font-size: .9rem; line-height: 1.25; }
.hero-badge small { display: block; color: var(--muted); font-size: .78rem; }
.b-iso { width: 36px; height: 36px; flex: none; }
.b1 { left: -24px; bottom: 28px; }
.b2 { right: -14px; top: 26px; }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-checks { justify-content: center; }
  .hero-media { max-width: 560px; width: 100%; margin-inline: auto; }
  .b1 { left: 12px; bottom: -18px; } .b2 { right: 12px; top: -16px; }
}
@media (max-width: 520px) { .hero-cta .btn { flex: 1; } .hero-checks { font-size: .85rem; gap: .4rem 1rem; } .hero-badge { font-size: .8rem; padding: .55rem .75rem; } .b-iso { width: 28px; height: 28px; } }

/* Servicios: tarjetas con foto */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cat { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); scroll-margin-top: calc(var(--h) + 16px); transition: box-shadow .25s, transform .25s; }
.cat:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.cat-img { position: relative; min-height: 100%; }
.cat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-tag { position: absolute; left: 12px; top: 12px; padding: .35rem .75rem; border-radius: 999px; background: #fff; color: var(--c); font-size: .78rem; font-weight: 800; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.cat-body { padding: 1.4rem 1.4rem 1.2rem; }
.cat-body h3 { margin-bottom: .6rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.svc-btn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .6rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-weight: 600; font-size: .95rem; transition: color .2s; }
.svc:last-child .svc-btn { border-bottom: 0; }
.svc-btn::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--tint); color: var(--c); font-weight: 700; transition: background-color .2s, color .2s; }
.svc-btn:hover { color: var(--c); }
.svc-btn:hover::after { background: var(--c); color: #fff; }
@media (max-width: 1000px) { .cats { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; } }
@media (max-width: 560px) { .cat { grid-template-columns: 1fr; } .cat-img { height: 170px; } .cat-body { padding: 1.1rem 1.1rem .9rem; } }

/* ¿Qué necesitas? */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; max-width: 960px; margin-inline: auto; }
.pill { padding: .85rem 1.4rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: clamp(.95rem, .9rem + .25vw, 1.05rem); box-shadow: 0 2px 6px rgba(15, 36, 64, .04); transition: border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.pill:hover { border-color: var(--c); color: var(--c); transform: translateY(-2px); box-shadow: var(--sh); }
@media (max-width: 520px) { .pills { gap: .5rem; } .pill { padding: .7rem 1.05rem; } }

/* Para quién: tarjetas de foto */
.whos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.who { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--r); color: #fff; box-shadow: var(--sh); }
.who img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.who:hover img { transform: scale(1.06); }
.who-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 64, .05) 20%, rgba(15, 36, 64, .55) 55%, rgba(10, 24, 44, .94) 100%); }
.who-txt { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.who-txt { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .3rem; padding: 1.4rem; }
.who-txt b { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.who-txt small { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.go { display: inline-flex; align-items: center; gap: .4rem; justify-self: start; margin-top: .5rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; color: var(--c); font-weight: 800; font-size: .9rem; }
.go .icon { transition: transform .2s; }
.who:hover .go .icon { transform: translateX(4px); }
@media (max-width: 860px) { .whos { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .who { aspect-ratio: 16 / 10; } }

/* Proceso */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-img img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: 28px; box-shadow: var(--sh-lg); }
.steps { display: grid; gap: .9rem; margin-bottom: 2rem; }
.steps li { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 16px; background: var(--tint); }
.num { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.steps li:nth-child(2) .num { background: var(--blue); } .steps li:nth-child(3) .num { background: var(--orange); } .steps li:nth-child(4) .num { background: var(--violet); }
.steps b { display: block; font-size: 1.05rem; }
.steps small { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-img { max-width: 560px; } .split .btn { width: 100%; } }

/* Banner con foto */
.cta-band { position: relative; overflow: hidden; padding: clamp(4rem, 3rem + 5vw, 7rem) 0; color: #fff; background: var(--ink); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 36, 64, .95) 25%, rgba(10, 111, 184, .55)); }
.band-in { position: relative; text-align: center; }
.band-in h2 { max-width: 22ch; margin: 0 auto 1.75rem; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.band-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (max-width: 520px) { .band-btns .btn { flex: 1; } }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem 4rem; }
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh); border-color: #d3dfea; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.fq { position: relative; width: 14px; height: 14px; flex: none; }
.fq::before, .fq::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--orange); transition: transform .25s; }
.fq::after { transform: rotate(90deg); }
.faq details[open] .fq::after { transform: rotate(0); }
.faq p { padding: 0 1.25rem 1.1rem; color: var(--muted); }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { text-align: center; margin-inline: auto; } }

/* Cotizador */
.quote { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.q-form { padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.q-form fieldset { margin-bottom: 1.2rem; }
.q-form legend, .field label { display: block; margin-bottom: .5rem; font-weight: 700; font-size: .9rem; }
.opt-l { font-weight: 500; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.opt:hover span { border-color: var(--blue); }
.opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1rem; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--tint); font-size: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 111, 184, .14); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-error { margin-top: .3rem; color: #b91c1c; font-size: .85rem; font-weight: 600; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .5rem; }
.form-status { margin-top: .8rem; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; }
.form-status.is-error { background: #fdecec; color: #8a1c14; }
.form-status.is-info { background: #e8f4fc; color: #08466f; }
.q-preview { display: grid; place-items: center; }
.iphone { width: min(260px, 100%); aspect-ratio: 9 / 19; padding: 8px; border-radius: 42px; background: #1d1e22; box-shadow: 0 0 0 1px #45464b, 0 40px 70px -35px rgba(15, 36, 64, .55); }
.ip-screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 35px; overflow: hidden; background: #efeae2; }
.ip-island { position: absolute; top: 9px; left: 50%; z-index: 2; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.ip-status { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 12px 22px 0 26px; background: #f6f6f6; font-size: .72rem; font-weight: 700; }
.ip-icons { display: flex; align-items: flex-end; gap: 2px; }
.ip-icons i { width: 3px; background: #000; border-radius: 1px; } .ip-icons i:nth-child(1) { height: 5px; } .ip-icons i:nth-child(2) { height: 7px; } .ip-icons i:nth-child(3) { height: 9px; }
.ip-bat { width: 20px; height: 10px; margin-left: 4px; padding: 1px; border: 1.5px solid #555; border-radius: 3px; background: linear-gradient(90deg, #000 75%, transparent 75%) content-box; }
.wa-head { display: flex; align-items: center; gap: .5rem; padding: .35rem .7rem .5rem; background: #f6f6f6; border-bottom: 1px solid #e2e2e2; line-height: 1.15; font-size: .82rem; }
.wa-head small { display: block; color: #8a8a8e; font-size: .68rem; }
.wa-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e5e5e5; }
.wa-av svg { width: 70%; height: 70%; }
.wa-chat { flex: 1; display: flex; flex-direction: column; gap: .4rem; padding: .7rem .55rem; overflow: auto; scrollbar-width: none; }
.bub { max-width: 88%; padding: .4rem .55rem; border-radius: 9px; font-size: .74rem; line-height: 1.4; box-shadow: 0 1px .5px rgba(0, 0, 0, .12); word-break: break-word; }
.bub.in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.bub.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; }
.qp-msg { display: block; white-space: pre-wrap; }
.ticks { display: flex; justify-content: flex-end; color: #53bdeb; } .ticks .icon { width: 14px; height: 14px; }
.wa-input { display: flex; align-items: center; gap: .4rem; padding: .45rem .55rem .9rem; background: #f6f6f6; font-size: .72rem; color: #8a8a8e; }
.wa-input > span:first-child { flex: 1; padding: .35rem .7rem; border-radius: 999px; background: #fff; border: 1px solid #e2e2e2; }
.wa-send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wa); color: #fff; } .wa-send .icon { width: 14px; height: 14px; }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } .q-preview { display: none; } }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } .q-actions .btn-wa { width: 100%; } .q-actions { justify-content: center; } }

/* Pie */
.site-footer { padding: 3.5rem 0 1.5rem; background: var(--ink); color: #b8c7d6; font-size: .93rem; }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 2.5rem; }
.f-logo { display: block; padding: 10px 14px; border-radius: 12px; background: #fff; }
.f-logo img { width: 160px; height: auto; }
.f-cta { display: flex; align-items: center; gap: 1rem; }
.f-cta p { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.f-t { margin-bottom: .8rem; color: #fff; font-weight: 700; }
.f-grid ul:not(.social) { display: grid; gap: .5rem; }
.f-grid a { color: #c9d6e2; transition: color .2s; word-break: break-word; }
.f-grid a:hover { color: #fff; }
.f-social { margin-top: 1rem; }
.f-social a { color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
@media (max-width: 700px) {
  .f-top { flex-direction: column; align-items: flex-start; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-grid > div { grid-column: 1 / -1; }
  .f-bottom { flex-direction: column; padding-bottom: 4.5rem; }
}

/* Flotantes */
.floats { position: fixed; right: 16px; bottom: 16px; z-index: 90; }
.wa-float { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 20px -10px rgba(15, 36, 64, .6); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { width: 20px; height: 20px; }

/* Cookies */
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; width: min(460px, calc(100% - 32px)); padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -25px rgba(15, 36, 64, .5); animation: up .35s ease-out; }
.cookie-bar p { flex: 1; min-width: 180px; font-size: .88rem; color: var(--muted); }
.ck-btns { display: flex; gap: .5rem; margin-left: auto; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
.has-cookie-bar .to-top { display: none; }
@media (max-width: 520px) { .cookie-bar { left: 10px; right: 10px; width: auto; bottom: 10px; } .ck-btns { width: 100%; } .ck-btns .btn { flex: 1; } .has-cookie-bar .floats { bottom: 150px; } }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.ck-row small { display: block; color: var(--muted); font-size: .82rem; }
.switch { position: relative; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span:first-of-type { display: block; width: 44px; height: 26px; border-radius: 26px; background: #cbd6e0; transition: background-color .2s; }
.switch span:first-of-type::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Modales */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; background: rgba(15, 36, 64, .55); animation: fade .2s ease-out; }
.modal-box { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 2rem 1.6rem 1.6rem; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -30px rgba(15, 36, 64, .6); animation: rise .3s cubic-bezier(.2, .8, .2, 1); }
.modal-box.center { text-align: center; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.modal-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint); }
.modal-x .icon { width: 18px; height: 18px; }
.m-kick { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); }
.m-title { margin: .3rem 0 .5rem; padding-right: 2rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.center .m-title { padding: 0; }
.md-text, .mv-text { color: var(--muted); margin-bottom: 1.1rem; }
.md-steps, .mv-list { display: grid; gap: .45rem; margin-bottom: 1.25rem; counter-reset: m; }
.md-steps li, .mv-list li { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; background: var(--tint); font-weight: 600; font-size: .93rem; }
.md-steps li { counter-increment: m; }
.md-steps li::before { content: counter(m); display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 800; }
.mv-list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #e8f4fc; color: var(--blue); font-size: .75rem; font-weight: 800; }
.m-actions { display: grid; gap: .55rem; }
.m-actions.two { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.m-list { display: grid; gap: .7rem; margin: .75rem 0 1.25rem; color: var(--muted); font-size: .93rem; }
.m-list b { color: var(--ink); }
.m-iso { width: 56px; height: 56px; margin: 0 auto .5rem; }
.mw-list { display: grid; gap: .5rem; margin: 1rem 0 1.25rem; text-align: left; }
.mw-list a { display: flex; justify-content: space-between; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 700; transition: border-color .2s, color .2s; }
.mw-list a:hover { border-color: var(--c); color: var(--c); }
.mw-list a span { color: var(--c); }
.m-skip { margin-top: .9rem; color: var(--muted); font-size: .88rem; }

/* Aparición suave */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease-out, transform .55s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
