/* Ni'yaa — hoja de estilos del sitio.
   Paleta y tipografía tomadas del logo: tinta casi negra sobre papel, una sola familia geométrica. */

:root {
  --bg: #efefec;
  --surface: #e2e1dd;
  --ink: #141414;
  --muted: #53524e;
  --accent: #141414;
  --accent-ink: #efefec;
  --inv-bg: #141414;
  --inv-ink: #efefec;
  --inv-muted: #a9a8a3;

  --font: "Montserrat", system-ui, sans-serif;

  /* cinco tamaños: nota, texto, título, correo, nombre */
  --step-small: 0.875rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-head: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem);
  --step-large: clamp(2.5rem, 9.4vw, 8.75rem);
  /* el nombre llena el ancho útil: NI’YAA mide 3.54 em en Montserrat 700 */
  --step-display: min(calc((100vw - 2 * var(--margin)) / 3.58), 28rem);

  --margin: clamp(1.25rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 13vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.head { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; }
.muted { color: var(--muted); }

.link {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.07em;
  transition: text-decoration-color var(--t-hover) ease, opacity var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: transparent; }
}

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }

/* ---------- portada ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero {
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  min-height: 100svh;
  padding-inline: var(--margin);
}
.hero__bar {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1.25rem;
}
.hero__mark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: var(--step-body); letter-spacing: -0.01em; text-decoration: none; }
.hero__mark-icon { width: 1.9rem; height: auto; }
.hero__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); margin-left: auto; margin-right: clamp(1rem, 2.4vw, 2.25rem); }
.hero__links a { text-decoration: none; font-size: 0.9375rem; white-space: nowrap; }
.hero__links a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.hero__menu { display: none; }
.hero__cta--top { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.875rem; }
.hero__stage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: end;
  padding-block: clamp(1rem, 3vh, 2.5rem);
}
.hero__copy { min-width: 0; grid-column: 1 / span 5; display: grid; gap: clamp(1.5rem, 4vh, 3rem); align-self: stretch; align-content: space-between; }
.hero__lede { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; max-width: 22ch; }
.hero__photo img { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__photo figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }
.hero__sketch {
  grid-column: 7 / -1; justify-self: end;
  height: min(58svh, 44vw); width: auto; aspect-ratio: 604 / 672;
  color: var(--ink);
}
.hero__sketch-lines path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; opacity: 0; }
.hero__name {
  font-size: var(--step-display);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin-left: -0.04em;
  padding-bottom: 0.1em;
}

/* en escritorio la portada cabe en una pantalla: boceto y foto ceden lo que el nombre necesita */
@media (min-width: 64.01rem) {
  .hero__sketch { height: max(14rem, min(44vw, calc(100svh - var(--step-display) * 0.92 - 8.5rem))); }
  .hero__photo img { width: auto; max-width: 100%; max-height: max(9rem, calc(100svh - var(--step-display) * 0.92 - 19rem)); }
}

/* ---------- presentación ---------- */
.intro { padding-block: var(--section) calc(var(--section) * 0.8); }
.intro__col {
  margin-left: 15vw;
  width: min(23rem, 100%);
}
.intro__col p + p { margin-top: 1.4em; }
.intro__col p:first-child { font-weight: 500; }
.intro__col p:not(:first-child) { color: var(--muted); }

