/* ==========================================================================
   Galería Amelia — Sitio institucional
   Paleta, tipografía y reglas según Manual de Marca 2026 y Sistema de Marca.
   ========================================================================== */

/* Monotype Corsiva: tipografía de firma según el manual. Se usa la instalada
   en el equipo (Windows / Office); si no está, cae en Cormorant Garamond Italic. */
@font-face {
  font-family: "Amelia Firma";
  src: local("Monotype Corsiva"), local("MonotypeCorsiva"), local("MTCORSVA");
  font-display: swap;
}

:root {
  /* Marca */
  --choco: #723A13;
  --choco-prof: #331A09;
  --choco-osc: #522A0E;
  --choco-claro: #B89C89;
  --choco-suave: #E6DCD5;
  --beige: #F2ECDD;
  --beige-prof: #6D6A63;
  --beige-osc: #AEAA9F;
  --beige-claro: #F8F6EE;
  --beige-suave: #FDFCF9;
  --cafe: #B16934;
  --cafe-osc: #7F4C25;
  --cafe-claro: #D8B49A;
  --negro: #0B0B0B;
  --gris: #333533;
  --blanco: #FFFFFF;

  /* Rubros */
  --moda: #8C2F39;
  --gastronomia: #E07B24;
  --entretenimiento: #6B4C7A;
  --belleza: #C4847A;
  --servicios: #3F5566;
  --emprendedores: #6E7A3B;

  --ff: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-script: "Amelia Firma", "Cormorant Garamond", Georgia, serif;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--choco-prof);
  color: var(--gris);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--cafe); color: var(--beige); }
:focus-visible { outline: 2px solid var(--cafe); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografía base ---------- */
.h2 {
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: .96;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.025em;
  margin: 0;
}
.h2--xl { font-size: clamp(52px, 10vw, 180px); }
.script {
  font-family: var(--ff-script);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.1;
  color: var(--cafe);
  margin: 0 0 .4em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--choco);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--cafe-claro); }

/* Split text */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--choco); --t: var(--beige);
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  height: 56px; padding: 0 26px 0 30px; border-radius: 99px;
  background: var(--b); color: var(--t);
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cafe); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn i { width: 26px; height: 26px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.btn i::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px;
  border-right: 2px solid var(--b); border-top: 2px solid var(--b); transform: translateX(-1px) rotate(45deg);
  transition: border-color .5s var(--ease);
}
.btn:hover i::after { border-color: var(--cafe); }
.btn--light { --b: var(--beige); --t: var(--choco-prof); }
.btn--light:hover { color: var(--beige); }
.btn--ghost { --b: transparent; --t: var(--beige); border: 1px solid rgba(242,236,221,.35); }
.btn--ghost i::after { border-color: var(--choco-prof); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px; transition: background-size .6s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link i { width: 14px; height: 14px; position: relative; }
.link i::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; }
.link i::after { content: ""; position: absolute; right: 0; top: 2px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }

