/* ==========================================================
   VIVARECOM — estilos
   Paleta basada en el logotipo: naranja (energía) + verde (crecimiento)
   Para ajustar los colores exactos del logotipo, edita las variables de :root.
   ========================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --ink: #14130f;
  --ink-soft: #4a463d;
  --paper: #f6f1e8;
  --sand: #e8decb;
  --sand-deep: #dccfb6;
  --orange: #e85d0c;
  --orange-soft: #f4a064;
  --green: #1f6b43;
  --green-deep: #123d2a;
  --green-soft: #8fbc96;

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-accent: "Lora", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
h1 em, h2 em {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--orange);
}

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .7rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.value :focus-visible, .tile--green :focus-visible, .tile--ink :focus-visible { outline-color: var(--paper); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: var(--orange); flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--orange); color: var(--ink);
  font: 600 1rem/1 var(--f-body);
  padding: 1.1rem 1.7rem; border-radius: 999px; border: 2px solid var(--orange);
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn span { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn:hover span { transform: translateX(4px); }
.btn--sm { padding: .8rem 1.2rem; font-size: .92rem; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.link-quiet { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--orange); }
.link-quiet:hover { text-decoration-color: var(--green); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 232, .94); border-bottom: 1px solid rgba(20, 19, 15, .1); }
.header-in { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: block; line-height: 0; }
.brand img { height: 36px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.8rem; }
.nav a { font-size: .95rem; font-weight: 600; text-decoration: none; padding: .4rem 0; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav a:hover { background-size: 100% 2px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-btn__bars, .menu-btn__bars::before { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-btn__bars { top: 18px; }
.menu-btn__bars::before { left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(-7px) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(1rem, 3vw, 2.5rem); align-items: center; }
.hero-copy { grid-column: 1 / span 7; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.1rem); max-width: 13ch; }
.hero h1 em { display: block; margin-top: .12em; line-height: 1.02; }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 34rem; margin-top: 2rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.2rem; }
.hero-where { margin-top: 2.6rem; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.hero-fig { grid-column: 8 / span 5; position: relative; }
.hero-fig img { width: 100%; aspect-ratio: 1000 / 1100; object-fit: cover; border-top-left-radius: clamp(80px, 14vw, 210px); border-bottom-right-radius: clamp(80px, 14vw, 210px); border-top-right-radius: 14px; border-bottom-left-radius: 14px; }
.hero-fig figcaption { position: absolute; left: -1.2rem; bottom: 2.2rem; transform: rotate(-90deg); transform-origin: left bottom; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; left: -.9rem; }

/* ---------- Cinta ---------- */
.ticker { background: var(--green-deep); color: var(--paper); overflow: hidden; padding: 1.05rem 0; }
.ticker-track { display: flex; width: max-content; gap: 1.6rem; animation: slide 46s linear infinite; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.02em; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--orange); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Servicios ---------- */
.services { padding: var(--sec) 0; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem clamp(1rem, 3vw, 2.5rem); }
.services-intro { grid-column: 1 / span 4; align-self: start; position: sticky; top: 110px; }
.services-intro h2, .sectors-head h2, .value-lead h2, .portfolio-head h2, .process-head h2, .contact-info h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.services-intro p:not(.eyebrow) { margin: 1.6rem 0 2rem; color: var(--ink-soft); }
.service-list { grid-column: 6 / span 7; }
.service { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1rem; padding: 2.4rem 0 2.6rem; border-top: 1px solid rgba(20, 19, 15, .22); }
.service:last-child { border-bottom: 1px solid rgba(20, 19, 15, .22); }
.service-n { font-family: var(--f-accent); font-style: italic; font-size: 1.9rem; color: var(--green); line-height: 1; padding-top: .25rem; }
.service h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); letter-spacing: -.03em; line-height: 1.04; }
.service > div > p { margin-top: 1rem; color: var(--ink-soft); max-width: 38rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem .5rem; margin-top: 1.2rem; }
.tags li { font-size: .84rem; font-weight: 600; padding: .38rem .8rem; border-radius: 999px; background: var(--sand); }
.service .note { margin-top: 1.1rem; font-size: .9rem; padding-left: .9rem; border-left: 3px solid var(--orange); color: var(--ink); }
.ask { display: inline-block; margin-top: 1.4rem; font-weight: 600; font-size: .95rem; color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(31, 107, 67, .35); transition: text-decoration-color .2s; }
.ask:hover { text-decoration-color: var(--orange); }
.ask span { display: inline-block; transition: transform .25s var(--ease); }
.ask:hover span { transform: translateX(4px); }