/* ---------- calculadora ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 88svh;
  background: var(--surface);
}
.calc__plate {
  display: grid; place-items: center;
  padding: clamp(1.25rem, 2.8vw, 2.5rem);
}
.calc__square {
  position: relative;
  width: 100%; max-width: 42rem; aspect-ratio: 1;
  background: transparent;
  display: grid; place-items: center;
  overflow: hidden;
}
.calc__sketch {
  width: 72%; height: auto; aspect-ratio: 604 / 672; color: var(--ink);
  transition: transform 700ms var(--ease-out);
}
.calc__dim {
  position: absolute; left: 0; right: 0; bottom: 1.25rem;
  text-align: center; font-weight: 600;
}
.calc__body {
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  padding: clamp(1.25rem, 2.8vw, 2.5rem) var(--margin) clamp(1.25rem, 2.8vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
}
.calc__types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.calc__type { position: relative; cursor: pointer; }
.calc__type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.calc__type span {
  display: inline-block; padding: 0.6rem 0;
  font-weight: 500; color: var(--muted);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.45em; text-decoration-thickness: 2px;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}
.calc__type:hover span { color: var(--ink); }
.calc__type input:checked + span { color: var(--ink); font-weight: 700; text-decoration-color: currentColor; }
.calc__type input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.calc__big { font-size: var(--step-small); color: var(--muted); }
.calc__split-title { font-size: var(--step-small); color: var(--muted); margin-bottom: 0.5rem; }
.calc__fallback { margin-top: 0.85rem; font-size: var(--step-small); color: var(--muted); }
.calc__copy { color: var(--ink); font-size: inherit; text-decoration: underline; }
.calc__copied { margin-left: 0.5rem; color: var(--ink); }
.calc__main { display: grid; gap: 1.5rem; max-width: 36rem; }
.calc__desc { max-width: 40ch; }
.calc__field { display: grid; gap: 0.75rem; }
.calc__field label { font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.calc__range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2.75rem; background: transparent; cursor: pointer;
}
.calc__range::-webkit-slider-runnable-track { height: 6px; background: var(--bg); }
.calc__range::-moz-range-track { height: 6px; background: var(--bg); }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 1.75rem; height: 1.75rem; margin-top: -11px;
  background: var(--ink); border-radius: 50%;
  transition: transform var(--t-press) var(--ease-out);
}
.calc__range::-moz-range-thumb { width: 1.75rem; height: 1.75rem; background: var(--ink); border: 0; border-radius: 50%; }
.calc__range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__result { font-size: var(--step-head); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.calc__split { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1.5rem; max-width: 28rem; }
.calc__split dd { text-align: right; }
.calc__note { color: var(--muted); font-size: var(--step-small); max-width: 46ch; }
.calc__actions { display: grid; grid-template-columns: 1fr 1fr; }
.calc__action {
  display: flex; align-items: center; padding: 1rem 1.25rem;
  min-height: 4.5rem; font-weight: 600; text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.calc__action:active { transform: scale(0.98); }
.calc__action--main { background: var(--ink); color: var(--bg); }
.calc__action--main:hover { background: #000; }
.calc__action--alt { background: #d4d3ce; }
.calc__action--alt:hover { background: #c8c7c1; }

/* ---------- servicios ---------- */
.services { padding: calc(var(--section) * 0.9) var(--margin); background: var(--inv-bg); color: var(--inv-ink); }
.services .services__group li, .services .services__sum { color: var(--inv-muted); }
.services .services__group li:hover, .services .services__group li:focus-visible, .services .services__hint.is-on { color: var(--inv-ink); }
.services .services__hint { color: var(--inv-muted); }
.services__top { margin-bottom: clamp(3rem, 7vw, 6rem); align-items: end; }
.services__top h2 { grid-column: 1 / span 5; }
.services__hint { grid-column: 7 / span 6; color: var(--muted); min-height: 3.2em; max-width: 46ch; transition: color var(--t-hover) ease; }
.services__hint.is-on { color: var(--ink); }
.services__group { grid-column: span 3; }
.services__group h3 { font-size: var(--step-body); font-weight: 700; margin-bottom: 1.5em; line-height: 1.3; }
.services__group li {
  color: var(--muted); line-height: 1.3; padding: 0.22em 0;
  cursor: default;
  transition: color var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.services__group li:hover, .services__group li:focus-visible { color: var(--ink); transform: translateX(4px); }
.services__sum { display: none; }

/* ---------- novedades (carrusel de banners) ---------- */
.news { padding-block: calc(var(--section) * 0.7) 0; }
.news[hidden] { display: none; }
.news__top { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.news__controls { display: flex; gap: 0.5rem; }
.news__btn {
  display: inline-grid; place-items: center;
  min-width: 3rem; min-height: 3rem; padding: 0 0.9rem;
  background: var(--surface); color: var(--ink);
  font-size: var(--step-small); font-weight: 600;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.news__btn svg { width: 1.25rem; height: 1.25rem; }
.news__btn:hover { background: #d4d3ce; }
.news__btn:active { transform: scale(0.95); }
.news__btn--text { min-width: 7.5rem; }
.news__ico { display: none; }
.news.is-single .news__controls, .news.is-single .news__dots { display: none; }
/* carrusel circular: las cartas giran sobre un anillo; banners.js calcula la posición de cada una */
.news__track {
  position: relative;
  display: grid; place-items: center;
  padding-block: 1.5rem 4.5rem;
  perspective: 1400px; perspective-origin: 50% 25%;
  overflow: hidden;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.news__track.is-dragging { cursor: grabbing; }
.news__track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.news__slide {
  grid-area: 1 / 1;
  position: relative;
  width: clamp(17rem, 27vw, 24rem); aspect-ratio: 4 / 5;
  overflow: hidden;
  will-change: transform, opacity;
}
/* sombra de giro: la carta se oscurece al alejarse del frente */
.news__slide::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--ink); opacity: var(--shade, 0);
}
/* reverso de la carta: el boceto de Ni’yaa, como el dorso de una baraja */
.news__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--surface) url("assets/boceto.svg") center / 42% auto no-repeat;
  transform: scaleX(-1); opacity: 0;
}
.news__slide.is-back::after { opacity: 1; }
.news__slide.is-back .banner { visibility: hidden; }
.news__orbit {
  position: absolute; left: 50%; top: 50%; z-index: 0; pointer-events: none;
  width: calc(var(--r, 300px) * 2); height: calc(var(--r, 300px) * 2);
  margin: calc(var(--r, 300px) * -1) 0 0 calc(var(--r, 300px) * -1);
  border: 2px solid #b9b8b2; border-radius: 50%;
  transform: translateY(calc(var(--h, 400px) / 2 - 0.5rem)) translateZ(calc(var(--r, 300px) * -1)) rotateX(90deg);
}
/* en el sitio el banner claro se separa del papel de la página con un tono */
.news .banner--papel { --b-bg: var(--surface); }
.news__dots { display: flex; justify-content: center; gap: 0.25rem; margin-top: 1rem; }
.news__dot { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; }
.news__dot::before {
  content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: #c2c1bb; transition: background-color var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.news__dot[aria-current="true"]::before { background: var(--ink); transform: scale(1.25); }
@media (max-width: 47.99rem) {
  .news { padding-top: 5rem; }
  /* en el teléfono el anillo ocupa todo el ancho y se asoman las cartas vecinas */
  .news__track { margin-inline: calc(var(--margin) * -1); padding-block: 1rem 3.5rem; }
  .news__slide { width: 72vw; }
  /* en el teléfono la pausa es un ícono, para que quepan los tres botones */
  .news__btn--text { min-width: 3rem; padding: 0; }
  .news__lbl { display: none; }
  .news__btn--text .news__ico--pause { display: block; }
  .news__btn--text.is-paused .news__ico--pause { display: none; }
  .news__btn--text.is-paused .news__ico--play { display: block; }
}

/* ---------- obras ---------- */
.work { padding-block: calc(var(--section) * 0.9) var(--section); }
.work__title { margin-bottom: clamp(4rem, 9vw, 8rem); }
.work__list { row-gap: 0; }
.job { position: relative; }
.job + .job { margin-top: clamp(9rem, 24vh, 15rem); }
.job--a { grid-column: 1 / span 6; }
.job--b { grid-column: 9 / span 4; }
.job--c { grid-column: 3 / span 7; }
.job--a + .job--b { margin-top: calc(clamp(9rem, 24vh, 15rem) + 7rem); }
.job__name { font-size: var(--step-small); color: var(--muted); margin-bottom: 0.6rem; }
.job__frame { position: relative; overflow: hidden; background: var(--surface); }
.job--a .job__frame { aspect-ratio: 3 / 2; }
.job--b .job__frame { aspect-ratio: 4 / 5; }
.job--c .job__frame { aspect-ratio: 16 / 9; }
.job__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1600ms ease;
}
.job__frame img.is-plan { object-fit: contain; background: var(--bg); mix-blend-mode: multiply; }
.job__frame img + img { opacity: 0; }
.job__frame.is-alt img:first-child { opacity: 0; }
.job__frame.is-alt img + img { opacity: 1; }
.job__desc { margin-top: 0.85rem; max-width: 46ch; }
.job__desc span { color: var(--muted); }
.work__remark {
  grid-column: 2 / span 5;
  font-size: 1.25rem; line-height: 1.35; font-weight: 500;
  margin-top: clamp(7rem, 18vh, 11rem);
  max-width: 26ch;
}
.work__remark + .job { margin-top: clamp(5rem, 12vh, 8rem); }

/* ---------- proceso ---------- */
.steps { padding-block: var(--section); background: var(--surface); }
.steps__list { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.step > * { grid-column: var(--start) / -1; }
.step:nth-child(1) { --start: 1; }
.step:nth-child(2) { --start: 3; }
.step:nth-child(3) { --start: 5; }
.step:nth-child(4) { --start: 7; }
.step .head { max-width: 20ch; }
.step p { margin-top: 0.75rem; color: var(--muted); max-width: 40ch; }

/* ---------- preguntas ---------- */
.faq { padding-block: var(--section); }
.faq__row { align-items: start; }
.faq__row + .faq__row { margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.faq__q { grid-column: 1 / span 6; font-weight: 500; max-width: 18ch; }
.faq__head { color: var(--muted); }
.faq__a { grid-column: 8 / span 5; max-width: 42ch; padding-top: 0.5rem; }

/* ---------- contacto ---------- */
.contact {
  position: relative;
  min-height: 100svh;
  background: var(--inv-bg); color: var(--inv-ink);
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin);
}
.contact__say { font-size: var(--step-head); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; }
.contact__mail {
  align-self: end;
  margin-bottom: 8vh;
  font-size: var(--step-large); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: opacity var(--t-hover) ease;
}
.contact__mail:hover { opacity: 0.72; }
.contact__base { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; font-size: var(--step-small); color: var(--inv-muted); }
.contact__base a { color: var(--inv-ink); }
.contact__base p + p { margin-top: 0.3rem; }

/* ---------- pie ---------- */
.footer { background: var(--surface); padding: clamp(2rem, 4vw, 3rem) var(--margin) 1.5rem; }
.footer__name {
  font-size: var(--step-display); font-weight: 700; line-height: 0.8; letter-spacing: -0.01em;
  white-space: nowrap; margin-left: -0.05em; padding: 0.1em 0 0.12em;
}
.footer__row { margin-top: 4.5rem; row-gap: 2.5rem; }
.footer__places { grid-column: 1 / span 6; grid-row: 1; display: grid; gap: 0.35rem; }
.footer__places a { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-decoration: none; }
.footer__places a:hover { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.15em; }
.footer__sketch { grid-column: 11 / -1; grid-row: 1; justify-self: end; width: min(9rem, 100%); height: auto; color: var(--ink); }
.footer__cols { grid-column: 7 / span 4; grid-row: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-content: start; }
.footer__cols ul { display: grid; gap: 0.4rem; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; margin-top: 6rem; font-size: var(--step-small); color: var(--muted); }

/* ---------- tableta ---------- */
@media (max-width: 64rem) {
  .services__group { grid-column: span 6; margin-bottom: 2.5rem; }
  .services__top h2 { grid-column: 1 / -1; }
  .services__hint { grid-column: 1 / -1; margin-top: 1.5rem; }
  .faq__q, .faq__a { grid-column: 1 / -1; max-width: 22ch; }
  .faq__a { max-width: 46ch; padding-top: 1rem; }
}

@media (max-width: 64rem) {
  .calc { grid-template-columns: 2fr 3fr; min-height: 0; }
  .calc__plate { align-items: start; padding-top: 2.5rem; }
  .calc__actions { grid-template-columns: 1fr; }
  .job--a { grid-column: 1 / span 8; }
  .job--b { grid-column: 5 / -1; }
  .job--c { grid-column: 2 / span 10; }
  .job + .job, .job--a + .job--b { margin-top: 6rem; }
  .work__remark { grid-column: 1 / span 8; }
  .hero__copy { grid-column: 1 / span 7; }
  .hero__links { display: none; }
  .hero__menu { display: block; position: relative; }
  .hero__menu summary { list-style: none; cursor: pointer; font-size: var(--step-body); padding: 0.5rem 0; }
  .hero__menu summary::-webkit-details-marker { display: none; }
  .hero__menu[open] ul {
    position: absolute; top: 2.5rem; left: 0; z-index: 5; display: grid; gap: 0.75rem;
    background: var(--bg); color: var(--ink); padding: 1rem 1.25rem; min-width: 12rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.2); /* taste-skill-ignore: menú desplegable que flota */
  }
  .hero__menu a { text-decoration: none; }
  .hero__left { display: flex; align-items: center; gap: 1.25rem; }
  .hero__cta--top { margin-left: auto; }
  .hero__sketch { grid-column: 8 / -1; height: auto; width: 100%; }
}

/* ---------- teléfono ---------- */
@media (max-width: 47.99rem) {
  .hero__links { display: none; }
  .hero__menu { display: block; position: relative; }
  .hero__menu summary { list-style: none; cursor: pointer; font-size: var(--step-body); padding: 0.5rem 0; }
  .hero__menu summary::-webkit-details-marker { display: none; }
  .hero__menu[open] ul {
    position: absolute; top: 2.5rem; left: 0; z-index: 5; display: grid; gap: 0.75rem;
    background: var(--bg); color: var(--ink); padding: 1rem 1.25rem; min-width: 12rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.2); /* taste-skill-ignore: menú desplegable que flota */
  }
  .hero__menu a { text-decoration: none; }
  .hero__left { display: flex; align-items: center; gap: 1.25rem; }
  .hero__bar { padding-block: 1rem; }
  .hero__cta--top { margin-left: auto; font-size: 0.875rem; padding: 0 0.9rem; }
  .hero__stage { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .hero__sketch { grid-column: 1; grid-row: 1; justify-self: end; height: auto; width: 62%; }
  .hero__copy { grid-column: 1; }
  .hero__lede { font-size: 1.25rem; }

  .intro { padding-block: 4.5rem 6rem; }
  .intro__col { margin-left: 0; width: 82%; }

  .calc { grid-template-columns: 1fr; min-height: 0; }
  .calc__plate { padding: 1rem 1rem 0; }
  .calc__body { padding: 1.75rem var(--margin) 2rem; gap: 2rem; }
  .calc__actions { grid-template-columns: 1fr; }
  .calc__action { min-height: 3.75rem; }

  .services__group { grid-column: 1 / -1; margin-bottom: 2.5rem; }
  .services__group li { line-height: 1.4; }
  .services__hint { display: none; }
  .services__sum { display: block; margin-top: 1rem; color: var(--muted); }

  .job--a, .job--b, .job--c { grid-column: 1 / -1; }
  .job--b { margin-left: 24%; }
  .job--c { margin-right: 12%; }
  .job + .job, .job--a + .job--b { margin-top: 4.5rem; }
  .work__remark { grid-column: 1 / -1; margin: 4.5rem 0 0; }

  .step > * { grid-column: 1 / -1; }
  .step:nth-child(2) { padding-left: 6vw; }
  .step:nth-child(3) { padding-left: 12vw; }
  .step:nth-child(4) { padding-left: 18vw; }

  .faq__q, .faq__a { grid-column: 1 / -1; }
  .faq__a { padding-top: 0.75rem; }
  .faq__row + .faq__row { margin-top: 3.5rem; }

  .contact { min-height: 86svh; }
  .contact__mail { font-size: 11.5vw; margin-bottom: 4rem; white-space: normal; }
  .contact__base { flex-direction: column; }

  .footer__places, .footer__cols { grid-column: 1 / -1; grid-row: auto; }
  .footer__sketch { grid-column: 1 / -1; grid-row: auto; justify-self: start; width: 6rem; }
  .footer__legal { margin-top: 4rem; }
  .footer { padding-top: 7rem; }
}

/* ---------- movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .job__frame img { transition: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }


/* ---------- WhatsApp fijo en teléfono ---------- */
.wa-fixed { display: none; }
@media (max-width: 47.99rem) {
  .wa-fixed {
    position: fixed; z-index: 20;
    right: var(--margin); bottom: calc(0.75rem + env(safe-area-inset-bottom));
    display: flex; align-items: center;
    min-height: 3rem; padding: 0 1.1rem;
    background: var(--ink); color: var(--bg);
    font-size: var(--step-small); font-weight: 600; text-decoration: none;
    transform: translateY(calc(100% + 1.5rem));
    transition: transform 420ms var(--ease-out);
  }
  .wa-fixed.is-on { transform: none; }
  .wa-fixed:active { transform: scale(0.98); }
  .footer { padding-bottom: 5rem; }
}
@media (max-width: 47.99rem) and (prefers-reduced-motion: reduce) {
  .wa-fixed { transition: none; }
}
