/* Vitrina Viva: letrero LED de barrio llevado a la web.
   Panel acrílico negro, luz ámbar LED, aluminio cepillado. Móvil primero. */

@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Doto";
  src: url("fonts/doto.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
}

:root {
  --bg: #0C0D10;          /* panel acrílico */
  --bg-2: #121318;
  --bg-3: #191B21;
  --ink: #F1F2F4;         /* LED blanco */
  --muted: #A7ACB5;       /* aluminio */
  --alu: #D9DCE1;
  --line: rgba(241, 242, 244, 0.12);
  --line-2: rgba(241, 242, 244, 0.24);
  --amber: #FFAD1F;       /* LED ámbar */
  --amber-hi: #FFC45E;
  --amber-ink: #0C0D10;
  --amber-muted: #3A2806; /* texto secundario sobre ámbar */
  --amber-line: rgba(12, 13, 16, 0.18);
  --unlit: #1C1E24;       /* LED apagado */

  --f-display: "Anybody", "Arial Narrow", sans-serif;
  --f-text: "Hanken Grotesk", system-ui, sans-serif;
  --f-dot: "Doto", ui-monospace, monospace;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(1.25rem, 0.4rem + 4.2vw, 5rem);
  --sec: clamp(6.5rem, 3rem + 11vw, 14rem);
  --nav-h: 4.5rem;
  --radius: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  scrollbar-color: #2E3139 var(--bg);
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

::selection { background: var(--amber); color: var(--amber-ink); }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: 0.75rem 1.1rem; border-radius: 0.75rem;
  background: var(--amber); color: var(--amber-ink); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 220ms var(--ease);
}
.skip:focus-visible { transform: none; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 173, 31, 0.22);
  border-radius: 0.5rem;
}

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 92rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Escena 3D ---------- */
.scene {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Etiquetas pegadas al letrero (video: «labels that stick to a 3D model») */
.tags { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.tags__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tags__lines line { stroke: rgba(241, 242, 244, 0.6); stroke-width: 1; }
.tags__lines circle { fill: var(--ink); }
.tags__lines g { opacity: 0; transition: opacity 300ms var(--ease); }
.tags__lines g.is-on { opacity: 1; }
.tags__lines g.is-focus line { stroke: var(--amber); }
.tags__lines g.is-focus circle { fill: var(--amber); }
.tag {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.75rem 0.3rem 0.3rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.84);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 300ms var(--ease), border-color 200ms var(--ease);
  will-change: transform;
}
.tag.is-on { opacity: 1; }
.tag b {
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--bg-3);
  font-family: var(--f-dot); font-weight: 800; font-size: 0.95rem; color: var(--amber);
  font-variation-settings: "ROND" 100;
}
.tag.is-focus { border-color: var(--amber); }
.tag.is-focus b { background: var(--amber); color: var(--amber-ink); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--nav-h);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled.is-amber {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav.is-scrolled {
  background: rgba(12, 13, 16, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.progress { position: absolute; inset: 0 0 auto 0; height: 2px; overflow: hidden; }
.progress i {
  display: block; height: 100%; background: var(--amber);
  transform: scaleX(0); transform-origin: 0 50%;
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 44px; text-decoration: none; margin-right: auto;
}
.brand__mark { width: 1.6rem; height: 1.6rem; }
.brand__name {
  font-family: var(--f-display); font-weight: 700; font-stretch: 118%;
  font-size: 1.05rem; letter-spacing: -0.02em;
}
.nav__links { display: none; gap: 0.25rem; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.85rem;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  border-radius: 999px;
  transition: color 200ms var(--ease);
}
.nav .nav__cta { display: none; }
.nav__plans {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.9rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 160ms var(--ease), border-color 200ms var(--ease);
}
.nav__plans:active { transform: scale(0.97); }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav .nav__cta { display: inline-flex; }
  .nav__plans { display: none; }
}

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.45rem;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--f-text); font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 2.75rem; padding: 0 1.1rem; font-size: 0.95rem; }
.btn--main { background: var(--amber); color: var(--amber-ink); }
.btn--quiet { border-color: var(--line-2); color: var(--ink); }
.btn--dark { background: var(--bg-3); color: var(--ink); border-color: var(--line-2); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: rgba(12, 13, 16, 0.6); }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.1em;
  transition: background-size 300ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
  .nav__plans:hover { border-color: var(--amber); }
  .btn--main:hover { background: var(--amber-hi); }
  .btn--quiet:hover, .btn--line:hover { border-color: var(--amber); }
  .btn--dark:hover { border-color: var(--muted); }
  .link:hover { background-size: 100% 2px; }
}

