/* ===== Tokens: violeta y oscuro del logo, con lima como acento propio ===== */
:root {
  --primary: #5B2EFF;
  --primary-dark: #4A1FE0;
  --lime: #C8F031;
  --soft: #F1EEFF;
  --ink: #1C1236;
  --text: #2E2748;
  --line: #D8D2EE;
  --bg: #FFFFFF;
  --ok: #0B7A53;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); text-wrap: balance; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1280px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.hero :focus-visible, .section--violet :focus-visible, .demo :focus-visible, .footer :focus-visible { outline-color: var(--lime); }

/* ===== Botones: rectos y con las flechas del logo ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; text-align: center;
  padding: .95em 1.5em; border: 0; border-radius: 0; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.btn::after { content: "»"; font-size: 1.25em; line-height: 1; transition: transform .2s; }
.btn:hover::after { transform: translateX(5px); }
.btn:active { transform: translateY(2px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--ink); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--primary); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: .65em 1.05em; font-size: .9rem; }
.btn--lg { padding: 1.1em 1.8em; font-size: 1.08rem; }
.btn--block { width: 100%; }
.link { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

/* ===== Logo y navegación ===== */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo img { width: auto; height: 50px; }

.nav { position: sticky; top: 0; z-index: 50; background: #fff; }
.nav__pill { position: relative; width: min(1280px, 100% - 40px); margin-inline: auto; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--primary); }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

/* ===== Portada ===== */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); background: var(--primary); color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.75vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: clamp(28px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; margin-bottom: 28px; }
.hero__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; }
.hero__links a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.hero__links a:hover { color: var(--lime); }