/* ---------- Barra de carga ---------- */
.loadbar { position: fixed; inset: 0 0 auto; height: 2px; z-index: 300; pointer-events: none; }
.loadbar span { display: block; height: 100%; background: var(--cafe); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; }
.cursor__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cafe); transition: transform .45s var(--ease), background .3s;
}
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--beige);
  transition: opacity .3s, transform .45s var(--ease); white-space: nowrap;
}
.cursor.is-active .cursor__dot { transform: scale(8.4); background: rgba(177,105,52,.92); }
.cursor.is-active .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: flex; align-items: center; gap: 32px;
  height: 84px; padding: 0 var(--gutter);
  color: var(--beige);
  transition: transform .7s var(--ease), color .5s, background-color .5s, height .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(51,26,9,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity .5s, background-color .5s;
  border-bottom: 1px solid rgba(242,236,221,.08);
}
.nav.is-scrolled { height: 68px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.on-light { color: var(--choco-prof); }
.nav.on-light::before { background: rgba(248,246,238,.82); border-bottom-color: rgba(114,58,19,.1); }
.nav__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.nav__mono { width: 34px; height: 34px; position: relative; }
.nav__mono img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.nav__mono img + img { opacity: 0; }
.nav.on-light .nav__mono img:first-child { opacity: 0; }
.nav.on-light .nav__mono img + img { opacity: 1; }
.nav__name { font-size: 13px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta {
  height: 42px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 99px;
  border: 1px solid currentColor; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s, color .4s, border-color .4s;
}
.nav__cta:hover { background: var(--cafe); border-color: var(--cafe); color: var(--beige); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.menu-open .nav { color: var(--beige); }
.menu-open .nav::before { opacity: 0; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 190; background: var(--choco-prof); color: var(--beige);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-size: clamp(38px, 11vw, 64px); font-weight: 700; font-stretch: 108%; line-height: 1.1; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 16px; }
.menu__links small { font-size: 12px; font-weight: 600; color: var(--cafe-claro); letter-spacing: .1em; }
.menu__foot { margin-top: auto; font-size: 13px; color: var(--choco-claro); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--choco-prof); color: var(--beige); }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(rgba(242,236,221,.05) 1px, transparent 1px) 0 0 / 100% 12.5vh,
    linear-gradient(90deg, rgba(242,236,221,.05) 1px, transparent 1px) 0 0 / 8.333vw 100%;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.hero__brand { position: relative; z-index: 2; margin: 0; width: min(46vw, 440px, 52vh); display: flex; flex-direction: column; align-items: center; }
.hero__edificio { width: 99.4%; height: auto; overflow: visible; }
.hero__edificio .ink { fill: var(--beige); stroke: var(--beige); stroke-width: .9; stroke-linejoin: round; }
.hero__edificio .cut { fill: var(--choco-prof); }
.hero__wordmark { width: 100%; height: auto; margin-top: 6.2%; }

.hero__window {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  clip-path: inset(50% 50% 50% 50% round 24px);
}
.hero__window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.35); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(51,26,9,.55), rgba(51,26,9,.2) 40%, rgba(51,26,9,.85)); }