/* ---------- Tipografía común ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700; font-stretch: 108%;
  font-size: clamp(2.35rem, 1rem + 4.4vw, 4.75rem);
  line-height: 0.96; letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 13ch;
}
.num, .clock, .price, .dot {
  font-family: var(--f-dot);
  font-variation-settings: "ROND" 100;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.num { color: var(--amber); font-size: 1.08em; }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 27svh);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
}
.hero::before, .parts::before, .foot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--unlit) 1.3px, transparent 1.7px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 22%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 22%, #000 10%, transparent 75%);
}
.hero__body { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 700; font-stretch: 112%;
  font-size: clamp(2.65rem, 0.9rem + 6.6vw, 6rem);
  line-height: 0.92; letter-spacing: -0.045em;
  max-width: 10.5ch;
}
.w { display: inline-block; }
.w > span {
  display: inline-block;
  animation: rise 1000ms var(--ease) both;
  animation-delay: calc(120ms + var(--i) * 70ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero__foot { display: grid; gap: 1.5rem; max-width: 36rem; }
.hero__lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; color: var(--alu); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { color: var(--muted); font-size: 0.95rem; }
.hero__facts strong { color: var(--ink); }

.hero__fallback { display: none; }
html:not(.has-3d) .hero__fallback {
  display: block; position: absolute; z-index: 1;
  left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 4svh);
}
.sign-fallback {
  display: grid; gap: 0.25rem; justify-items: center;
  padding: 1.5rem 1rem;
  border: 6px solid #B9BEC6; border-radius: 1rem;
  background: #0F1014;
  font-family: var(--f-dot); font-variation-settings: "ROND" 100; font-weight: 900;
  font-size: clamp(2rem, 1rem + 5vw, 4.5rem); line-height: 1; color: var(--amber);
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(255, 173, 31, 0.45);
}

@media (min-width: 1024px) {
  .hero { align-items: center; padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 5rem; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 45% 60% at 75% 48%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 45% 60% at 75% 48%, #000 10%, transparent 75%); }
  .hero__body { gap: 2.75rem; }
  .hero__title { max-width: 9.6ch; }
  html:not(.has-3d) .hero__fallback { left: auto; right: var(--gutter); top: 50%; width: 40%; transform: translateY(-50%); }
}

/* ---------- Secciones ---------- */
.why, .parts, .plans, .process, .faq, .contact { position: relative; padding-block: var(--sec); }

