/* =========================================================
   Vigía Seguridad — instalación de cámaras (demo de Atom Tecnología)
   Paleta: azul noche, ámbar de alerta y gris claro; letras Space Grotesk e Inter
   ========================================================= */
:root {
    --night: #0b1324;
    --night-2: #121d35;
    --night-3: #1b2948;
    --amber: #ffb020;
    --amber-dark: #e89a00;
    --amber-soft: #fff4dc;
    --ink: #0f172a;
    --ink-soft: #55607a;
    --mist: #f3f5f9;
    --line: rgba(15, 23, 42, .1);
    --line-light: rgba(255, 255, 255, .12);
    --text-light: #b7c1d6;
    --rec: #ff3b3b;
    --ok: #16a34a;
    --whatsapp: #25d366;
    --error: #e5484d;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 12px -6px rgba(11, 19, 36, .22);
    --shadow: 0 28px 56px -28px rgba(11, 19, 36, .55);
    --nav-h: 76px;
    --font-title: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
    margin: 0; background: #fff; color: var(--ink);
    font-family: var(--font-body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; letter-spacing: -.025em; margin: 0; }
p, figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--amber); color: var(--night); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ===== Botones ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.45rem; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .97rem; line-height: 1.2; white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--night); }
.btn--amber:hover { background: var(--amber-dark); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--night-3); }
.btn--line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--text { padding: .5rem; background: none; border: 0; color: var(--ink-soft); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.btn--text:hover { color: var(--ink); transform: none; }
.btn--whatsapp { background: var(--whatsapp); color: #0b3d20; }
.btn--whatsapp:hover { background: #1fbe5b; }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--block { width: 100%; white-space: normal; }

.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: .8rem; }
.eyebrow::before { content: '● '; color: var(--rec); }

/* ===== Navegación ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.is-solid, .nav.is-menu-open { background: rgba(11, 19, 36, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-light); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: #fff; }
.logo__icon { width: 38px; height: 38px; padding: 7px; border-radius: 10px; background: var(--amber); color: var(--night); }
.logo__text { display: grid; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: -.02em; }
.logo__text small { font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; color: #dbe2f0; font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: var(--amber); }
.nav__toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== Portada ===== */
.hero {
    position: relative; padding: calc(var(--nav-h) + 3.5rem) 0 0; color: #fff; overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(255, 176, 32, .12), transparent 60%),
        linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light); font-size: .86rem; color: #dbe2f0; margin-bottom: 1.4rem; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .25); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); font-weight: 700; }
.hero h1 span { color: var(--amber); }
.hero__lead { margin: 1.4rem 0 2rem; font-size: 1.1rem; color: var(--text-light); max-width: 33rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; }
.hero__stats dt { font-family: var(--font-title); font-size: 1.7rem; font-weight: 700; }
.hero__stats dd { font-size: .86rem; color: var(--text-light); }

/* Vista de cámara (portada) */
.feed { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.feed img { width: 100%; height: auto; aspect-ratio: 4 / 3.2; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.feed::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 4px); }
.feed__hud { position: absolute; inset: 18px 22px auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; font-family: var(--font-mono); font-size: .8rem; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); z-index: 1; }
.feed__rec { display: inline-flex; align-items: center; gap: .4rem; }
.feed__rec::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2, start) infinite; }
.feed__clock { width: 100%; }
.feed__corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .8); z-index: 1; }
.feed__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.feed__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.feed__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.feed__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
@keyframes blink { to { visibility: hidden; } }

.trust { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 4rem; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line-light); color: #dbe2f0; font-weight: 500; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: .55rem; }
.trust .icon { color: var(--amber); }