.hero__claim {
  position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(90px, 14vh, 150px); margin: 0;
  font-size: clamp(42px, 7.2vw, 128px); font-weight: 700; font-stretch: 110%; line-height: .95; letter-spacing: -.03em;
  pointer-events: none;
}
.hero__meta {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--choco-claro);
  border-top: 1px solid rgba(242,236,221,.14); padding-top: 18px;
}
.hero__meta-item { overflow: hidden; display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 26px; background: rgba(242,236,221,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--beige); animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   CONCEPTO
   ========================================================================== */
.concepto { background: var(--beige-claro); color: var(--choco-prof); padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 180px); }
.concepto__lead {
  margin: 0; max-width: 18.5em;
  font-size: clamp(30px, 4.3vw, 70px); line-height: 1.08; font-weight: 600; font-stretch: 104%; letter-spacing: -.022em;
}
.concepto__lead .w { opacity: .14; }
.concepto__row { margin-top: clamp(70px, 10vw, 150px); display: grid; grid-template-columns: 1fr 1.05fr .9fr; gap: clamp(24px, 4vw, 70px); align-items: end; }
.concepto__fig { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.concepto__fig img { width: 100%; height: 118%; object-fit: cover; }
.concepto__fig--a { aspect-ratio: 3/4; }
.concepto__fig--b { aspect-ratio: 4/5; margin-bottom: 18%; }
.concepto__text { padding-bottom: 6%; color: var(--gris); max-width: 30em; }
.concepto__text p { margin: 0 0 1.1em; }

/* ==========================================================================
   CIFRAS + MARQUEE
   ========================================================================== */
.cifras { background: var(--choco); color: var(--beige); padding: clamp(100px, 13vw, 190px) 0 0; overflow: hidden; }
.cifras__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(60px, 8vw, 110px); }
.cifras__head .eyebrow { margin: 0; }
.cifras__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.cifra { position: relative; padding: 38px 28px 44px 0; display: flex; flex-direction: column; gap: 22px; }
.cifra__fig { display: flex; align-items: flex-start; gap: 6px; white-space: nowrap; }
.cifra::before { content: ""; position: absolute; left: 0; right: 28px; top: 0; height: 1px; background: rgba(242,236,221,.35); transform-origin: 0 50%; transform: scaleX(var(--line, 0)); }
.cifra__n { font-size: clamp(50px, 5.8vw, 100px); font-weight: 700; font-stretch: 106%; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.cifra__u { font-size: clamp(22px, 2.2vw, 36px); font-weight: 600; color: var(--cafe-claro); margin-top: .2em; }
.cifra__l { font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; letter-spacing: .02em; color: var(--choco-suave); max-width: 16em; line-height: 1.45; }

.marquee { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid rgba(242,236,221,.18); padding: 28px 0 30px; overflow: hidden; background: var(--choco-osc); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.marquee__track span { font-size: clamp(34px, 4.6vw, 72px); font-weight: 700; font-stretch: 115%; letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(242,236,221,.55); white-space: nowrap; }
.marquee__track span:nth-of-type(odd) { color: var(--beige); -webkit-text-stroke: 0; }
.marquee__track b { width: 14px; height: 14px; border-radius: 50%; background: var(--cafe); flex: none; }

/* ==========================================================================
   PERSONALIDAD
   ========================================================================== */
.perso { background: var(--beige); color: var(--choco-prof); }
.perso__stage { position: relative; height: 100vh; height: 100svh; min-height: 600px; display: grid; grid-template-columns: minmax(220px, .7fr) 1.9fr .85fr; align-items: center; gap: clamp(20px, 4vw, 60px); padding: 100px var(--gutter) 60px; overflow: hidden; }
.perso__left { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.perso__intro { max-width: 20em; margin: 0; color: var(--gris); }
.perso__words { position: relative; height: 1.1em; font-size: clamp(48px, 7vw, 132px); font-weight: 700; font-stretch: 104%; letter-spacing: -.04em; line-height: 1.05; overflow: hidden; }
.perso__word { position: absolute; left: 0; top: 0; white-space: nowrap; }
.perso__word:not(:first-child) { transform: translateY(110%); }
.perso__media { position: relative; aspect-ratio: 3/4; width: 100%; max-height: 72vh; justify-self: end; border-radius: var(--radius); overflow: hidden; background: var(--choco-suave); }
.perso__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.perso__media img:first-child { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   EL EDIFICIO — galería horizontal
   ========================================================================== */
.edificio { background: var(--negro); color: var(--beige); }
.edificio__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.edificio__track { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); padding: 0 var(--gutter); height: 100%; will-change: transform; }
.edificio__intro { flex: none; width: min(520px, 82vw); padding-right: 4vw; }
.edificio__intro p { color: var(--choco-claro); max-width: 26em; margin: 28px 0 0; }
.edif-line { width: 70%; margin-top: 44px; overflow: visible; }
.edif-line .ink { fill: transparent; stroke: var(--cafe); stroke-width: 1.1; }
.edif-line .cut { fill: none; stroke: none; }

.card { flex: none; margin: 0; height: 62vh; aspect-ratio: 3/4; display: flex; flex-direction: column; gap: 16px; }
.card--tall { height: 74vh; }
.card--wide { aspect-ratio: 4/3.4; height: 54vh; }
.card__img { flex: 1; overflow: hidden; border-radius: var(--radius); background: var(--gris); position: relative; }
.card__img img { position: absolute; top: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; }
.card figcaption { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--choco-claro); }
.edificio__end { flex: none; width: min(460px, 80vw); padding: 0 6vw 0 4vw; }
.edificio__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; height: 1px; background: rgba(242,236,221,.15); }
.edificio__progress span { display: block; height: 100%; background: var(--cafe); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   RUBROS
   ========================================================================== */
.rubros { background: var(--beige-claro); color: var(--choco-prof); padding: clamp(110px, 14vw, 200px) 0; }
.rubros__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(60px, 7vw, 100px); }
.rubros__head .h2 { text-align: right; }
.rubros__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(114,58,19,.18); }
.rubro {
  position: relative; display: grid; grid-template-columns: 64px 1.25fr 1fr 60px; align-items: center; gap: 24px;
  padding: 26px 24px; border-top: 1px solid rgba(114,58,19,.18); cursor: default; isolation: isolate; outline: none;
  transition: color .6s var(--ease);
}
.rubro::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rc);
  clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease);
}
.rubro:hover, .rubro:focus-visible, .rubro.is-active { color: var(--beige); }
.rubro:hover::before, .rubro:focus-visible::before, .rubro.is-active::before { clip-path: inset(0 0 0 0); }
.rubro__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rc); display: grid; place-items: center; transition: border-color .6s, transform .7s var(--ease); }
.rubro__icon::after { content: ""; width: 54%; height: 54%; background: var(--rc); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background .6s; }
.rubro:hover .rubro__icon, .rubro:focus-visible .rubro__icon, .rubro.is-active .rubro__icon { border-color: rgba(242,236,221,.6); transform: rotate(-8deg) scale(1.06); }
.rubro:hover .rubro__icon::after, .rubro:focus-visible .rubro__icon::after, .rubro.is-active .rubro__icon::after { background: var(--beige); }
.rubro__name { font-size: clamp(30px, 4vw, 64px); font-weight: 700; font-stretch: 110%; letter-spacing: -.03em; line-height: 1; transition: transform .7s var(--ease); }
.rubro:hover .rubro__name, .rubro.is-active .rubro__name { transform: translateX(14px); }
.rubro__desc { font-size: 16px; color: inherit; opacity: .8; }
.rubro__arrow { justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; position: relative; opacity: .5; transition: opacity .5s, transform .7s var(--ease); }
.rubro__arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.rubro:hover .rubro__arrow, .rubro.is-active .rubro__arrow { opacity: 1; transform: rotate(-45deg); }