/* Por qué */
.why__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.why__head { display: grid; gap: 1.5rem; }
.why__clock { color: var(--muted); max-width: 34rem; font-size: 1.05rem; }
.why__clock .clock { color: var(--amber); font-size: 1.35em; margin-right: 0.15em; }
.why__lead {
  font-size: clamp(1.3rem, 1rem + 1.15vw, 2rem);
  line-height: 1.38; letter-spacing: -0.01em;
  max-width: 34ch; color: var(--alu);
  text-wrap: pretty;
}
.reasons { display: grid; border-top: 1px solid var(--line); max-width: 52rem; }
.reason {
  display: grid; gap: 0.4rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.reason dt {
  font-family: var(--f-display); font-weight: 650; font-stretch: 106%;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15;
}
.reason dd { color: var(--muted); max-width: 40ch; }
@media (min-width: 768px) {
  .reason { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; align-items: baseline; padding-block: 1.75rem; }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .why__head, .why__lead, .reasons { grid-column: 1; }
}

/* Pieza por pieza */
.parts { min-height: 100svh; }
.parts::before {
  -webkit-mask-image: radial-gradient(ellipse 50% 40% at 50% 18%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 40% at 50% 18%, #000 10%, transparent 75%);
}
.parts__stage { height: clamp(18rem, 40svh, 24rem); }
.parts__grid { display: grid; }
.parts__text { display: grid; gap: 1.75rem; align-content: start; }
.parts__lead { color: var(--alu); font-size: 1.15rem; max-width: 34rem; }
.partlist { list-style: none; padding: 0; border-top: 1px solid var(--line); max-width: 34rem; }
.partlist li {
  display: grid; grid-template-columns: 2.75rem 1fr; align-items: baseline; gap: 0.5rem;
  padding: 0.85rem 0.5rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 200ms var(--ease);
  border-radius: 0.25rem;
}
.partlist__n {
  font-family: var(--f-dot); font-variation-settings: "ROND" 100; font-weight: 800;
  font-size: 1.35rem; line-height: 1; color: var(--amber);
}
.partlist li.is-focus { color: var(--amber-hi); }
@media (min-width: 1024px) {
  .parts { padding-block: var(--sec) calc(var(--sec) * 0.8); }
  .parts::before { -webkit-mask-image: radial-gradient(ellipse 40% 50% at 72% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 40% 50% at 72% 40%, #000 10%, transparent 75%); }
  .parts__stage { display: none; }
  .parts__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .partlist li { cursor: default; }
}
@media (hover: hover) and (pointer: fine) {
  .partlist li:hover { color: var(--amber-hi); }
}

/* Planes: índice tipográfico */
.plans__head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.plans__note { color: var(--muted); max-width: 36rem; font-size: 1.1rem; }
.planlist { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.plan { border-bottom: 1px solid var(--line-2); }
.plan__row {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  grid-template-areas: "l n go" "l p p";
  align-items: baseline; column-gap: 0.75rem; row-gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0.25rem;
  text-decoration: none;
  transition: color 240ms var(--ease);
}
.plan__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.4); z-index: -1;
  background: var(--amber);
  border-radius: 0.75rem;
  clip-path: inset(100% 0 0 0 round 0.75rem);
  transition: clip-path 380ms var(--ease);
}
.plan__letter {
  grid-area: l;
  font-family: var(--f-dot); font-variation-settings: "ROND" 100; font-weight: 900;
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem); line-height: 0.8; color: var(--amber);
  transition: color 240ms var(--ease);
}
.plan__name {
  grid-area: n;
  font-family: var(--f-display); font-weight: 700; font-stretch: 110%;
  font-size: clamp(1.75rem, 1rem + 2.9vw, 3.6rem); line-height: 1; letter-spacing: -0.04em;
  transition: transform 380ms var(--ease);
}
.plan__price { grid-area: p; display: grid; gap: 0.35rem; }
.price {
  font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.4rem); line-height: 0.9; font-weight: 900;
  color: var(--amber);
  transition: color 240ms var(--ease);
}
.plan__per { color: var(--muted); font-size: 0.95rem; line-height: 1.35; transition: color 240ms var(--ease); }
.plan__go {
  grid-area: go; align-self: center;
  width: 2.75rem; height: 2.75rem; padding: 0.65rem;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: transform 380ms var(--ease), border-color 240ms var(--ease);
}
.plan__row:active .plan__go { transform: scale(0.94); }
.plan__body {
  display: grid; gap: 1.25rem;
  padding: 0 0.25rem clamp(1.75rem, 3vw, 2.75rem) calc(2.6rem + 1rem);
}
.plan__list { list-style: none; padding: 0; display: grid; gap: 0.65rem; max-width: 40rem; }
.plan__list li { position: relative; padding-left: 1.25rem; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 173, 31, 0.7);
}
.plan__terms { color: var(--ink); max-width: 40rem; }
.plan__terms strong { color: var(--ink); }