/* Ventana del logo: se usa en la portada y para enseñar trabajos */
.win { display: block; border-radius: 16px; overflow: hidden; background: var(--ink); }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--ink); color: #D9D3F0; font-size: .82rem; }
.win__bar i { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: .75; }
.win__bar > span { margin-left: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.live__controls { margin-bottom: 14px; }
.live__controls > label { display: block; margin-bottom: 8px; font-weight: 700; }
.live__controls input[type=text] { display: block; width: 100%; padding: 14px 16px; border: 0; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 600; }
.live__controls input[type=text]::placeholder { color: #6A6385; font-weight: 400; }
.live__sectors { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; border: 0; }
.live__sectors label { cursor: pointer; }
.live__sectors input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.live__sectors span { display: block; padding: 9px 13px; background: var(--primary-dark); color: #fff; font-size: .88rem; font-weight: 600; transition: background .2s, color .2s; }
.live__sectors label:hover span { background: var(--ink); }
.live__sectors input:checked + span { background: var(--lime); color: var(--ink); }
.live__sectors input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.live__note { margin: 10px 0 0; font-size: .88rem; }

.site { --site: #C2410C; padding: 18px 22px 24px; background: #fff; color: var(--ink); }
.site__nav { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font-size: .84rem; }
.site__nav b { margin-right: auto; color: var(--site); font-size: 1rem; overflow-wrap: anywhere; transition: color .25s; }
.site__body { display: grid; grid-template-columns: 1fr 112px; gap: 20px; align-items: center; }
.site__title { margin: 0 0 8px; font-size: clamp(1.35rem, 2.3vw, 1.95rem); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; overflow-wrap: anywhere; }
.site__text { margin: 0 0 14px; font-size: .9rem; }
.site__btn { display: inline-block; padding: 9px 15px; background: var(--site); color: #fff; font-size: .86rem; font-weight: 700; transition: background .25s; }
.site__mono { display: grid; place-items: center; aspect-ratio: 1; background: var(--site); color: #fff; font-size: 3.6rem; font-weight: 800; line-height: 1; transition: background .25s; }
.is-changing .site__title, .is-changing .site__mono { animation: swap .3s ease; }
@keyframes swap { from { opacity: .2; transform: translateY(6px); } }

/* Franja en movimiento */
.ticker { display: flex; overflow: hidden; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; }
.ticker ul { flex-shrink: 0; min-width: 100%; display: flex; justify-content: space-around; gap: 36px; padding: 14px 18px; animation: ticker 28s linear infinite; }
.ticker li { white-space: nowrap; }
.ticker li::before { content: "»"; margin-right: 10px; color: var(--lime); font-weight: 700; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ===== Secciones ===== */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--soft { background: var(--soft); }
.section--lime { background: var(--lime); }
.section--violet { background: var(--primary); color: #fff; }
.section--violet h2 { color: #fff; }
.section__head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin: 0; }
.section__note { margin: 40px 0 0; font-size: 1.05rem; }
.ticks li { position: relative; padding: 5px 0 5px 26px; }
.ticks li::before { content: "»"; position: absolute; left: 2px; color: var(--primary); font-weight: 700; }

/* Proceso: una cadena de pasos unidos por las flechas */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step::before { content: "»"; display: block; margin-bottom: 14px; font-size: 4rem; font-weight: 800; line-height: .8; color: var(--ink); transition: transform .25s; }
.step:hover::before { transform: translateX(10px); }
.step h3 { font-size: 1.45rem; }
.step p { margin: 0; color: var(--ink); }
.center__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 56px; }
.promise { margin: 0; font-weight: 700; color: var(--ink); }

/* Servicios: filas alternas, cada una con su ventana */
.service { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.service + .service { margin-top: clamp(64px, 8vw, 112px); }
.service--flip > .win { order: 2; }
.service img { width: 100%; }
.service h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; }
.service__body > p { font-size: 1.05rem; }
.service__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.price { font-size: 1rem; color: var(--ink); margin-right: 8px; }
.price strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }

.art-landing { padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px); background: var(--lime); color: var(--ink); }
.art-landing p { margin: 0 0 18px; }
.art-landing .art-landing__title { margin-bottom: 6px; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.art-landing__field, .art-landing__btn { display: block; padding: 13px 16px; }
.art-landing__field { margin-bottom: 8px; background: #fff; }
.art-landing__btn { background: var(--ink); color: #fff; font-weight: 700; }

.art-flow { display: flex; flex-direction: column; gap: 34px; padding: clamp(28px, 5vw, 56px); background: var(--ink); border-radius: 16px; }
.node { position: relative; padding: 18px 20px; background: #fff; color: var(--ink); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 700; }
.node:nth-child(2) { margin-left: 8%; }
.node:nth-child(3) { margin-left: 16%; }
.node:not(:last-child)::after { content: "»"; position: absolute; left: 22px; bottom: -32px; transform: rotate(90deg); color: var(--lime); font-size: 1.5rem; line-height: 1; }
.node--on { background: var(--lime); }

/* Sectores: lista grande, sin tarjetas */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sector { padding: 28px; background: #fff; transition: background .25s, color .25s; }
.sector h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.035em; transition: color .25s; }
.sector p { margin: 0; }
.sector:hover { background: var(--ink); color: #fff; }
.sector:hover h3 { color: var(--lime); }
.sector:hover .link { color: var(--lime); }

/* Demo */
.demo { padding: clamp(72px, 10vw, 136px) 0; background: var(--ink); color: #EFEBFF; }
.demo h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.demo__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo__steps { margin: 22px 0; }
.demo__steps li { position: relative; padding: 7px 0 7px 28px; color: #B9B2D6; transition: color .3s; }
.demo__steps li::before { content: "»"; position: absolute; left: 2px; color: #6E6494; font-weight: 700; transition: color .3s; }
.demo__steps li.is-on { color: #fff; font-weight: 600; }
.demo__steps li.is-on::before { color: var(--lime); }
.demo__note { font-size: .92rem; color: #D9D3F0; }
.demo__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.demo__web { padding: 24px; background: #fff; color: var(--text); }
.demo__web h3 { font-size: 1.15rem; }
.demo__web ul { margin-bottom: 18px; font-size: .92rem; }
.demo__web li { padding: 4px 0; }
.demo__web .btn[disabled] { background: #0B7A53; cursor: default; transform: none; }
.demo__web .btn[disabled]::after { display: none; }
.demo__reset { display: block; margin: 12px auto 0; padding: 8px 12px; background: none; border: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.demo__reset[hidden] { display: none; }
.demo__phone { padding: 10px; background: #0C0720; border-radius: 30px; }
.demo__chat { margin: 0; padding: 10px 14px; background: var(--primary); border-radius: 22px 22px 0 0; color: #fff; font-weight: 600; font-size: .9rem; text-align: center; }
.demo__screen { min-height: 340px; padding: 12px; background: var(--soft); border-radius: 0 0 22px 22px; color: var(--ink); font-size: .86rem; }
.demo__wait { margin: 120px 0 0; text-align: center; color: var(--text); }
.demo__wait[hidden], .demo__msg[hidden], .demo__wa[hidden], .demo__actions[hidden] { display: none; }
.demo__msg, .demo__wa { padding: 12px; background: #fff; border-radius: 14px; animation: pop .35s ease; }
.demo__msg strong, .demo__msg span { display: block; }
.demo__msg strong { margin-bottom: 4px; }
.demo__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.demo__actions button { min-height: 44px; border: 0; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; transition: filter .2s; }
.demo__actions button:hover { filter: brightness(1.1); }
.demo__yes { background: #0B7A53; color: #fff; }
.demo__no { background: var(--soft); color: #A32640; }
.demo__status { margin-top: 8px; font-weight: 600; }
.demo__wa { margin-top: 10px; background: #D9F7E3; }
.demo__wa small { display: block; margin-bottom: 4px; color: #0B5F33; font-weight: 600; }
.demo__wa p { margin: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }

/* Proyecto */
.project { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.project__shots { position: relative; display: block; padding: 0 56px 40px 0; text-decoration: none; }
.project__shots img { transition: transform .5s ease; }
.project__shots:hover .win img { transform: scale(1.02); }
.shot-phone { position: absolute; right: 0; bottom: 0; width: 25%; border: 7px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--ink); }
.project h3 { margin-bottom: 4px; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.04em; }
.project__sector { font-weight: 700; color: var(--primary); }
.project .ticks { margin-bottom: 26px; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text p:last-of-type { margin-bottom: 28px; }
.about__text p { font-size: 1.05rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.compare__col { padding: 28px 24px; background: var(--primary-dark); color: #fff; }
.compare__col h3 { color: #fff; }
.compare__col li { position: relative; padding: 7px 0 7px 24px; font-size: .94rem; }
.compare__col li::before { content: "×"; position: absolute; left: 2px; font-weight: 700; color: #DCD3FF; }
.compare__col--good { background: var(--ink); }
.compare__col--good h3 { color: var(--lime); }
.compare__col--good li::before { content: "»"; color: var(--lime); }

/* Preguntas */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__grid .section__head { margin-bottom: 0; }
.faq__grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq__grid .section__head p { margin-top: 12px; }
.faq details { background: var(--soft); margin-bottom: 4px; transition: background .2s; }
.faq summary { position: relative; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "»"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(90deg); color: var(--primary); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.faq details p { padding: 0 22px 22px; margin: 0; }

/* Contacto */
.contact { padding: clamp(72px, 10vw, 136px) 0; background: var(--lime); color: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.contact__text > p { font-size: 1.1rem; }
.contact .ticks { margin-bottom: 28px; font-weight: 600; }
.contact .ticks li::before { color: var(--ink); }
.contact__alt { display: flex; flex-wrap: wrap; gap: 8px; }
.form { padding: clamp(24px, 3vw, 40px); background: #fff; }
.form h3 { font-size: 1.5rem; }
.form label { display: block; margin-bottom: 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 0; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); }
.form .is-invalid { border-color: #C2334D !important; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 6px 0 20px; }
.form .check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--primary); }
.form__status { margin: 10px 0 0; text-align: center; font-weight: 600; font-size: .92rem; }
.form__status:empty { display: none; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: #C2334D; }

/* Pie: el nombre vuelve a todo el ancho */
.footer { padding: 64px 0 0; background: var(--ink); color: #D9D3F0; font-size: .92rem; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.7fr 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer__brand p { max-width: 320px; margin: 0 0 18px; font-size: 1.05rem; color: #fff; }
.footer h3 { margin-bottom: 12px; color: #fff; font-size: .98rem; letter-spacing: 0; }
.footer li { padding: 3px 0; }
.footer a:not(.btn) { text-decoration: none; }
.footer li a:hover { color: var(--lime); text-decoration: underline; }
.footer__copy { margin: 0 0 18px; font-size: .85rem; }
.footer__name { margin: 0; padding-bottom: .1em; color: var(--primary); font-size: 21.5vw; line-height: .86; letter-spacing: -.05em; text-align: center; white-space: nowrap; }
.footer__name span { font-weight: 300; }
.footer__name b { font-weight: 700; }

/* Botones flotantes */
.whatsapp-float, .chat-open { position: fixed; right: 20px; z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 15px; color: #fff; cursor: pointer; transition: transform .2s; }
.whatsapp-float { bottom: 20px; background: #128C4A; }
.chat-open { bottom: 84px; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.whatsapp-float { box-shadow: 0 0 0 2px #fff; }
.whatsapp-float:hover, .chat-open:hover { transform: translateY(-3px); }

/* Asistente */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(390px, 100vw - 32px); height: min(580px, 100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(28, 18, 54, .55); }
.chat[hidden] { display: none; }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 14px 20px; background: var(--ink); color: #fff; }
.chat__head h2 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.chat__head p { margin: 0; font-size: .8rem; color: #D9D3F0; }
.chat__close { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat__log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; background: var(--soft); }
.chat__msg { max-width: 88%; margin: 0; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-line; }
.chat__msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 3px; }
.chat__msg--user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 3px; overflow-wrap: anywhere; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__chips button, .chat__chips a { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 12px; border: 2px solid var(--primary); background: #fff; color: var(--primary); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.chat__chips button:hover, .chat__chips a:hover { background: var(--primary); color: #fff; }
.chat__chips .is-action { background: var(--primary); color: #fff; }
.chat__form { display: flex; gap: 8px; padding: 12px; background: #fff; }
.chat__form input { flex: 1; min-width: 0; padding: 10px 14px; border: 2px solid var(--line); border-radius: 0; font: inherit; font-size: 1rem; color: var(--ink); }
.chat__form input:focus { outline: none; border-color: var(--primary); }
.chat__form button { flex-shrink: 0; width: 46px; height: 46px; border: 0; background: var(--primary); color: #fff; font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer; }

/* Páginas legales */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.8rem; margin-top: 44px; }
.legal h3 { margin-top: 24px; }
.legal li { list-style: disc; margin: 4px 0 4px 20px; }
.container--narrow { width: min(820px, 100% - 40px); }
.notfound { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0; text-align: center; }
.notfound h1 { margin-top: 32px; }
.pending { padding: 0 .3em; background: #FFF1B8; color: #5C4600; font-weight: 600; }

/* Aparición al hacer scroll (sin JavaScript todo se ve) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .sectors .reveal:nth-child(3n+2) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .sectors .reveal:nth-child(3n) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .demo__msg, .demo__wa, .is-changing .site__title, .is-changing .site__mono { animation: none; }
  .ticker { flex-wrap: wrap; }
  .ticker ul { animation: none; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
  .ticker ul[aria-hidden] { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .nav__toggle { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__links { display: none; position: absolute; top: 100%; left: -20px; right: -20px; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 16px; background: #fff; box-shadow: 0 18px 30px -18px rgba(28, 18, 54, .5); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .75em 0; font-size: 1.05rem; }
}
@media (max-width: 1060px) {
  .hero__grid, .service, .project, .about, .contact__grid, .demo__grid, .faq__grid { grid-template-columns: 1fr; }
  .service--flip > .win { order: 0; }
  .steps, .sectors { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .demo__stage, .compare, .form__row { grid-template-columns: 1fr; }
  .demo__phone { width: min(320px, 100%); margin-inline: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .project__shots { padding: 0 26px 24px 0; }
  .contact__alt .btn { width: 100%; }
  .footer__copy { padding-right: 88px; }
}
@media (max-width: 520px) {
  .container, .nav__pill, .container--narrow { width: calc(100% - 32px); }
  .nav__links { left: -16px; right: -16px; padding-inline: 16px; }
  .nav__cta { display: none; }
  .hero .btn--lg { width: 100%; }
  .steps, .sectors { grid-template-columns: 1fr; }
  .site__body { grid-template-columns: 1fr 64px; gap: 12px; }
  .site__mono { font-size: 2.1rem; }
  .sector { padding: 22px; }
  .art-flow { gap: 30px; }
  .node:nth-child(2), .node:nth-child(3) { margin-left: 0; }
}