/* ==========================================================================
   CROQUIS
   ========================================================================== */
.croquis { background: var(--choco-prof); color: var(--beige); padding: clamp(110px, 13vw, 180px) 0 clamp(90px, 10vw, 150px); position: relative; overflow: hidden; }
.croquis::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background:
    linear-gradient(rgba(216,180,154,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(216,180,154,.05) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent);
}
.croquis__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }
.croquis__intro { max-width: 26em; color: var(--choco-claro); margin: 0; }
.croquis__ui { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }

.croquis__panel { display: flex; flex-direction: column; gap: 26px; }
.levels { display: flex; flex-direction: column; gap: 8px; }
.level {
  position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(242,236,221,.12); background: rgba(242,236,221,.02);
  transition: background .5s var(--ease), border-color .5s, color .5s;
}
.level__badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; font-weight: 700; font-stretch: 112%; background: rgba(242,236,221,.06); transition: background .5s, color .5s; }
.level__name { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.level__meta { display: block; font-size: 12px; color: var(--choco-claro); margin-top: 2px; }
.level:hover { border-color: rgba(242,236,221,.3); }
.level.is-active { background: var(--beige); color: var(--choco-prof); border-color: var(--beige); }
.level.is-active .level__badge { background: var(--choco); color: var(--beige); }
.level.is-active .level__meta { color: var(--choco); }

.finder label, .info__kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cafe-claro); margin: 0 0 10px; }
.finder__row { display: flex; align-items: center; height: 54px; border-radius: 99px; border: 1px solid rgba(242,236,221,.22); padding: 0 6px 0 22px; transition: border-color .4s; }
.finder__row:focus-within { border-color: var(--cafe); }
.finder__prefix { font-weight: 700; color: var(--cafe-claro); margin-right: 4px; }
.finder input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--beige); font: 600 18px var(--ff); letter-spacing: .04em; }
.finder input::placeholder { color: rgba(242,236,221,.28); }
.finder button { width: 42px; height: 42px; border-radius: 50%; background: var(--cafe); position: relative; flex: none; transition: transform .5s var(--ease); }
.finder button:hover { transform: scale(1.06); }
.finder button i { position: absolute; left: 12px; top: 11px; width: 15px; height: 15px; border: 2px solid var(--beige); border-radius: 50%; }
.finder button i::after { content: ""; position: absolute; right: -6px; bottom: -4px; width: 7px; height: 2px; background: var(--beige); transform: rotate(45deg); }
.finder__msg { min-height: 1.4em; margin: 8px 0 0 4px; font-size: 13px; color: var(--cafe-claro); }

