/* ==========================================================================
   Muebles7D — hoja de estilos principal
   Minimalista · arquitectónica · cálida
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ivory: #f4efe7;
  --paper: #fbf9f5;
  --sand: #e9e2d6;
  --line: #d9d3c9;
  --stone: #8c857b;
  --ink-soft: #3a3633;
  --ink: #141312;
  --charcoal: #242226;
  --wood: #b37c4d;
  --wood-light: #c9955f;
  --wood-dark: #8e5f38;
  --wa: #25d366;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-lg: clamp(1.05rem, 1rem + .2vw, 1.175rem);
  --fs-h4: clamp(1.1rem, 1.04rem + .25vw, 1.25rem);
  --fs-h3: clamp(1.3rem, 1.18rem + .5vw, 1.65rem);
  --fs-h2: clamp(1.65rem, 1.35rem + 1.3vw, 2.6rem);
  --fs-h1: clamp(2rem, 1.55rem + 2vw, 3.4rem);
  --fs-display: clamp(2.5rem, 1.7rem + 3.6vw, 5.25rem);

  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 10rem);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--wood); color: var(--paper); }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--sand { background: var(--sand); }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4rem; }
}
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--ink-soft); font-size: var(--fs-base); max-width: 46ch; }
.section--dark .section-head p { color: #c9c2b8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--wood); }
.eyebrow--light { color: #cfc7bb; }
.lead { font-size: var(--fs-lg); color: var(--ink-soft); line-height: 1.6; }
.text-wood { color: var(--wood); }
.num { font-variant-numeric: tabular-nums; font-size: var(--fs-xs); letter-spacing: .2em; color: var(--stone); font-weight: 600; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 48px; padding: .85rem 1.5rem;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: 999px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, var(--wood));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { --bd: var(--hover, var(--wood)); color: var(--hover-fg, var(--paper)); }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .8rem; }
.btn--lg { min-height: 58px; padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--wood { --bg: var(--wood); --bd: var(--wood); --fg: #fff; --hover: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); --hover: var(--wood); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --hover: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--paper); --bd: rgba(251, 249, 245, .45); --hover: var(--paper); --hover-fg: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--fs-sm);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--wood); }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease), color .3s;
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; }
.brand { position: relative; display: block; width: clamp(170px, 14vw, 215px); flex: none; }
.brand__logo { width: 100%; height: auto; transition: opacity .35s; }
.brand__logo--light { position: absolute; inset: 0; opacity: 0; }

.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: clamp(1rem, 1.6vw, 2rem); }
.nav__link {
  position: relative; display: inline-block; padding-block: .5rem;
  font-size: .9rem; font-weight: 500;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }

.site-header.is-scrolled { --header-h: 68px; background: rgba(244, 239, 231, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(20, 19, 18, .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-over-dark:not(.is-scrolled) { color: var(--paper); }
.site-header.is-over-dark:not(.is-scrolled) .brand__logo--dark { opacity: 0; }
.site-header.is-over-dark:not(.is-scrolled) .brand__logo--light { opacity: 1; }
.site-header.is-over-dark:not(.is-scrolled) .burger__lines i { background: var(--paper); }

@media (min-width: 1100px) {
  .nav, .header-cta { display: inline-flex; }
  .burger { display: none !important; }
}

/* Mega menú de servicios */
.nav__item--mega { position: relative; }
.mega {
  position: absolute; top: 100%; left: 50%; width: min(820px, 80vw);
  display: grid; grid-template-columns: 1fr 220px; gap: 1.5rem;
  padding: 1.5rem; margin-top: .75rem;
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(20, 19, 18, .35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega__link { display: grid; gap: .1rem; padding: .7rem .85rem; border-radius: var(--radius); transition: background .25s; }
.mega__link:hover, .mega__link:focus-visible { background: var(--ivory); }
.mega__name { font-weight: 600; font-size: .95rem; }
.mega__desc { font-size: .78rem; color: var(--stone); line-height: 1.4; }
.mega__preview { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.mega__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }

/* Burger + menú móvil */
.burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; position: relative; z-index: 120; }
.burger__lines { width: 26px; height: 10px; position: relative; }
.burger__lines i { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease), background .3s; }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 100%; }
.menu-open .burger__lines i { background: var(--paper) !important; }
.menu-open .burger__lines i:first-child { top: 50%; transform: rotate(45deg); }
.menu-open .burger__lines i:last-child { top: 50%; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .brand__logo--dark { opacity: 0; }
.menu-open .brand__logo--light { opacity: 1; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  padding-top: calc(var(--header-h) + 1rem); overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: block; visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu__nav { display: grid; gap: 2rem; padding-bottom: 3rem; }
.mobile-menu__services { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; }
.mobile-menu__services a { font-size: 1rem; color: #d7d0c6; }
.mobile-menu__main { display: grid; gap: .25rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; }
.mobile-menu__main a { font-size: clamp(1.4rem, 5.5vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.mobile-menu__main a:hover, .mobile-menu__services a:hover { color: var(--wood-light); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--paper); overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media .img-ph { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 19, 18, .82) 0%, rgba(20, 19, 18, .45) 45%, rgba(20, 19, 18, .05) 75%),
    linear-gradient(0deg, rgba(20, 19, 18, .75) 0%, rgba(20, 19, 18, 0) 45%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 4vw, 5.5rem); }
.hero__title { font-size: var(--fs-display); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child { color: var(--wood-light); }
.hero__bottom { display: grid; gap: 2rem; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.hero__bottom > * { min-width: 0; }
.hero__text { max-width: 50ch; font-size: var(--fs-lg); line-height: 1.6; color: #e6dfd4; }
.hero__text strong { color: var(--paper); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto; align-items: end; }
}
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #cfc7bb; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }

/* Sello giratorio "Muebles en 7 días" */
.seal { position: relative; width: clamp(112px, 9vw, 150px); aspect-ratio: 1; flex: none; }
.seal svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font-size: 9.6px; letter-spacing: 2.6px; font-weight: 600; fill: currentColor; text-transform: uppercase; }
.seal__center { position: absolute; inset: 28%; display: grid; place-items: center; border-radius: 50%; background: var(--wood); color: #fff; font-weight: 800; font-size: clamp(1.1rem, .9rem + .8vw, 1.5rem); letter-spacing: -.04em; }
.seal--hero { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 2rem); z-index: 3; color: var(--paper); }
@media (max-width: 699px) { .seal--hero { display: none; } .hero__actions .btn { width: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { display: none; }
@media (min-width: 900px) {
  .scroll-cue { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-xs); letter-spacing: .25em; text-transform: uppercase; color: #cfc7bb; }
  .scroll-cue i { width: 1px; height: 48px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
  .scroll-cue i::after { content: ""; position: absolute; left: 0; width: 1px; height: 45%; background: var(--wood-light); animation: cue 2.2s var(--ease-in-out) infinite; }
}
@keyframes cue { 0% { top: -45%; } 100% { top: 100%; } }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 4vw, 6rem)); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 20ch; }
.page-hero__lead { margin-top: 1.25rem; max-width: 56ch; }
.page-hero--split { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1000px) { .page-hero--split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.page-hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.page-hero__media img, .page-hero__media .img-ph { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .page-hero__media { aspect-ratio: 5 / 6; max-height: 78vh; } }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-hero__tag { position: absolute; left: 1rem; bottom: 1rem; background: rgba(251, 249, 245, .92); backdrop-filter: blur(8px); padding: .5rem .9rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-xs); letter-spacing: .08em; color: var(--stone); margin-bottom: 1.75rem; }
.breadcrumbs a:hover { color: var(--wood); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .5; }

/* ---------- Statement ---------- */
.statement { font-size: clamp(1.3rem, 1.1rem + .95vw, 2rem); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; max-width: 34ch; }
.statement em { font-style: normal; color: var(--wood); }
.statement-wrap { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .statement-wrap { grid-template-columns: 220px 1fr; } }
.statement-aside { display: grid; gap: .75rem; align-content: start; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.25rem; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee__item { font-size: clamp(1.1rem, .95rem + .8vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wood); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Lista de servicios (home / índice) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { position: relative; border-bottom: 1px solid var(--line); }
.svc-row__link { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.5rem; align-items: center; padding-block: clamp(1.25rem, 1rem + 1vw, 2rem); }
.svc-row__num { align-self: start; padding-top: .6em; }
.svc-row__name { font-size: clamp(1.3rem, 1.1rem + 1vw, 2.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; transition: transform .6s var(--ease), color .3s; }
.svc-row__desc { grid-column: 2; color: var(--ink-soft); max-width: 60ch; font-size: .95rem; line-height: 1.6; }
.svc-row__cta { grid-row: 1 / span 2; grid-column: 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s var(--ease), color .4s, border-color .4s, transform .5s var(--ease); }
.svc-row__cta .icon { width: 20px; height: 20px; }
.svc-row__thumb { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-row:hover .svc-row__name { transform: translateX(.5rem); color: var(--wood); }
.svc-row:hover .svc-row__cta { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .svc-row__link { grid-template-columns: 64px .8fr 1.4fr auto; align-items: start; }
  .svc-row__name { padding-top: .1em; }
  .svc-row__cta { align-self: center; }
  .svc-row__desc { grid-column: 3; }
  .svc-row__cta { grid-row: auto; grid-column: 4; }
  .svc-row__thumb { display: none; }
}
/* Preview flotante que sigue al cursor (desktop) */
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4 / 5; pointer-events: none;
  border-radius: var(--radius-lg); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  box-shadow: 0 40px 80px -30px rgba(20, 19, 18, .5);
}
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.svc-preview img.is-active { opacity: 1; }
@media (hover: none), (max-width: 899px) { .svc-preview { display: none; } }

/* ---------- Tarjetas de servicio ---------- */
.svc-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.svc-card { position: relative; display: grid; gap: 1rem; }
.svc-card__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card h3 { font-size: var(--fs-h4); }
.svc-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Proceso (scroll horizontal) ---------- */
.process { position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; }
.process__intro { padding-top: var(--section); }
.process__intro h2 { font-size: var(--fs-h2); max-width: 14ch; }
.process__track { display: grid; gap: 3rem; padding-block: 3rem var(--section); }
.process__panel { display: grid; gap: 1.5rem; }
.process__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: #2a2724; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.process__num { font-size: clamp(2.6rem, 2.2rem + 2.2vw, 4.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(201, 149, 95, .7); }
.process__panel h3 { font-size: var(--fs-h3); }
.process__panel p { color: #c9c2b8; max-width: 46ch; }
@media (min-width: 1000px) {
  .process--pin .process__viewport { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .process--pin .process__intro { padding-top: 0; }
  .process--pin .process__track { display: flex; gap: 5vw; width: max-content; padding: 3rem var(--gutter) 0; }
  .process--pin .process__panel { width: min(68vw, 980px); grid-template-columns: 1.25fr 1fr; align-items: end; gap: 2.5rem; }
}
.process__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 1px; background: rgba(255, 255, 255, .15); display: none; }
.process__progress span { display: block; height: 100%; width: 100%; background: var(--wood-light); transform-origin: left; transform: scaleX(0); }
@media (min-width: 1000px) { .process--pin .process__progress { display: block; } }

/* Pasos compactos (páginas de servicio) */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: grid; gap: 1rem; align-content: start; }
.step__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__head { display: flex; align-items: baseline; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.section--dark .step__head { border-color: rgba(255, 255, 255, .15); }
.step h3 { font-size: var(--fs-h4); }
.step p { color: var(--ink-soft); }
.section--dark .step p { color: #c9c2b8; }

/* ---------- Opciones de servicio ---------- */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.option { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; transition: background .35s; }
.option:hover { background: var(--paper); }
.option .num { min-width: 2ch; }

/* Comparación / bloques extra */
.compare { display: grid; gap: 1rem; }
@media (min-width: 800px) { .compare { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.compare__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: grid; gap: .6rem; align-content: start; }
.compare__item h3 { font-size: var(--fs-h4); }
.compare__item p { color: var(--ink-soft); }
.compare__item--current { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.compare__item--current p { color: #c9c2b8; }

/* ---------- Texto SEO / prose ---------- */
.prose { display: grid; gap: 1.1rem; color: var(--ink-soft); }
.prose h2 { font-size: var(--fs-h3); color: var(--ink); margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h4); color: var(--ink); margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; }
.prose a { color: var(--wood-dark); text-decoration: underline; text-underline-offset: 3px; }
.split { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 6rem; } .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

/* ---------- Etiquetas ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tags li { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 500; color: var(--ink); background: rgba(251, 249, 245, .6); }
.tags .icon { width: 14px; height: 14px; color: var(--wood); }
.tags--sm { margin-top: .75rem; gap: .35rem; }
.tags--sm li { padding: .25rem .6rem; font-size: .75rem; color: var(--ink-soft); }

/* ---------- Índice de página ---------- */
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; padding-block: 1rem; border-block: 1px solid var(--line); font-size: .85rem; }
.toc__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-right: .5rem; }
.toc a { padding: .35rem .8rem; border-radius: 999px; transition: background .25s, color .25s; }
.toc a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Tarjetas de opciones ---------- */
.option-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.option-card { background: var(--ivory); padding: 1.5rem; display: grid; gap: .5rem; align-content: start; transition: background .3s; }
.option-card:hover { background: var(--paper); }
.option-card h3 { font-size: var(--fs-h4); }
.option-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Materiales ---------- */
.specs { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.spec { border-top: 1px solid var(--line); padding-top: 1rem; }
.spec dt { font-weight: 700; margin-bottom: .35rem; }
.spec dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Guía ---------- */
.guide { display: grid; gap: 0; counter-reset: g; }
.guide li { counter-increment: g; position: relative; padding: 1.25rem 0 1.25rem 3.25rem; border-bottom: 1px solid var(--line); }
.guide li:first-child { border-top: 1px solid var(--line); }
.guide li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; color: var(--wood); }
.guide h3 { font-size: var(--fs-h4); margin-bottom: .35rem; }
.guide p { color: var(--ink-soft); }

/* ---------- Bloques del listado de servicios ---------- */
.svc-blocks { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.svc-block { display: grid; gap: 1.75rem; align-items: center; scroll-margin-top: 90px; }
@media (min-width: 1000px) {
  .svc-block { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .svc-block:nth-child(even) .svc-block__media { order: 2; }
}
.svc-block__media { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; background: var(--sand); }
@media (max-width: 999px) { .svc-block__media { aspect-ratio: 4 / 3; } }
.svc-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-block:hover .svc-block__media img { transform: scale(1.04); }
.svc-block__body { display: grid; gap: .9rem; align-content: center; }
.svc-block__body h2 { font-size: var(--fs-h2); }
.svc-block__body h2 a:hover { color: var(--wood); }
.svc-block__body > p { color: var(--ink-soft); max-width: 60ch; }
.svc-block__lead { font-size: var(--fs-lg); color: var(--ink) !important; font-weight: 500; }
.svc-block__body .tags { margin-top: .25rem; }
.svc-block__options { font-size: .9rem; }
.svc-block__options strong { color: var(--ink); }
.svc-block__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(12, 1fr); } .gallery > :nth-child(3n+1) { grid-column: span 7; } .gallery > :nth-child(3n+2) { grid-column: span 5; } .gallery > :nth-child(3n) { grid-column: span 12; } }
.gallery__item { border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.gallery__item:only-child { grid-column: 1 / -1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- Proyectos ---------- */
.projects { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem) 1.5rem; }
@media (min-width: 800px) { .projects { grid-template-columns: repeat(2, 1fr); } .projects--home > :first-child { grid-column: 1 / -1; } }
.project-card { display: grid; gap: 1.1rem; }
.project-card__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.projects--home > :first-child .project-card__media { aspect-ratio: 16 / 8; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.project-card h3 { font-size: var(--fs-h4); }
.project-card p { color: var(--ink-soft); font-size: .95rem; }
.project-card__city { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.chip { position: absolute; left: 1rem; top: 1rem; background: rgba(251, 249, 245, .92); padding: .35rem .75rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter { padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.project-card.is-hidden { display: none; }
.project-card h3, .svc-card h3 { transition: color .3s; }
.project-card:hover h3, .svc-card:hover h3 { color: var(--wood); }
/* Referencias de diseño (portafolio) */
.ref-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ref-item { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.ref-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ref-item:hover img { transform: scale(1.05); }
.ref-item__label { position: absolute; left: .75rem; bottom: .75rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(251, 249, 245, .92); font-size: .75rem; font-weight: 600; }
.ref-item.is-hidden { display: none; }

/* Antes al pasar el mouse sobre la tarjeta */
.project-card__before { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.project-card__before img { width: 100%; height: 100%; object-fit: cover; }
.project-card:hover .project-card__before, .project-card.show-before .project-card__before { opacity: 1; }
.chip__before { display: none; }
.project-card:hover .chip__after, .project-card.show-before .chip__after { display: none; }
.project-card:hover .chip__before, .project-card.show-before .chip__before { display: inline; }
.project-card .chip { z-index: 2; }

/* Antes / después */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); user-select: none; touch-action: pan-y; --pos: 50%; }
@media (min-width: 1000px) { .ba { aspect-ratio: 16 / 10; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { z-index: 2; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--paper); transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.ba__label { z-index: 2; position: absolute; top: 1rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(20, 19, 18, .7); color: var(--paper); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }
.ba input[type="range"] { z-index: 3; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.story { display: grid; gap: 2rem; }
@media (min-width: 900px) { .story { grid-template-columns: repeat(3, 1fr); } }
.story__item { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: .6rem; }
.story__item h2, .story__item h3 { font-size: var(--fs-h4); }
.story__item p { color: var(--ink-soft); }
.facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 2rem; }
.facts dt { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.facts dd { font-weight: 600; }
.demo-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--stone); }

/* ---------- Beneficios / números ---------- */
.why { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why__item { background: var(--ivory); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: .8rem; align-content: start; transition: background .4s; }
.why__item:hover { background: var(--paper); }
.why__item .icon { width: 30px; height: 30px; color: var(--wood); }
.why__item h3 { font-size: var(--fs-h4); }
.why__item p { color: var(--ink-soft); font-size: .95rem; }
.why__foot { margin-top: 1rem; font-size: var(--fs-xs); color: var(--stone); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__value { font-size: clamp(2rem, 1.7rem + 1.5vw, 3rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat__value sup { font-size: .45em; color: var(--wood); }
.stat__label { margin-top: .5rem; color: var(--stone); font-size: var(--fs-sm); }

/* ---------- Zonas ---------- */
.zones { display: grid; gap: 1px; background: rgba(255, 255, 255, .12); }
@media (min-width: 700px) { .zones { grid-template-columns: repeat(4, 1fr); } }
.zone { background: var(--ink); padding: 1.75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 700px) { .zone { padding: 2rem 1.5rem; } }
.zone strong { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.02em; }
.zone .icon { color: var(--wood-light); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding-block: 1.2rem; font-size: var(--fs-base); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; transition: transform .45s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--wood); }
.faq__answer { padding-bottom: 1.5rem; color: var(--ink-soft); max-width: 70ch; }

/* ---------- CTA de servicio ---------- */
.cta-inline { display: grid; gap: 1.5rem; align-items: center; padding: clamp(2rem, 1.5rem + 3vw, 4rem); border-radius: var(--radius-lg); background: var(--sand); }
@media (min-width: 900px) { .cta-inline { grid-template-columns: 1fr auto; } }
.cta-inline h2 { font-size: var(--fs-h3); }

/* ---------- CTA universal ---------- */
.cta-universal { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(6rem, 4rem + 10vw, 13rem); }
.cta-universal__bg { position: absolute; inset: -10% 0; opacity: .32; }
.cta-universal__bg img, .cta-universal__bg .img-ph { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.cta-universal::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 30% 50%, rgba(20, 19, 18, .35), rgba(20, 19, 18, .9) 70%); }
.cta-universal__inner { position: relative; z-index: 2; display: grid; gap: 1.5rem; justify-items: start; }
.cta-universal__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 16ch; }
.cta-universal__text { font-size: var(--fs-lg); color: #e1d9ce; max-width: 44ch; }
.cta-universal__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #cfc7bb; padding-top: clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; }
.site-footer__top { display: grid; gap: 3rem; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.3fr 1fr .8fr 1.1fr; gap: 2.5rem; } }
.site-footer__brand img { width: 220px; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 36ch; font-size: .95rem; }
.site-footer__col ul { display: grid; gap: .55rem; margin-top: 1.1rem; font-size: .92rem; }
.site-footer__col a:hover { color: var(--wood-light); }
.site-footer__contact li > * { display: inline-flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact .icon { margin-top: .25em; color: var(--wood-light); }
.site-footer__social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.site-footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: background .3s, color .3s; }
.site-footer__social a:hover { background: var(--wood); color: #fff; border-color: var(--wood); }
.site-footer__areas { margin-top: 3rem; font-size: var(--fs-sm); color: #9d958a; }
.site-footer__giant { margin-top: 3rem; font-size: clamp(1.8rem, 5.4vw, 5.5rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(207, 199, 187, .22); white-space: nowrap; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; margin-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); color: #9d958a; }
.site-footer__bottom a:hover { color: var(--wood-light); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem; height: 56px; padding: 0 1.1rem 0 1rem;
  background: var(--wa); color: #fff; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transform: translateY(140%); transition: transform .6s var(--ease), box-shadow .3s;
}
.wa-float.is-visible { transform: translateY(0); }
.wa-float:hover { box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .8); }
.wa-float .icon { width: 26px; height: 26px; }
@media (max-width: 599px) { .wa-float__label { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.contact-list { display: grid; gap: 1.25rem; }
.contact-list a, .contact-list div { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--wood); margin-top: .2rem; }
.contact-list strong { display: block; }
.contact-list span { color: var(--ink-soft); }
.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; min-height: 50px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(179, 124, 77, .18); }
.form__note { font-size: var(--fs-xs); color: var(--stone); }
.form__note a { text-decoration: underline; }

/* ---------- Inspiración ---------- */
.insp { display: grid; gap: 4rem; }
.insp__cat { display: grid; gap: 1.5rem; }
.insp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.insp__head h2 { font-size: var(--fs-h3); }
.insp__head p { color: var(--ink-soft); max-width: 50ch; }
.insp__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.insp__grid .gallery__item { aspect-ratio: 4 / 5; }

/* ---------- Nosotros / valores ---------- */
.values { display: grid; gap: 2rem; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: .6rem; }
.value h3 { font-size: var(--fs-h4); }
.value p { color: var(--ink-soft); }
.wide-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

/* Recorrido del cliente */
.journey { display: grid; gap: 0; counter-reset: j; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(5, 1fr); } }
.journey li { position: relative; padding: 1.25rem 0 1.25rem 2.5rem; border-left: 1px solid var(--line); }
@media (min-width: 900px) { .journey li { padding: 2.5rem 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); } }
.journey li::before { counter-increment: j; content: "0" counter(j); position: absolute; left: -.6rem; top: 1.2rem; background: var(--ivory); color: var(--wood); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; padding: .1rem 0; }
@media (min-width: 900px) { .journey li::before { left: 0; top: -.8rem; padding-right: .5rem; } }
.journey strong { display: block; font-size: var(--fs-h4); letter-spacing: -.02em; }
.journey span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- 404 / legal / mapa ---------- */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.notfound__code { font-size: clamp(5rem, 3.5rem + 8vw, 10rem); font-weight: 800; letter-spacing: -.07em; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--wood); }
.sitemap-list { display: grid; gap: 2rem; }
@media (min-width: 800px) { .sitemap-list { grid-template-columns: repeat(3, 1fr); } }
.sitemap-list ul { display: grid; gap: .5rem; margin-top: 1rem; }
.sitemap-list a:hover { color: var(--wood); }

/* ---------- Imagen pendiente ---------- */
.img-ph { background: linear-gradient(135deg, var(--sand), var(--line)); width: 100%; height: 100%; min-height: 200px; }

/* ==========================================================================
   Estados de animación (solo con JS activo; ver main.js)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.js [data-reveal-img] img { transform: scale(1.18); }
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero [data-hero-fade] { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal-img], .js [data-reveal-img] img, .js .hero__title .line > span, .js .hero [data-hero-fade] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }
}