/* ---------- Sectores ---------- */
.sectors { padding: var(--sec) 0; background: var(--sand); }
.sectors-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem clamp(1rem, 3vw, 2.5rem); align-items: end; margin-bottom: 3.2rem; }
.sectors-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.sectors-head h2 { grid-column: 1 / span 7; }
.sectors-head p:last-child { grid-column: 9 / span 4; color: var(--ink-soft); }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.tile { padding: clamp(1.5rem, 2.6vw, 2.4rem); display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; position: relative; }
.tile-n { position: absolute; top: clamp(1.2rem, 2vw, 1.8rem); left: clamp(1.5rem, 2.6vw, 2.4rem); font-family: var(--f-accent); font-style: italic; font-size: 1.15rem; opacity: .85; }
.tile h3 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); letter-spacing: -.03em; line-height: 1.05; max-width: 15ch; }
.tile p { margin-top: .9rem; font-size: .98rem; max-width: 30rem; }
.t-a { grid-column: span 5; min-height: 340px; border-radius: 0 0 0 90px; }
.t-b { grid-column: span 7; min-height: 340px; border-radius: 90px 0 0 0; }
.t-c, .t-d, .t-e { grid-column: span 4; min-height: 330px; }
.t-c { border-radius: 0 70px 0 0; }
.t-d { border-radius: 14px; }
.t-e { border-radius: 0 0 70px 0; }
.t-f, .t-g, .t-h { grid-column: span 4; min-height: 330px; }
.t-f { border-radius: 70px 0 0 0; }
.t-g { border-radius: 0 0 0 70px; }
.t-h { border-radius: 0 70px 0 0; }
.tile--sand { background: var(--sand-deep); }
.tile--green { background: var(--green-deep); color: var(--paper); }
.tile--green .tile-n { color: var(--orange-soft); }
.tile--orange { background: var(--orange); color: var(--ink); }
.tile--line { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.tile--ink { background: var(--ink); color: var(--paper); }
.tile--ink .tile-n { color: var(--orange-soft); }

/* ---------- Propuesta de valor ---------- */
.value { background: var(--green-deep); color: var(--paper); padding: var(--sec) 0; }
.value .eyebrow { color: var(--green-soft); }
.value-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem clamp(1rem, 3vw, 2.5rem); }
.value-lead { grid-column: 1 / span 5; align-self: start; position: sticky; top: 110px; }
.value-lead h2 em { color: var(--orange-soft); }
.value-lead p:not(.eyebrow) { margin-top: 1.8rem; color: rgba(246, 241, 232, .82); max-width: 30rem; }
.value-list { grid-column: 7 / span 6; }
.value-list li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 1rem; padding: 1.7rem 0; border-top: 1px solid rgba(246, 241, 232, .22); }
.value-list li:last-child { border-bottom: 1px solid rgba(246, 241, 232, .22); }
.value-list span { font-family: var(--f-accent); font-style: italic; color: var(--orange-soft); font-size: 1.25rem; }
.value-list h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.025em; }
.value-list p { margin-top: .5rem; color: rgba(246, 241, 232, .8); font-size: 1rem; max-width: 30rem; }