.info { padding: 22px; border-radius: 18px; background: rgba(242,236,221,.05); border: 1px solid rgba(242,236,221,.1); }
.info__title { margin: 0; font-size: 36px; font-weight: 700; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.05; }
.info__sub { margin: 8px 0 0; font-size: 14px; color: var(--choco-claro); }
.info__chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--rc, var(--cafe)); color: var(--beige); }

.toggles { display: flex; flex-direction: column; gap: 12px; }
.toggle { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; color: var(--choco-suave); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { width: 38px; height: 22px; border-radius: 99px; background: rgba(242,236,221,.14); position: relative; flex: none; transition: background .4s; }
.toggle span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--beige); transition: transform .45s var(--ease); }
.toggle input:checked + span { background: var(--cafe); }
.toggle input:checked + span::after { transform: translateX(16px); }
.toggle input:focus-visible + span { outline: 2px solid var(--cafe); outline-offset: 2px; }

.plan { min-width: 0; }
.plan__frame {
  position: relative; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(177,105,52,.12), transparent 70%),
    linear-gradient(rgba(216,180,154,.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(216,180,154,.07) 1px, transparent 1px) 0 0 / 32px 32px,
    #26130A;
  border: 1px solid rgba(242,236,221,.1);
  padding: 70px 34px 40px;
  perspective: 1600px;
}
.plan__corner { position: absolute; width: 22px; height: 22px; border-color: var(--cafe); border-style: solid; border-width: 0; z-index: 3; }
.plan__corner--tl { left: 16px; top: 16px; border-left-width: 1.5px; border-top-width: 1.5px; }
.plan__corner--tr { right: 16px; top: 16px; border-right-width: 1.5px; border-top-width: 1.5px; }
.plan__corner--bl { left: 16px; bottom: 16px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.plan__corner--br { right: 16px; bottom: 16px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.plan__hud { position: absolute; left: 50px; right: 50px; top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cafe-claro); z-index: 3; }
.plan__status { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.plan__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cafe); box-shadow: 0 0 0 0 rgba(177,105,52,.7); animation: pulse 1.6s infinite; }
.plan.is-ready .plan__dot { background: #9DB04F; animation: none; box-shadow: 0 0 10px rgba(157,176,79,.8); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(177,105,52,.7); } 100% { box-shadow: 0 0 0 10px rgba(177,105,52,0); } }
.plan__level-name { color: var(--choco-claro); text-align: right; }
.plan__scroller { position: relative; overflow: hidden; }
.plan__tilt { position: relative; will-change: transform; }
.plan__canvas svg { width: 100%; height: auto; overflow: visible; }
.plan__beam {
  position: absolute; top: -4%; bottom: -4%; left: 0; width: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, var(--cafe-claro) 15%, #fff 50%, var(--cafe-claro) 85%, transparent);
  box-shadow: 0 0 18px 4px rgba(216,180,154,.55), 0 0 60px 18px rgba(177,105,52,.25);
}
.plan__beam::before { content: ""; position: absolute; right: 2px; top: 0; bottom: 0; width: 160px; background: linear-gradient(90deg, transparent, rgba(216,180,154,.16)); }
.plan__hint { display: none; margin: 16px 0 0; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--choco-claro); }

