/* NovaAgencyTEC — landing. Marca: negro y naranja #E1691E.
   Poco texto y mucha imagen: cada sección es un título, tarjetas con imagen real y una línea.
   Orden: hero → qué hacemos (+ sistema operativo con IA) → lo que hicimos → resultados → Nova Local → cómo → preguntas → contacto. */

:root {
  --black: #000;
  --ink: #141414;
  --line-dark: #262626;
  --muted-dark: #9a9a9a;
  --white: #fff;
  --line-light: #e4e4e4;
  --muted-light: #5c5c5c;
  --body-light: #3d3d3d;
  --orange: #e1691e;
  --orange-ink: #b4490c;
  --nl-bg: #0f0f10;
  --wa: #1fa855;
  --r: 14px;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --edge: max(var(--pad), calc((100% - var(--max)) / 2));
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --num: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
svg { user-select: none; -webkit-user-select: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Botones y links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; border: 0; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-wa, .btn-orange { background: var(--orange); color: var(--black); }
.btn-wa:hover, .btn-orange:hover { background: #f07a2c; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 0 26px; font-size: 18px; }
.wa-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--orange); }
.link:hover { color: var(--orange); }

.sec-title { font-size: clamp(36px, 5vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: clamp(28px, 4vw, 48px); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 999px; font-size: 13px; background: #f1f1f1; color: var(--ink); }
.tags-dark li { background: #1f1f21; color: #e6e6e6; border: 1px solid #333; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px; height: 68px; padding: 0 var(--edge); background: rgba(0,0,0,.92); border-bottom: 1px solid var(--line-dark); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand span { font: 700 21px/1 var(--display); letter-spacing: -.03em; }
.brand b { font-weight: 500; color: #cfcfcf; }
.brand sup { font: 600 10px/1 var(--text); letter-spacing: .04em; color: var(--orange); margin-left: 2px; vertical-align: 10px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { color: #cfcfcf; text-decoration: none; font-size: 15px; font-weight: 500; }
.top-nav a:hover { color: var(--white); }

/* ---------- 1. Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 4.5vw, 72px); min-height: min(calc(100svh - 68px), 820px); padding: clamp(40px, 6vh, 72px) var(--edge) clamp(56px, 8vh, 88px); }
.hero-who { color: var(--muted-dark); font-size: 16px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 70px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.hero-sub { margin-top: 20px; max-width: 28em; font-size: 19px; color: #d4d4d4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

.hero-board { position: relative; aspect-ratio: 1.18; width: 100%; }
.hb { position: absolute; border-radius: 12px; overflow: hidden; background: #111; border: 1px solid #2c2c2c; box-shadow: 0 24px 50px -24px rgba(0,0,0,.95); }
.hb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hb figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: var(--black); font: 600 13px/1.3 var(--text); }
.hb-system { top: 0; right: 0; width: 80%; aspect-ratio: 1.6; }
.hb-store { left: 0; bottom: 4%; width: 54%; aspect-ratio: 2; }
.hb-bot { right: 3%; bottom: 0; width: 31%; aspect-ratio: .62; border-radius: 20px; border: 5px solid #1d1d1d; background: #0b141a; }
.mini-chat { display: grid; gap: 6px; padding: 44px 8px 10px; align-content: start; height: 100%; }
.mini-chat .msg { font-size: clamp(10px, .85vw, 13px); max-width: 92%; padding: 5px 8px; }

.js .hero [data-in] { opacity: 0; transform: translateY(16px); }
.js .hero.is-in [data-in] { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .hero.is-in [data-in="2"] { transition-delay: .08s; }
.js .hero.is-in [data-in="3"] { transition-delay: .18s; }
.js .hero.is-in [data-in="4"] { transition-delay: .28s; }
.js .hero .hb-store, .js .hero .hb-bot { opacity: 0; transform: translateY(24px); }
.js .hero.is-in .hb-store { opacity: 1; transform: none; transition: opacity .6s .45s, transform .8s .45s cubic-bezier(.2,.7,.2,1); }
.js .hero.is-in .hb-bot { opacity: 1; transform: none; transition: opacity .6s .65s, transform .8s .65s cubic-bezier(.2,.7,.2,1); }

/* Burbujas de WhatsApp (hero y tarjetas) */
.msg { max-width: 86%; padding: 7px 10px 8px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: #e9edef; }
.msg.in { background: #202c33; justify-self: start; border-top-left-radius: 2px; }
.msg.out { background: #005c4b; justify-self: end; border-top-right-radius: 2px; }

/* ---------- Tarjetas con imagen (qué hacemos y lo que hicimos) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card h3 { margin-top: 16px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.card > p { margin-top: 6px; font-size: 15px; line-height: 1.45; }
.card .tags { margin-top: 12px; }
.card-img { aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: #111; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.card-chat { display: grid; align-content: center; gap: 6px; padding: 14px; background: #0b141a; }
.card-chat { position: relative; }
.card-chat .msg { font-size: 13px; }
.eg { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #8696a0; }

/* Lo que hicimos: Right y Calabrese ocupan más, no cuatro tarjetas iguales */
.cards-work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-work .card-wide { grid-column: span 2; }
.cards-work .card-wide .card-img { aspect-ratio: 32 / 11; }
/* Ruleta de FromNorth, en SVG: termina con el puntero sobre "Producto gratis" */
.card-wheel { position: relative; display: grid; place-items: center; background: #161618; }
.roulette { position: absolute; left: 0; right: 0; top: 5%; height: 82%; width: 100%; overflow: visible; }
.w-lab { font: 800 15px/1 var(--num); letter-spacing: .04em; }
.w-hub { font: 800 15px/1 var(--num); letter-spacing: .08em; fill: #fff; }
.wheel-spin { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(202.5deg); }
.bulb { fill: #ffd9b8; }
.bulb.b2 { fill: #6b4a33; }
.pointer { transform-box: view-box; transform-origin: 200px 6px; }
.wheel-rule { position: absolute; left: 10px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--black); font: 600 12px/1.3 var(--text); }
.js .roulette .wheel-spin { transform: rotate(0deg); }
.js .seen .roulette .wheel-spin { transform: rotate(1282.5deg); transition: transform 4.2s cubic-bezier(.15,.75,.2,1); }
.js .seen .roulette .pointer { animation: tick .18s ease-in-out 18 alternate, settle .5s 4.1s ease-out 1; }
.js .seen .roulette .bulb { animation: blink .5s steps(1) 9 alternate; }
.js .seen .roulette .bulb.b2 { animation-delay: .25s; }
@keyframes tick { to { transform: rotate(-12deg); } }
@keyframes settle { 0% { transform: rotate(-8deg); } 60% { transform: rotate(4deg); } 100% { transform: none; } }
@keyframes blink { 0% { fill: #ffd9b8; } 50% { fill: #6b4a33; } }

/* Aviso de que las filas se deslizan (solo celu) */
.swipe-ui { display: none; }

/* ---------- 2. Qué hacemos (blanco) ---------- */
.what { background: var(--white); color: var(--ink); padding: clamp(64px, 9vw, 120px) var(--edge); }
.what .card > p { color: var(--muted-light); }
.what .card-img { border: 1px solid var(--line-light); }

/* Sistema operativo con IA */
.aios { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--ink); color: var(--white); border-radius: 18px; padding: clamp(28px, 4.5vw, 56px); }
.aios-kicker { font-size: 15px; font-weight: 600; color: var(--orange); margin-bottom: 10px; }
.aios h3 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.aios-copy > p:not(.aios-kicker) { margin-top: 16px; color: #d4d4d4; font-size: 18px; max-width: 26em; }
.aios-copy .btn { margin-top: 26px; }
.aios-map { display: grid; grid-template-columns: auto minmax(36px, 1fr) minmax(0, 1.15fr); align-items: center; }
.aios-sources { display: grid; grid-template-rows: repeat(6, 1fr); height: 300px; align-items: center; }
.aios-sources li { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 7px 14px 7px 10px; border-radius: 999px; background: #232325; border: 1px solid #38383b; font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; }
.aios-sources img { height: 20px; width: auto; flex: none; }
.aios-lines { width: 100%; height: 300px; overflow: visible; }
.aios-lines path { fill: none; stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .75; }
.js .aios-map .aios-lines path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.js .aios-map.seen .aios-lines path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1); }
.aios-panel { background: #fff; color: var(--ink); border-radius: 12px; padding: 18px 20px; }
.aios-panel-title { font: 800 19px/1.2 var(--display); letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 2px solid var(--orange); }
.aios-panel li { padding: 10px 0 0; font-size: 14px; font-weight: 500; }
.aios-panel li i { display: block; height: 8px; margin-top: 6px; border-radius: 4px; background: var(--orange); width: var(--w); transform-origin: left; }
.aios-panel li:nth-child(2) i { background: var(--ink); }
.aios-panel li:nth-child(3) i { background: #bdbdbd; }
.js .aios-map .aios-panel li i { transform: scaleX(0); }
.js .aios-map.seen .aios-panel li i { transform: scaleX(1); transition: transform 1s .9s cubic-bezier(.2,.7,.2,1); }
.aios-ask { margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: #f3f3f3; font-size: 14px; color: var(--body-light); }

/* ---------- 3. Lo que hicimos (negro) ---------- */
.work { padding: clamp(64px, 9vw, 120px) var(--edge); }
.work .card > p { color: #bdbdbd; }

/* ---------- 4. Resultados (blanco) ---------- */
.results { background: var(--white); color: var(--ink); padding: clamp(64px, 9vw, 120px) var(--edge); }
.res-bot { background: var(--ink); color: var(--white); border-radius: 18px; padding: clamp(24px, 3.5vw, 40px); }
.res-bot-head { font-size: 16px; color: #bdbdbd; }
.res-bot-head b { display: block; font: 800 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; color: var(--white); margin-bottom: 4px; }
.res-bot-nums { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.res-bot-nums li { border-top: 3px solid var(--orange); padding-top: 12px; }
.res-bot-nums b, .res-grid b { display: flex; align-items: baseline; gap: 6px; font: 700 clamp(40px, 4.6vw, 64px)/1 var(--num); letter-spacing: .005em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res-bot-nums .cur { font-size: .45em; color: var(--orange); }
.res-grid { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.res-grid li { border-top: 3px solid var(--ink); padding-top: 14px; }
.res-grid .cur { font-size: .45em; color: var(--orange-ink); }
.res-grid p { margin-top: 8px; font-size: 15px; color: var(--body-light); }

.quotes { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.quote { background: #f6f6f6; border-radius: var(--r); padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.quote blockquote { font: 600 17px/1.45 var(--display); letter-spacing: -.01em; color: var(--ink); }
.quote figcaption { font-size: 14px; font-weight: 600; color: var(--orange-ink); }

/* ---------- 5. Nova Local (identidad propia: la de su web y su app) ---------- */
.local { background: var(--nl-bg); color: var(--white); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: center; padding: clamp(64px, 9vw, 120px) var(--edge); border-top: 1px solid #222; }
.local > * { min-width: 0; }
.nl-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.nl-mark img { border-radius: 10px; }
.nl-mark span { font: 800 24px/1 "Archivo", var(--display); letter-spacing: .04em; color: var(--white); }
.nl-mark b { color: var(--orange); font-weight: 800; }
.local h2 { font: 800 clamp(34px, 4vw, 56px)/1.04 "Archivo", var(--display); letter-spacing: -.03em; }
.nl-serif { margin-top: 14px; font: italic 400 clamp(26px, 2.8vw, 38px)/1.15 "Instrument Serif", Georgia, serif; color: var(--orange); }
.local .tags { margin-top: 24px; }
.local-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.local-shot { position: relative; padding: 0 0 40px 48px; }
.ls-desk { border-radius: 12px; border: 1px solid #2c2c2e; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.ls-phone { position: absolute; left: 0; bottom: 0; width: 26%; border-radius: 18px; border: 5px solid #232325; box-shadow: 0 20px 40px -12px rgba(0,0,0,.9); }

/* ---------- 6. Cómo trabajamos + preguntas (blanco) ---------- */
.steps, .faq { background: var(--white); color: var(--ink); padding-left: var(--edge); padding-right: var(--edge); }
.steps { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(32px, 4vw, 56px); }
.steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font: 700 40px/1 var(--num); color: var(--orange-ink); margin-bottom: 8px; }
.steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.steps p { margin-top: 4px; color: var(--muted-light); font-size: 15px; }

.faq { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(64px, 9vw, 120px); }
.faq h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.faq-list { max-width: 880px; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 600 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--text); color: var(--orange-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--body-light); max-width: 44em; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(64px, 9vw, 128px) var(--edge); }
.contact h2 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.contact-copy > p { margin-top: 18px; font-size: 18px; color: #d4d4d4; }
.contact-copy .btn { margin-top: 28px; }
.contact-copy > .contact-alt { font-size: 15px; color: var(--muted-dark); }
.contact-alt a { color: var(--white); }
.contact-form { display: grid; gap: 14px; background: #111; border: 1px solid var(--line-dark); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.form-note { font-size: 15px; color: var(--muted-dark); }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: #d4d4d4; }
.opt { color: #7d7d7d; font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 400 16px/1.4 var(--text); color: var(--white); background: #000; border: 1px solid #333; border-radius: 10px; padding: 12px 14px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }
.contact-form [aria-invalid="true"] { border-color: #e5484d; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 32px var(--edge) 40px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 14px; }
.foot .brand span { font-size: 17px; }
.foot p:last-child { margin-left: auto; display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot p a:hover { color: var(--white); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .top-nav { gap: 20px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-work .card-wide { grid-column: span 2; }
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .top { height: 60px; gap: 16px; }
  .top-nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  html { scroll-padding-top: 68px; }

  /* Hero: texto, botón y una sola imagen limpia */
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 36px; padding-top: 36px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-board { aspect-ratio: 1.3; }
  .hb-store { display: none; }
  .hb-system { width: 100%; }
  .hb-bot { width: 36%; right: 4%; }
  .hb figcaption { font-size: 11px; padding: 3px 8px; left: 6px; top: 6px; }
  .mini-chat { padding-top: 30px; }

  /* Tarjetas: fila que se desliza con el dedo, para que la página no sea eterna */
  .cards { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .swipe-ui { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
  .swipe-hint { font-size: 13px; font-weight: 600; color: var(--muted-light); display: inline-flex; align-items: center; gap: 6px; margin-right: auto; }
  .work .swipe-hint, .local .swipe-hint { color: var(--muted-dark); }
  .swipe-hint svg { width: 18px; height: 18px; animation: nudge 1.4s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
  .swipe-dots { display: flex; gap: 6px; }
  .swipe-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c9c9c9; transition: width .2s, background-color .2s; }
  .work .swipe-dots i { background: #444; }
  .swipe-dots i.on { width: 20px; border-radius: 4px; background: var(--orange); }
  .swipe-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d6d6d6; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
  .work .swipe-btn { background: #1a1a1a; border-color: #333; color: #fff; }
  .swipe-btn:disabled { opacity: .35; }
  .swipe-btn svg { width: 18px; height: 18px; }
  .cards-work .card-wide { grid-column: auto; }
  .cards-work .card-wide .card-img { aspect-ratio: 16 / 11; }

  .aios, .local, .contact { grid-template-columns: 1fr; }
  .quotes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; }
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .local-shot { padding-left: 32px; }
  .foot p:last-child { margin-left: 0; }
}

@media (max-width: 560px) {
  .aios-map { grid-template-columns: 1fr; gap: 16px; }
  .aios-sources { display: flex; flex-wrap: wrap; gap: 8px; height: auto; }
  .aios-sources li { font-size: 13px; padding: 6px 12px 6px 8px; }
  .aios-sources img { height: 18px; }
  .aios-lines { display: none; }

  .res-bot-nums, .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .res-bot-nums b, .res-grid b { font-size: 34px; }
  .res-grid p { font-size: 14px; }

  .wa-float { left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); justify-content: center; }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}