/* ---------- Portafolio ---------- */
.portfolio { padding: var(--sec) 0; }
.portfolio-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem clamp(1rem, 3vw, 2.5rem); align-items: end; margin-bottom: 2.4rem; }
.portfolio-head > div { grid-column: 1 / span 7; }
.portfolio-note { grid-column: 9 / span 4; font-size: .98rem; color: var(--ink-soft); border-left: 3px solid var(--orange); padding-left: 1rem; }
.portfolio-note strong { color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: 600 .9rem/1 var(--f-body); padding: .75rem 1.1rem; border-radius: 999px; background: transparent; color: var(--ink); border: 2px solid rgba(20, 19, 15, .25); cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; align-items: start; }
.work { position: relative; }
.work img { width: 100%; height: auto; object-fit: cover; background: var(--sand); transition: transform .8s var(--ease); }
.work .frame { display: block; overflow: hidden; }
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem .2rem 0; font-size: .9rem; }
.work figcaption strong { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.work figcaption span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.work:hover img { transform: scale(1.035); }
.w-a { grid-column: span 4; --ar: 4/5; --rad: 0 0 0 80px; }
.w-b { grid-column: span 5; --ar: 4/3; --rad: 14px; margin-top: 3rem; }
.w-c { grid-column: span 3; --ar: 4/5; --rad: 999px 999px 0 0; }
.w-d { grid-column: span 5; --ar: 4/3; --rad: 0 70px 0 0; }
.w-e { grid-column: span 3; --ar: 4/5; --rad: 14px; margin-top: -2rem; }
.w-f { grid-column: span 4; --ar: 4/5; --rad: 70px 0 0 0; }
.w-g { grid-column: 4 / span 6; --ar: 4/3; --rad: 0 0 70px 0; }
.work .frame { aspect-ratio: var(--ar); border-radius: var(--rad); }
.work .frame img { height: 100%; }
.gallery.is-filtered .work { grid-column: span 4; margin-top: 0; }
.gallery.is-filtered .work[data-cat="turismo"], .gallery.is-filtered .work[data-cat="audiovisual"], .gallery.is-filtered .work[data-cat="digital"] { grid-column: span 6; }
.work[hidden] { display: none; }
.gallery-empty { margin-top: 1rem; color: var(--ink-soft); }
.portfolio-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 3.4rem; padding-top: 2rem; border-top: 1px solid rgba(20, 19, 15, .22); }
.portfolio-cta p { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; max-width: 30rem; }

/* ---------- Proceso ---------- */
.process { background: var(--sand); padding: var(--sec) 0; overflow: hidden; }
.process-head { margin-bottom: 3.5rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; align-items: start; padding-bottom: 6rem; }
.step { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.step:nth-child(1) { transform: translateY(0); }
.step:nth-child(2) { margin-top: 1.5rem; }
.step:nth-child(3) { margin-top: 3rem; }
.step:nth-child(4) { margin-top: 4.5rem; }
.step:nth-child(5) { margin-top: 6rem; border-top-color: var(--orange); }
.step-n { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 5.5vw, 5rem); letter-spacing: -.05em; line-height: .9; color: var(--green-deep); margin-bottom: 1rem; }
.step h3 { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.08; }
.step p { margin-top: .7rem; font-size: .98rem; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta { padding: var(--sec) 0 0; }
.cta-panel { position: relative; overflow: hidden; background: var(--orange); border-radius: clamp(60px, 9vw, 150px) 14px clamp(60px, 9vw, 150px) 14px; padding: clamp(2.4rem, 6vw, 5.5rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.2rem clamp(1rem, 3vw, 2.5rem); align-items: end; }
.cta-panel::after { content: ""; position: absolute; width: clamp(160px, 24vw, 340px); aspect-ratio: 1; border-radius: 50%; background: var(--green-deep); right: -6%; top: -14%; pointer-events: none; }
.cta h2 { grid-column: 1 / span 8; font-size: clamp(2.1rem, 5vw, 4.4rem); position: relative; z-index: 1; }
.cta h2 em { color: var(--ink); }
.cta-side { grid-column: 9 / span 4; position: relative; z-index: 1; }
.cta-side p { margin-bottom: 1.5rem; font-weight: 600; }

/* ---------- Contacto ---------- */
.contact { padding: var(--sec) 0; }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem clamp(1rem, 3vw, 2.5rem); }
.contact-info { grid-column: 1 / span 6; }
.contact-info > p:not(.eyebrow) { margin: 1.5rem 0 2rem; max-width: 30rem; color: var(--ink-soft); }
.facts { margin-top: 3rem; }
.facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .4rem 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(20, 19, 15, .22); }
.facts > div:last-child { border-bottom: 1px solid rgba(20, 19, 15, .22); }
.facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); padding-top: .25rem; }
.facts a { font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; word-break: break-word; }
.social-list { display: grid; gap: .3rem; }
.social-list a { font-weight: 600; }