/* Capas del plano */
.plan svg text { font-family: var(--ff); text-anchor: middle; dominant-baseline: central; pointer-events: none; user-select: none; }
.pl-circ path { fill: rgba(242,236,221,.075); }
.pl-blank path { fill: rgba(242,236,221,.03); }
.pl-banos path { fill: var(--servicios); }
.pl-gastro path { fill: var(--gastronomia); opacity: .78; }
.pl-recre path { fill: var(--emprendedores); opacity: .9; }
.pl-rampa path { fill: rgba(242,236,221,.12); }
.pl-ink path { fill: rgba(242,236,221,.35); }
.pl-extra path { fill: rgba(242,236,221,.06); }
.pl-terr path { fill: none; stroke: var(--belleza); stroke-width: 4; opacity: .8; }
.pl-walls path { fill: none; stroke: rgba(242,236,221,.62); stroke-linecap: round; stroke-linejoin: round; }
.pl-evac path { fill: none; stroke: #9DB04F; stroke-width: 6; stroke-dasharray: 14 14; animation: evac 1.2s linear infinite; }
@keyframes evac { to { stroke-dashoffset: -28; } }
.pl-loc { fill: rgba(216,180,154,.16); stroke: rgba(216,180,154,.55); stroke-width: 2.5; cursor: pointer; transition: fill .35s, stroke .35s; }
.pl-loc.is-terr { fill: rgba(196,132,122,.14); }
.pl-loc[data-rubro] { fill: color-mix(in srgb, var(--rc) 55%, transparent); }
.pl-loc.is-hover { fill: var(--cafe); stroke: var(--beige); }
.pl-loc.is-selected { fill: var(--beige); stroke: var(--beige); }
.pl-loc.is-pulse { animation: locpulse 1.1s var(--ease) 3; }
@keyframes locpulse { 50% { fill: var(--cafe); stroke-width: 8; } }
.pl-lbl { fill: var(--beige); font-weight: 600; letter-spacing: .02em; transition: fill .35s; }
.pl-lbl.is-selected { fill: var(--choco); font-weight: 800; }
.pl-tx { fill: rgba(242,236,221,.82); font-weight: 600; letter-spacing: .08em; }
.pl-tx.sum { letter-spacing: .3em; fill: var(--choco-claro); }
.pl-acc circle { fill: var(--cafe); }
.pl-acc path { fill: none; stroke: var(--beige); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.plan:not(.show-servicios) .pl-banos path, .plan:not(.show-servicios) .pl-gastro path, .plan:not(.show-servicios) .pl-recre path { fill: rgba(242,236,221,.06); }
.plan:not(.show-servicios) .pl-terr path { stroke: rgba(242,236,221,.12); }
.plan:not(.show-evac) .pl-evac { display: none; }

.plan__tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  padding: 12px 16px; border-radius: 12px; background: var(--beige); color: var(--choco-prof);
  box-shadow: 0 18px 40px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, calc(-100% - 18px)) scale(.92);
  transition: opacity .25s, transform .35s var(--ease); white-space: nowrap;
}
.plan__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 22px)) scale(1); }
.plan__tip b { display: block; font-size: 18px; font-weight: 700; font-stretch: 108%; }
.plan__tip span { display: block; font-size: 12px; color: var(--choco); }