/* ===== Secciones ===== */
.section { padding: 6rem 0; }
.section--soft { background: var(--mist); }
.section--dark { background: var(--night); color: #fff; }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.section__head > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.section__head--light > p:not(.eyebrow) { color: var(--text-light); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem 2rem; flex-wrap: wrap; }

/* ===== Paquetes ===== */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.package { position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.package--featured { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.package__flag { position: absolute; top: 14px; right: 14px; z-index: 1; padding: .3rem .75rem; border-radius: 999px; background: var(--amber); color: var(--night); font-size: .78rem; font-weight: 700; }
.package__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.package__body { padding: 1.6rem 1.6rem 1.4rem; }
.package__count { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }
.package__count strong { color: var(--amber-dark); font-size: 1rem; }
.package h3 { font-size: 1.7rem; margin-top: .3rem; }
.package__tagline { color: var(--ink-soft); font-size: .95rem; margin-top: .3rem; }
.package__price { margin-top: 1.2rem; font-family: var(--font-title); font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.package__price small { margin-left: .45rem; font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.package__fee { margin-top: .35rem; font-size: .88rem; color: var(--ink-soft); }
.package__features { display: grid; gap: .55rem; margin: 1.4rem 0 1.5rem; padding-top: 1.3rem; border-top: 1px dashed var(--line); font-size: .94rem; }
.package__features li { display: flex; gap: .55rem; align-items: flex-start; }
.package__features .icon { color: var(--ok); margin-top: 3px; }
.package__actions { display: grid; justify-items: center; gap: .3rem; }
.packages__note { margin-top: 1.6rem; text-align: center; color: var(--ink-soft); }

/* ===== Cotizador ===== */
.quote { display: grid; grid-template-columns: 1.45fr 1fr; gap: 2rem; align-items: start; }
.quote__options { display: grid; gap: 2rem; }
.q-group legend { margin-bottom: .9rem; font-family: var(--font-title); font-weight: 600; font-size: 1.2rem; }
.q-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.counter { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; gap: .9rem 1rem; align-items: center; padding: 1rem; border-radius: var(--radius-sm); background: var(--night-2); border: 1px solid var(--line-light); }
.counter img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.counter__text { display: grid; line-height: 1.3; }
.counter__text small { color: var(--text-light); font-size: .84rem; }
.stepper { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-radius: 10px; background: var(--night); border: 1px solid var(--line-light); }
.stepper button { width: 48px; height: 44px; border: 0; background: none; color: #fff; font-size: 1.3rem; }
.stepper button:hover:not(:disabled) { color: var(--amber); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; }
.q-hint { margin-top: .7rem; font-family: var(--font-mono); font-size: .8rem; color: var(--amber); }

.q-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.q-extras { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice { position: relative; display: flex; gap: .8rem; align-items: flex-start; padding: .95rem 1rem; border-radius: var(--radius-sm); background: var(--night-2); border: 1.5px solid var(--line-light); cursor: pointer; transition: border-color .2s, background .2s; }
.choice:hover { border-color: rgba(255, 176, 32, .5); }
.choice:has(input:checked) { border-color: var(--amber); background: rgba(255, 176, 32, .08); }
.choice input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--amber); flex-shrink: 0; }
.choice span { display: grid; line-height: 1.35; }
.choice strong { font-weight: 600; }
.choice small { color: var(--text-light); font-size: .84rem; }
.choice em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: .8rem; color: var(--amber); white-space: nowrap; }
.choice--compact span strong { font-family: var(--font-title); font-size: 1.15rem; }

.quote__summary { position: sticky; top: calc(var(--nav-h) + 16px); padding: 1.8rem; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.quote__summary h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.summary__lines { display: grid; gap: .55rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 1rem; }
.summary__lines span { color: var(--ink-soft); }
.summary__lines strong { font-weight: 600; white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0 .4rem; }
.summary__total span { font-weight: 600; }
.summary__total strong { font-family: var(--font-title); font-size: 2.2rem; letter-spacing: -.03em; }
.summary__record { display: flex; gap: .5rem; align-items: flex-start; padding: .7rem .85rem; border-radius: 10px; background: var(--amber-soft); font-size: .9rem; }
.summary__record .icon { margin-top: 3px; color: var(--amber-dark); }
.summary__pay { margin: .8rem 0 1.2rem; font-size: .88rem; color: var(--ink-soft); }

/* ===== Cómo funciona ===== */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.process__step { display: grid; gap: 1.2rem; align-content: start; }
.process__step img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.process__num { font-family: var(--font-mono); color: var(--amber-dark); font-size: .9rem; }
.process__step h3 { font-size: 1.4rem; margin: .3rem 0 .5rem; }
.process__step p { color: var(--ink-soft); }

/* ===== App ===== */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.app h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.6rem; }
.checks { display: grid; gap: .8rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; margin-top: 1px; }
.checks--light { margin-top: 1.6rem; color: #dbe2f0; }

.phone { justify-self: center; width: min(330px, 100%); padding: 12px; border-radius: 44px; background: #0a0f1c; box-shadow: var(--shadow), inset 0 0 0 2px #2a3550; }
.phone__screen { border-radius: 34px; overflow: hidden; background: var(--night-2); color: #fff; padding: 1.2rem .9rem 1rem; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; margin: .4rem .3rem 1rem; font-family: var(--font-title); font-weight: 600; }
.phone__live { font-family: var(--font-mono); font-size: .7rem; color: var(--rec); }
.phone__live::before { content: '● '; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phone__feed { position: relative; border-radius: 10px; overflow: hidden; }
.phone__feed img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: saturate(.8); }
.phone__feed span { position: absolute; left: 6px; bottom: 5px; font-family: var(--font-mono); font-size: .66rem; text-shadow: 0 1px 3px #000; }
.phone__alert { display: flex; gap: .7rem; align-items: center; margin-top: .9rem; padding: .75rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: .85rem; }
.phone__alert .icon { color: var(--amber); }
.phone__alert span { display: grid; line-height: 1.3; }
.phone__alert small { color: var(--text-light); }

/* ===== Trabajos ===== */
.filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter__btn { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.filter__btn:hover { border-color: var(--night); }
.filter__btn.is-active { background: var(--night); color: #fff; border-color: var(--night); }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.job { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); animation: fade-in .4s ease; }
.job img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; opacity: .92; transition: transform .5s; }
.job:hover img { transform: scale(1.05); }
.job__info { position: absolute; inset: auto 0 0; padding: 3rem 1.2rem 1.1rem; background: linear-gradient(180deg, transparent, rgba(11, 19, 36, .92)); color: #fff; }
.job__tag { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); }
.job h3 { font-size: 1.15rem; margin: .2rem 0; }
.job p { font-size: .88rem; color: var(--text-light); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }

/* ===== Garantía y cobertura ===== */
.guarantee { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.guarantee h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 2rem; }
.guarantee__list { display: grid; gap: 1.4rem; }
.guarantee__list li { display: flex; gap: 1rem; }
.guarantee__list .icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--night); color: var(--amber); }
.guarantee__list h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.guarantee__list p { color: var(--ink-soft); }
.coverage { padding: 2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.coverage h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.coverage select { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.coverage__result { margin-top: .8rem; font-weight: 600; min-height: 1.6em; }
.coverage__result.is-ok { color: var(--ok); }
.coverage__list { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); font-size: .9rem; }
.coverage__list li { display: flex; gap: .4rem; align-items: center; }
.coverage__list .icon { color: var(--ok); }
.coverage__list .is-extra .icon { color: var(--amber-dark); }

/* ===== Visita técnica ===== */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.visit__intro h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.visit__intro > p:not(.eyebrow) { margin-top: 1rem; color: var(--text-light); font-size: 1.05rem; }
.visit__form { display: grid; gap: 1.1rem; padding: 2rem; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.quote-chip { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: 10px; background: var(--amber-soft); font-size: .9rem; font-weight: 500; }
.quote-chip > .icon { color: var(--ok); }
.quote-chip span { flex: 1; }
.quote-chip button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .92rem; margin-bottom: .1rem; }
.field input, .field select { width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(255, 176, 32, .35); }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: block; padding: .55rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; font-size: .92rem; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.seg__opt input:checked + span { border-color: var(--night); background: var(--night); color: #fff; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-error { color: var(--error); font-weight: 600; font-size: .92rem; }
.form-error:empty { display: none; }

/* ===== Pie y franja demo ===== */
.footer { background: #070d1a; color: #8d98b0; padding: 2.4rem 0; font-size: .92rem; border-top: 1px solid var(--line-light); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.demo-strip { padding: .9rem 0 6.5rem; background: #04080f; color: #c9d1d9; font-size: .88rem; }
.demo-strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.demo-strip a { color: #3ddc97; font-weight: 600; }
.demo-strip__cta { padding: .4rem .9rem; border: 1px solid rgba(61, 220, 151, .45); border-radius: 999px; }

/* ===== Botón flotante ===== */
.visit-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem;
    padding: .9rem 1.3rem; border-radius: 14px; background: var(--amber); color: var(--night); font-weight: 700;
    box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s;
}
.visit-fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ===== Aparición al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .quote { grid-template-columns: 1fr; }
    .quote__summary { position: static; }
    .packages { gap: 1rem; }
    .package__body { padding: 1.3rem 1.2rem 1.2rem; }
}

@media (max-width: 960px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        padding: .6rem 20px 1.4rem; background: rgba(11, 19, 36, .98);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line-light); }
    .nav__links .btn { margin-top: 1rem; }

    .hero__inner { grid-template-columns: 1fr; gap: 2.6rem; }
    .trust { justify-content: flex-start; }
    .process { grid-template-columns: 1fr; }
    .process__step { grid-template-columns: 220px 1fr; align-items: center; }
    .app, .guarantee, .visit { grid-template-columns: 1fr; }
    .jobs { grid-template-columns: 1fr 1fr; }
    .packages { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .package--featured { order: -1; }
}

@media (max-width: 700px) {
    .q-counters, .q-extras { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .section { padding: 4.2rem 0; }
    .hero { padding-top: calc(var(--nav-h) + 2rem); }
    .hero__stats { gap: 1.4rem; }
    .hero__stats dt { font-size: 1.35rem; }
    .feed__hud { inset: 14px 16px auto; font-size: .7rem; }
    .trust { gap: .7rem 1.4rem; font-size: .88rem; margin-top: 3rem; }
    .process__step { grid-template-columns: 1fr; }
    .jobs { grid-template-columns: 1fr; }
    .coverage, .visit__form, .quote__summary { padding: 1.4rem; }
    .coverage__list { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer__inner, .demo-strip__inner { flex-direction: column; text-align: center; }
    .visit-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}

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