@media (min-width: 768px) {
  .plan__row {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto 2.75rem;
    grid-template-areas: "l n p go";
    column-gap: 1.5rem;
  }
  .plan__price { justify-items: end; text-align: right; max-width: 17rem; }
  .plan__body { padding-left: calc(4.5rem + 1.5rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 3rem; align-items: start; }
}
@media (hover: hover) and (pointer: fine) {
  .plan__row:hover { color: var(--amber-ink); }
  .plan__row:hover::before { clip-path: inset(0 0 0 0 round 0.75rem); }
  .plan__row:hover .plan__name { transform: translateX(0.6rem); }
  .plan__row:hover .plan__letter,
  .plan__row:hover .price,
  .plan__row:hover .plan__per { color: var(--amber-ink); }
  .plan__row:hover .plan__go { border-color: var(--amber-ink); transform: translateX(0.25rem); }
}

.terms { margin-top: clamp(4rem, 8vw, 7rem); display: grid; gap: 2rem; }
.terms__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%;
  font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05;
}
.terms__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.terms__list > div { padding-block: 1.15rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.25rem; }
.terms__list dt { font-weight: 600; }
.terms__list dd { color: var(--muted); }
@media (min-width: 768px) {
  .terms { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .terms__list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

/* Proceso */
.process__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.process__head { display: grid; gap: 1.5rem; }
.process__lead { color: var(--alu); font-size: 1.15rem; max-width: 30rem; }
.steps { position: relative; list-style: none; padding: 0; display: grid; gap: 0; max-width: 40rem; }
.step {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 4rem 1fr; gap: 0.75rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.step:last-of-type { padding-bottom: 0; }
.step__n {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
  font-family: var(--f-dot); font-variation-settings: "ROND" 100; font-weight: 900;
  font-size: 1.6rem; line-height: 1; color: var(--muted);
  transition: color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.step.is-lit .step__n { color: var(--amber); border-color: var(--amber); box-shadow: 0 0 18px rgba(255, 173, 31, 0.28); }
.step__body { padding-top: 0.35rem; }
.step h3 {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem); letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 0.45rem;
}
.step p { color: var(--muted); max-width: 34rem; }
.steps__rail {
  position: absolute; left: calc(1.5rem - 0.5px); top: 1.5rem; bottom: 1.5rem; width: 1px;
  background: var(--line-2); overflow: hidden;
}
.steps__rail i { display: block; width: 100%; height: 100%; background: var(--amber); transform: scaleY(0); transform-origin: 50% 0; }
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .process__head, .steps { grid-column: 1; }
}

/* Preguntas frecuentes */
.faq__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 4.25rem; padding-block: 1.1rem;
  cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 650; font-stretch: 104%;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  width: 2.25rem; height: 2.25rem; padding: 0.5rem; flex: none;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: transform 300ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.qa[open] .qa__icon { transform: rotate(45deg); border-color: var(--amber); color: var(--amber); }
.qa p { padding: 0 3.5rem 1.5rem 0; color: var(--alu); max-width: 44rem; font-size: 1.08rem; }
.qa[open] p { animation: open 300ms var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq__more { padding-top: 1.75rem; color: var(--muted); }
.faq__more .link { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .qa summary:hover .qa__icon { border-color: var(--amber); }
}
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .faq .h2 { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
}

/* ---------- Contacto: la vitrina encendida ---------- */
.contact {
  background: var(--amber);
  color: var(--amber-ink);
}
.contact ::selection { background: var(--amber-ink); color: var(--amber); }
.contact :focus-visible { outline-color: var(--amber-ink); box-shadow: 0 0 0 6px rgba(12, 13, 16, 0.2); }
.contact__head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.contact .h2 { max-width: 12ch; }
.contact__lead { color: var(--amber-muted); font-size: 1.18rem; max-width: 34rem; }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.need { display: grid; gap: 1.5rem; }
.need__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 106%;
  font-size: clamp(1.4rem, 1rem + 1.1vw, 2rem); letter-spacing: -0.03em; line-height: 1.1;
}
.need__opts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.opt {
  min-height: 3rem; padding: 0 1.15rem;
  border: 1.5px solid var(--amber-ink); border-radius: 999px;
  background: transparent; color: var(--amber-ink);
  font-weight: 600; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.opt:active { transform: scale(0.97); }
.opt[aria-pressed="true"] { background: var(--amber-ink); color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .opt[aria-pressed="false"]:hover { background: rgba(12, 13, 16, 0.08); }
}
.contact__data { display: grid; border-top: 1px solid var(--amber-line); margin-top: 1rem; }
.contact__data > div { display: grid; gap: 0.15rem; padding-block: 1rem; border-bottom: 1px solid var(--amber-line); }
.contact__data dt { font-size: 0.9rem; color: var(--amber-muted); }
.contact__data dd { font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.mailrow { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.mailrow .link { min-width: 0; font-size: clamp(0.95rem, 4vw, 1.08rem); }
.mailrow .copy { flex: none; }
.copy {
  position: relative; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--amber-line); background: transparent; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease);
}
.copy:active { transform: scale(0.94); }
.copy .ico { width: 1.1rem; height: 1.1rem; }
.copy__msg {
  position: absolute; left: calc(100% + 0.5rem); top: 50%; transform: translateY(-50%);
  font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .copy:hover { background: rgba(12, 13, 16, 0.08); }
}

.chat {
  display: grid; gap: 0;
  background: var(--bg); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(58, 40, 6, 0.65), 0 2px 6px rgba(58, 40, 6, 0.25);
  overflow: hidden;
}
.chat__head {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.chat__avatar { width: 2.6rem; height: 2.6rem; padding: 0.45rem; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.chat__name { font-weight: 600; line-height: 1.25; }
.chat__sub { color: var(--muted); font-size: 0.88rem; line-height: 1.3; }
.chat__body {
  display: grid; gap: 0.9rem; padding: 1.5rem 1.25rem 1.25rem;
  background-image: radial-gradient(circle, #17191F 1.2px, transparent 1.6px);
  background-size: 8px 8px;
  min-height: 15rem; align-content: start;
}
.chat__day {
  justify-self: center; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--bg-3); color: var(--muted); font-size: 0.8rem;
}
.bubble {
  justify-self: end; max-width: 88%;
  padding: 0.8rem 1rem; border-radius: 1.1rem 1.1rem 0.3rem 1.1rem;
  background: var(--amber); color: var(--amber-ink);
  font-weight: 500; line-height: 1.45;
}
.bubble.is-new { animation: bubble 320ms var(--ease); }
@keyframes bubble { from { opacity: 0; transform: translateY(6px) scale(0.98); transform-origin: 100% 100%; } to { opacity: 1; transform: none; } }
.chat__hint { justify-self: end; max-width: 88%; text-align: right; color: var(--muted); font-size: 0.9rem; }
.chat__cta { margin: 0 1.25rem 1.25rem; }

.map { margin-top: clamp(3rem, 6vw, 5rem); }
.map__frame {
  position: relative; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 1rem;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-color: var(--bg); color: var(--ink);
  background-image: radial-gradient(circle, #1A1C22 1.3px, transparent 1.7px);
  background-size: 8px 8px;
  padding: 1.5rem; text-align: center;
}
.map__note { color: var(--muted); font-size: 0.95rem; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) { .map__frame { aspect-ratio: 21 / 8; } }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(3rem, 6vw, 7rem); }
  .contact__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .contact__head .contact__lead { grid-column: 1; }
}

/* ---------- Pie ---------- */
.foot {
  position: relative;
  padding-top: 20.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.foot::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 45% at 50% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 45% at 50% 20%, #000 10%, transparent 75%);
}
.foot__mark {
  position: absolute; z-index: 0; left: 0; right: 0; top: clamp(5rem, 9vw, 8rem);
  text-align: center; white-space: nowrap;
  font-family: var(--f-dot); font-variation-settings: "ROND" 100; font-weight: 900;
  font-size: clamp(2.6rem, 12.6vw, 15rem); line-height: 1; letter-spacing: 0.01em;
  color: #41454F;          /* LEDs apagados, ~2:1: se lee la palabra detrás del letrero */
  user-select: none;
}
.foot__mark span {
  transition: color 700ms var(--ease), text-shadow 700ms var(--ease);
  transition-delay: calc(var(--k) * 60ms);
}
.foot__mark.is-lit span { color: var(--amber); text-shadow: 0 0 0.16em rgba(255, 173, 31, 0.4); }
.foot__grid { display: grid; gap: 3rem; }
.foot__cta { display: grid; gap: 1.5rem; justify-items: start; }
.foot__say {
  font-family: var(--f-display); font-weight: 700; font-stretch: 108%;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); line-height: 1.02; letter-spacing: -0.04em;
  max-width: 16ch; text-wrap: balance;
}
.foot__data { display: grid; gap: 0; border-top: 1px solid var(--line); }
.foot__data > div { display: grid; gap: 0.1rem; padding-block: 0.95rem; border-bottom: 1px solid var(--line); }
.foot__data dt { color: var(--muted); font-size: 0.88rem; }
.foot__data dd { overflow-wrap: anywhere; }
.foot__legal { color: var(--muted); font-size: 0.88rem; }
@media (min-width: 1024px) {
  .foot__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 5rem; align-items: end; }
  .foot__legal { grid-column: 1 / -1; }
}

/* ---------- Barra fija móvil ---------- */
.dock {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(12, 13, 16, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.dock .btn { min-height: 3.1rem; }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .w > span { animation: fade 600ms var(--ease) both; animation-delay: 80ms; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .bubble.is-new, .qa[open] p { animation: none; }
  .plan__row::before, .plan__name, .plan__go { transition-duration: 1ms; }
}
html.is-loading-3d .hero__fallback { display: none; }

/* Etiquetas del despiece en pantallas chicas: solo el numeral, como en un plano técnico */
@media (max-width: 1023px) {
  .tag { padding: 0.2rem; gap: 0; }
  .tag span { display: none; }
}
@media (min-width: 1024px) {
  .foot { padding-top: clamp(16rem, 30vw, 28rem); }
}

/* Espacios reservados para el letrero en pantallas chicas: el letrero se ancla aquí y sube con el contenido */
.sign-slot { display: none; }
@media (max-width: 1023px) {
  .sign-slot { display: block; height: 15rem; pointer-events: none; }
  .sign-slot--hero { position: absolute; left: 0; right: 0; top: var(--nav-h); height: 27svh; }
  .sign-slot--foot { position: absolute; left: 0; right: 0; top: 5.5rem; height: 15rem; }
  .has-slot { padding-top: 1rem; }
}