.legend { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--choco-suave); }
.legend li { display: inline-flex; align-items: center; gap: 10px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.lg-loc { background: rgba(216,180,154,.3); border: 1px solid rgba(216,180,154,.8); }
.lg-circ { background: rgba(242,236,221,.16); }
.lg-banos { background: var(--servicios); }
.lg-gastro { background: var(--gastronomia); }
.lg-recre { background: var(--emprendedores); }
.lg-terr { background: repeating-linear-gradient(45deg, var(--belleza) 0 2px, transparent 2px 5px); border: 1px solid var(--belleza); }
.lg-acc { background: var(--cafe); border-radius: 50% !important; }

/* ==========================================================================
   INAUGURACIÓN
   ========================================================================== */
.inau { background: var(--negro); color: var(--beige); }
.inau__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.inau__frame { position: absolute; inset: 0; overflow: hidden; clip-path: inset(16% 20% 16% 20% round 28px); background: var(--choco-prof); }
.inau__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.inau__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.2), rgba(11,11,11,.05) 40%, rgba(11,11,11,.75)); opacity: 0; }
.inau__copy { position: absolute; left: var(--gutter); bottom: clamp(50px, 9vh, 100px); z-index: 2; }
.inau__copy .eyebrow { margin-bottom: 18px; }
.inau__title { margin: 0; font-size: clamp(56px, 11vw, 200px); font-weight: 700; font-stretch: 112%; line-height: .9; letter-spacing: -.04em; }
.inau__sound {
  position: absolute; right: var(--gutter); top: clamp(100px, 15vh, 140px); z-index: 2;
  display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 0 22px 0 18px; border-radius: 99px;
  border: 1px solid rgba(242,236,221,.4); background: rgba(11,11,11,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background .4s, border-color .4s;
}
.inau__sound:hover { background: var(--cafe); border-color: var(--cafe); }
.inau__bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.inau__bars i { width: 2px; height: 30%; background: currentColor; border-radius: 2px; }
.inau__sound[aria-pressed="true"] .inau__bars i { animation: bars .9s ease-in-out infinite alternate; }
.inau__sound[aria-pressed="true"] .inau__bars i:nth-child(2) { animation-delay: -.3s; }
.inau__sound[aria-pressed="true"] .inau__bars i:nth-child(3) { animation-delay: -.6s; }
.inau__sound[aria-pressed="true"] .inau__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bars { from { height: 20%; } to { height: 100%; } }

/* ==========================================================================
   AMELIA
   ========================================================================== */
.amelia { background: var(--beige); color: var(--choco-prof); padding: clamp(110px, 14vw, 200px) 0; }
.amelia__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.amelia__fig { margin: 0; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--choco-suave); }
.amelia__fig img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
.amelia__text .h2 { margin-bottom: 40px; }
.amelia blockquote { margin: 0; padding-left: 26px; border-left: 2px solid var(--cafe); }
.amelia blockquote p { margin: 0; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; color: var(--gris); max-width: 30em; }
.amelia__meta { display: flex; gap: 48px; margin: 44px 0 0; flex-wrap: wrap; }
.amelia__meta dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cafe); margin-bottom: 6px; }
.amelia__meta dd { margin: 0; font-weight: 600; }

/* ==========================================================================
   VISITANOS
   ========================================================================== */