.builder { grid-column: 8 / span 5; background: var(--green-deep); color: var(--paper); padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 90px 14px 90px 14px; padding-top: clamp(2.6rem, 4vw, 3.4rem); align-self: start; }
.builder h3 { font-size: 1.9rem; letter-spacing: -.03em; }
.builder-intro { margin: .8rem 0 1.6rem; font-size: .95rem; color: rgba(246, 241, 232, .82); }
.builder label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 1.1rem 0 .4rem; color: var(--green-soft); }
.builder select, .builder textarea { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 12px; padding: .85rem 1rem; }
.builder textarea { resize: vertical; min-height: 5.5rem; }
.builder select:focus-visible, .builder textarea:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 2px; }
.builder .btn { margin-top: 1.8rem; width: 100%; justify-content: center; }
.builder .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); padding: clamp(3rem, 6vw, 5rem) 0 1.6rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { margin-top: 1.2rem; max-width: 22rem; font-size: .95rem; color: var(--ink-soft); }
.foot-title { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.site-footer li { margin-bottom: .45rem; font-size: .95rem; }
.site-footer a { text-underline-offset: 4px; text-decoration-color: rgba(20, 19, 15, .3); }
.site-footer a:hover { text-decoration-color: var(--orange); }
.site-footer .social-list { margin-top: 1rem; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(20, 19, 15, .22); font-size: .85rem; color: var(--ink-soft); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: clamp(.9rem, 2.5vw, 1.6rem); bottom: clamp(.9rem, 2.5vw, 1.6rem); z-index: 60; display: inline-flex; align-items: center; gap: .6rem; background: var(--green); color: var(--paper); padding: .95rem 1.2rem .95rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(18, 61, 42, .35); transition: background .25s var(--ease), transform .25s var(--ease); }
.wa-float:hover { background: var(--green-deep); transform: translateY(-2px); }
.wa-float:focus-visible { outline-color: var(--ink); }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .step.reveal { opacity: 0; }
.js .step.reveal.is-in { opacity: 1; }

/* ---------- Sin JS: menú visible ---------- */
.no-js .nav ul { flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); padding-bottom: 1rem; }
  .step:nth-child(n) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid rgba(20, 19, 15, .15); padding: 1rem var(--gut) 1.6rem; display: none; margin: 0; }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; gap: .2rem; }
  .js .nav a { display: block; font-size: 1.25rem; padding: .7rem 0; background: none; }
  .no-js .menu-btn { display: none; }
  .no-js .header-in { flex-wrap: wrap; padding: .6rem 0; }
  .no-js .nav { width: 100%; margin: 0; }

  .hero-copy, .hero-fig { grid-column: 1 / -1; }
  .hero-fig { margin-top: 3rem; max-width: 520px; }
  .hero h1 { max-width: none; }
  .services-intro, .service-list, .value-lead, .value-list, .contact-info, .builder { grid-column: 1 / -1; position: static; }
  .sectors-head h2, .sectors-head p:last-child, .portfolio-head > div, .portfolio-note { grid-column: 1 / -1; }
  .t-a, .t-b { grid-column: span 12; min-height: 280px; }
  .t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 6; }
  .cta h2, .cta-side { grid-column: 1 / -1; }
  .w-a, .w-c, .w-e, .w-f { grid-column: span 6; margin-top: 0; }
  .w-b, .w-d, .w-g { grid-column: span 12; margin-top: 0; }
  .gallery.is-filtered .work { grid-column: span 6; }
  .gallery.is-filtered .work[data-cat="turismo"], .gallery.is-filtered .work[data-cat="audiovisual"], .gallery.is-filtered .work[data-cat="digital"] { grid-column: span 12; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .service { grid-template-columns: 3rem 1fr; }
  .t-c, .t-d, .t-e, .t-f, .t-g, .t-h { grid-column: span 12; min-height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .facts > div { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 1rem; }
  .hero-fig figcaption { display: none; }
  .w-a, .w-c, .w-e, .w-f { grid-column: span 12; }
  .gallery.is-filtered .work { grid-column: span 12; }
  .w-c { border-radius: 999px 999px 0 0; }
}

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