.visit { background: var(--choco); color: var(--beige); padding: clamp(110px, 13vw, 190px) 0 clamp(90px, 10vw, 140px); }
.visit__head { margin-bottom: clamp(50px, 7vw, 100px); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.visit__cards { display: flex; flex-direction: column; }
.addr { padding: 30px 0; border-top: 1px solid rgba(242,236,221,.25); }
.addr:last-child { border-bottom: 1px solid rgba(242,236,221,.25); }
.addr__k { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cafe-claro); }
.addr h3 { margin: 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; }
.addr p { margin: 6px 0 18px; color: var(--choco-suave); }
.addr h3 + .link { margin-top: 18px; }
.visit__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--choco-osc); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.35) contrast(1.02); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--choco-prof); color: var(--beige); padding: clamp(90px, 10vw, 140px) 0 34px; }
.footer__brand img { width: min(420px, 70vw); height: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 30px; margin-top: 80px; padding-top: 36px; border-top: 1px solid rgba(242,236,221,.14); font-size: 15px; color: var(--choco-suave); }
.footer__cols p { margin: 0; line-height: 1.8; }
.footer__cols a:hover { color: var(--beige); }
.footer__k { font-size: 11px !important; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cafe-claro); margin-bottom: 10px !important; }
.footer__top { align-self: start; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--choco-claro); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .croquis__ui { grid-template-columns: 1fr; }
  .croquis__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .levels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); }
  .level { grid-template-columns: 1fr; justify-items: start; }
  .perso__stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
  .perso__left { grid-column: 1 / -1; align-self: end; }
  .perso__media { max-height: 50vh; }
  .rubro { grid-template-columns: 56px 1fr 50px; }
  .rubro__desc { grid-column: 2; grid-row: 2; margin-top: -12px; }
  .rubro__arrow { grid-row: 1 / span 2; grid-column: 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 70px; }
  .nav__name { display: none; }
  .hero__brand { width: min(72vw, 340px); margin-top: -12vh; }
  .hero__meta-item--mid { display: none; }
  .concepto__row { grid-template-columns: 1fr 1fr; }
  .concepto__text { grid-column: 1 / -1; grid-row: 1; padding: 0; }
  .concepto__fig--b { margin: 18% 0 0; }
  .cifras__list { grid-template-columns: 1fr 1fr; }
  .perso__stage { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding-top: 90px; }
  .perso__words { font-size: clamp(48px, 15vw, 90px); }
  .perso__media { justify-self: stretch; aspect-ratio: auto; height: 100%; max-height: none; min-height: 0; }
  .card { height: 56vh; } .card--tall { height: 62vh; } .card--wide { height: 44vh; }
  .rubros__head .h2 { text-align: left; }
  .rubro { grid-template-columns: 48px 1fr 40px; gap: 14px; padding: 20px 6px; }
  .rubro__icon { width: 46px; height: 46px; }
  .rubro__name { font-size: 30px; }
  .rubro__desc { grid-column: 2; grid-row: 2; margin-top: -6px; font-size: 14px; }
  .rubro__arrow { width: 38px; height: 38px; grid-column: 3; }
  .croquis__panel { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr 1fr; }
  .plan__frame { padding: 60px 14px 24px; }
  .plan__scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .plan__scroller::-webkit-scrollbar { display: none; }
  .plan__tilt { width: 820px; }
  .plan__hint { display: block; }
  .plan__hud { left: 24px; right: 24px; }
  .plan__level-name { display: none; }
  .inau__frame { clip-path: inset(22% 6% 22% 6% round 22px); }
  .inau__sound { left: var(--gutter); right: auto; top: auto; bottom: 24px; }
  .inau__copy { bottom: 96px; }
  .amelia__grid { grid-template-columns: 1fr; }
  .amelia__fig { max-width: 420px; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 340px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: column; }
}

/* Sin animaciones */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.no-motion .hero__window { clip-path: none; opacity: .35; }
.no-motion .hero__window img { transform: none; }
.no-motion .hero__claim { display: none; }
.no-motion .concepto__lead .w { opacity: 1; }
.no-motion .perso__stage { height: auto; }
.no-motion .perso__words { height: auto; overflow: visible; }
.no-motion .perso__word { position: static; display: block; transform: none; }
.no-motion .perso__media { display: none; }
.no-motion .edificio__pin { height: auto; overflow-x: auto; padding: 100px 0; }
.no-motion .edificio__track { height: auto; }
.no-motion .card { height: 60vh; }
.no-motion .inau__frame { clip-path: none; }
.no-motion .inau__video { transform: none; }
.no-motion .inau__shade { opacity: 1; }
