/* =========================================================
   RESCOLDO — restaurante de cocina de fuego · Madrid
   Landing de una sola página. CSS sin dependencias.
   Estética: editorial cinematográfica, oscura y cálida,
   con bloques claros que rompen el ritmo.
   ========================================================= */

:root {
  /* --- color --- */
  --carbon:      #17130F;
  --carbon-deep: #100C09;
  --forest:      #202B25;
  --petrol:      #132630;
  --olive:       #4B5540;
  --ivory:       #F1E9D9;
  --cream:       #E7DAC0;
  --sand:        #B9A784;   /* texto secundario sobre oscuro */
  --copper:      #C0703F;   /* acento principal / botones / filetes */
  --copper-lt:   #D98F5C;   /* acento a tamaño texto sobre oscuro (AA) */
  --ember:       #A83E24;   /* acento secundario, subrayados */
  --gold:        #CBA24C;

  --ink:        #1C1712;    /* texto sobre claro */
  --ink-soft:   #5F5344;    /* texto secundario sobre claro */
  --ink-line:   #D8C6A5;    /* filete sobre claro */
  --line-dark:  rgba(233, 218, 192, .14);

  /* --- tipografía --- */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui:      "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* --- medida y ritmo --- */
  --wrap:     1240px;
  --wrap-tight: 940px;
  --gutter:   clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(5rem, 12vw, 9.5rem);

  --ease: cubic-bezier(.22, .68, .18, 1);
  --nav-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
html.is-menu-open { overflow: hidden; }

body {
  font-family: var(--font-ui);
  font-weight: 400;
  background: var(--carbon);
  color: var(--ivory);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.006em;
}

::selection { background: var(--copper); color: var(--carbon-deep); }

:focus-visible {
  outline: 2px solid var(--copper-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- grano cinematográfico (decorativo, no afecta a la lectura) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- utilidades ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 300;
  background: var(--copper); color: var(--carbon-deep);
  padding: .6rem 1rem; border-radius: 2px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.section { position: relative; padding-block: var(--section-y); }
.section--light  { background: var(--ivory); color: var(--ink); }
.section--carbon { background: var(--carbon); }
.section--forest { background: var(--forest); }
.section--petrol { background: var(--petrol); }

.scroll-anchor { scroll-margin-top: calc(var(--nav-h) + 12px); }

.index {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--copper-lt);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.section--light .index { color: var(--ember); }
.index::before {
  content: ""; width: clamp(28px, 6vw, 56px); height: 1px;
  background: currentColor; opacity: .55;
}

.eyebrow {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper-lt);
  text-wrap: balance;
}
.eyebrow--light { color: var(--sand); }

.h-xl { font-size: clamp(2.6rem, 7vw, 5rem); text-wrap: balance; }
.h-lg { font-size: clamp(2.1rem, 5vw, 3.6rem); text-wrap: balance; }
.h-md { font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-wrap: balance; }
h1 em, h2 em, h3 em, .statement em { font-style: italic; font-weight: 400; color: var(--copper-lt); }
.section--light h2 em, .section--light .statement em { color: var(--ember); }

.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--sand);
  max-width: 46ch;
  line-height: 1.6;
  text-wrap: pretty;
}
.section--light .lead { color: var(--ink-soft); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .lead { margin-top: 1.1rem; }
.section-head--wide { max-width: 22ch; }
@media (min-width: 900px) {
  .section-head--wide { max-width: none; }
  .section-head--wide h2 { max-width: 16ch; }
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: var(--carbon-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-ui); font-weight: 500;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05em 1.9em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 2px; line-height: 1; text-align: center;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}
.btn:hover {
  background: var(--copper-lt); border-color: var(--copper-lt);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(192, 112, 63, .65);
}
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.2em 2.3em; font-size: .8rem; }
.btn--sm { padding: .85em 1.3em; font-size: .68rem; letter-spacing: .14em; }

.btn--ghost {
  background: transparent; color: var(--ivory); border-color: rgba(241, 233, 217, .34);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(192, 112, 63, .12); border-color: var(--copper);
  color: var(--copper-lt); transform: translateY(-2px); box-shadow: none;
}
.section--light .btn--ghost { color: var(--ink); border-color: var(--ink-line); }
.section--light .btn--ghost:hover { color: var(--ember); border-color: var(--ember); background: rgba(168, 62, 36, .07); }

/* =========================================================
   MARCO DE IMAGEN / PLACEHOLDER
   Sustituir el .frame__ph por <img> dentro del mismo .frame,
   sin tocar el layout.
   ========================================================= */
.frame {
  position: relative;
  overflow: hidden;
  background: #201a14;
  border: 1px solid var(--line-dark);
}
.frame--tall     { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 5 / 6; }
.frame--wide     { aspect-ratio: 4 / 3; }
.frame--square   { aspect-ratio: 1 / 1; }

.frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}
.frame:has(img) .frame__ph { display: none; }

.frame__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; text-align: center; padding: clamp(1rem, 4vw, 2rem);
  color: var(--sand);
  background:
    radial-gradient(130% 90% at 28% 18%, rgba(192, 112, 63, .12), transparent 58%),
    linear-gradient(150deg, #241d16 0%, #1a231d 55%, #14201f 100%);
}
.frame__ph--dark {
  background:
    radial-gradient(130% 90% at 78% 12%, rgba(203, 162, 76, .1), transparent 55%),
    linear-gradient(150deg, #1c1712 0%, #171f1b 60%, #10191c 100%);
}
.section--light .frame { background: #e7dabf; border-color: var(--ink-line); }
.section--light .frame__ph {
  color: var(--ink-soft);
  background:
    radial-gradient(130% 90% at 28% 18%, rgba(192, 112, 63, .14), transparent 58%),
    linear-gradient(150deg, #ece0c6 0%, #e3d4b6 100%);
}
.frame__ph::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid currentColor; opacity: .18;
}
.frame__corner {
  font-size: 1rem; line-height: 1; color: var(--copper); opacity: .8;
}
.section--light .frame__corner { color: var(--ember); }
.frame__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper-lt); border: 1px solid currentColor; padding: .25em .6em;
}
.section--light .frame__tag { color: var(--ember); }
.frame__label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: inherit; max-width: 24ch;
}
.frame__hint { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .12em; opacity: .6; }

/* =========================================================
   CORTINA DE ENTRADA
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  background: var(--carbon-deep);
  animation: introFailsafe 0s linear 1.6s forwards; /* red de seguridad si el JS no la retira */
}
.intro__word {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 4.2rem); color: var(--ivory);
  letter-spacing: .02em;
}
.intro__rule { width: 0; height: 1px; background: var(--copper); animation: introRule .8s .15s var(--ease) forwards; }
.intro__tag {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sand); opacity: 0; animation: introTag .5s .55s ease forwards;
}
.intro.is-gone {
  transform: translateY(-101%);
  opacity: 0;
  transition: transform .85s var(--ease), opacity .5s ease .25s;
  pointer-events: none;
}
@keyframes introRule { to { width: clamp(80px, 22vw, 200px); } }
@keyframes introTag  { to { opacity: 1; } }
@keyframes introFailsafe { to { transform: translateY(-101%); opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(19, 15, 12, .82);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.nav__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--nav-h);
}
.nav__brand {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .01em; color: var(--ivory);
  display: inline-flex; align-items: center; gap: .55rem; margin-right: auto;
}
.nav__ember {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 12px 2px rgba(192, 112, 63, .7);
}
.nav__menu { display: none; }
.nav__menu a {
  font-family: var(--font-ui); font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sand);
  display: inline-flex; align-items: baseline; gap: .35rem;
  transition: color .2s var(--ease);
}
.nav__menu a i {
  font-family: var(--font-mono); font-style: normal; font-size: .58rem;
  color: var(--copper); opacity: .7;
}
.nav__menu a:hover, .nav__menu a.is-current { color: var(--ivory); }
.nav__menu a.is-current i { opacity: 1; }

.nav__cta { flex: none; }

.nav__toggle {
  width: 44px; height: 44px; display: grid; place-content: center;
  border: 1px solid var(--line-dark); border-radius: 2px; flex: none;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 1.5px; background: var(--ivory);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(6px); position: relative; top: -1.5px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(0) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-1.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav__brand, .nav__toggle { position: relative; z-index: 50; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 40;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: clamp(1rem, 4vw, 1.7rem);
    padding: 0 var(--gutter);
    background: var(--carbon-deep);
    transform: translateY(-100%);
    transition: transform .5s var(--ease), visibility 0s linear .5s;
    visibility: hidden;
  }
  .nav.is-open .nav__menu { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
  .nav__menu a {
    font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem);
    text-transform: none; letter-spacing: 0; color: var(--ivory);
  }
  .nav__menu a i { font-size: .8rem; }
  .nav__cta { display: none; }
}

@media (min-width: 900px) {
  .nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
  .nav__toggle { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 2.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(168, 62, 36, .18), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(32, 43, 37, .55), transparent 60%),
    var(--carbon);
}
.hero__glow {
  position: absolute; width: 46vmax; height: 46vmax; left: 0; top: 0;
  margin-left: -23vmax; margin-top: -23vmax;
  background: radial-gradient(circle, rgba(192, 112, 63, .28), rgba(192, 112, 63, 0) 62%);
  pointer-events: none; z-index: 0;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s ease;
  will-change: transform;
}
.hero.glow-on .hero__glow { opacity: 1; }

.hero__grid {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin-inline: auto; width: 100%;
  padding-inline: var(--gutter);
  display: grid; gap: clamp(2.5rem, 7vw, 4rem);
  align-items: center;
}
.hero__text { max-width: 40rem; }
.hero__title {
  font-size: clamp(2.7rem, 8.4vw, 5.6rem);
  line-height: 1.06;
  margin: 1.3rem 0 1.5rem;
  letter-spacing: -0.014em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; }
.hero__lead {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  color: var(--sand); max-width: 40ch; line-height: 1.62;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.hero__facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sand);
}
.hero__facts .sep { color: var(--copper); }

.hero__media { align-self: center; width: min(100%, 460px); margin-inline: auto; }
.hero__scroll {
  position: relative; z-index: 1;
  align-self: center; margin-top: clamp(1.6rem, 4vw, 2.4rem);
  display: inline-flex; flex-direction: column; align-items: center; gap: .9rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sand);
}
.hero__scroll-rule { width: 1px; height: 46px; background: linear-gradient(var(--copper), transparent); }
.hero__scroll:hover { color: var(--ivory); }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: clamp(3rem, 6vw, 6rem);
  }
  .hero__media { align-self: center; width: 100%; margin-inline: 0; margin-top: 0; }
  .hero__scroll { align-self: flex-start; flex-direction: row; align-items: center; }
  .hero__scroll-rule { width: 46px; height: 1px; background: linear-gradient(90deg, var(--copper), transparent); }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--carbon-deep);
  border-block: 1px solid var(--line-dark);
  padding-block: 1.1rem;
  overflow: hidden;
}
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sand);
  animation: marquee 34s linear infinite;
}
.marquee__track b { color: var(--copper); font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   01 · CONCEPTO
   ========================================================= */
.concepto__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.statement {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.24;
  max-width: 24ch;
  text-wrap: balance;
}
.concepto__cols { display: grid; gap: clamp(1.6rem, 4vw, 2.4rem); }
.feat h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.feat p { color: var(--ink-soft); max-width: 40ch; }
.concepto__media { width: min(420px, 100%); }
.pullquote {
  border-top: 1px solid var(--ink-line);
  padding-top: 2rem;
}
.pullquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.3;
  max-width: 28ch; color: var(--ink);
}
.pullquote cite {
  display: block; margin-top: 1.2rem;
  font-family: var(--font-mono); font-style: normal;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ember);
}

@media (min-width: 900px) {
  .concepto__grid {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas:
      "head   media"
      "cols   media"
      "quote  media";
    column-gap: clamp(3rem, 6vw, 6rem);
    row-gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }
  .concepto__head  { grid-area: head; }
  .concepto__cols  { grid-area: cols; }
  .concepto__media { grid-area: media; justify-self: end; width: 100%; align-self: stretch; min-height: 460px; }
  .pullquote       { grid-area: quote; margin-top: clamp(2rem, 4vw, 3rem); }
  .statement { font-size: clamp(2rem, 3vw, 3rem); }
}

/* =========================================================
   02 · PLATOS
   ========================================================= */
.dishes { display: grid; gap: clamp(3.5rem, 9vw, 7rem); }
.dish { display: grid; gap: 1.8rem; align-items: center; }
.dish__media { position: relative; }
.dish__body { position: relative; }
.dish__num {
  position: absolute; right: 0; top: -2.6rem;
  font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5rem);
  color: var(--copper); opacity: .16; line-height: 1; pointer-events: none;
}
.dish__name {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.16; max-width: 20ch;
  background-image: linear-gradient(var(--copper), var(--copper));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .5s var(--ease);
  padding-bottom: .12em;
}
.dish__desc { color: var(--sand); margin-top: 1rem; max-width: 42ch; }
.dish__meta {
  margin-top: 1.1rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper-lt);
}
.dish__media .frame__ph { transition: transform .6s var(--ease); }
.dish:hover .dish__media .frame__ph,
.dish:hover .dish__media > img { transform: scale(1.04); }
.dish:hover .dish__name { background-size: 100% 1px; }
.dish__media > img { transition: transform .6s var(--ease); }

.platos__foot { margin-top: clamp(3rem, 7vw, 4.5rem); }

@media (min-width: 860px) {
  .dish { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .dish:nth-child(even) .dish__media { order: 2; }
  .dish:nth-child(even) .dish__body { text-align: right; }
  .dish:nth-child(even) .dish__num { right: auto; left: 0; }
  .dish:nth-child(even) .dish__name,
  .dish:nth-child(even) .dish__desc { margin-left: auto; }
  .dish:nth-child(even) .dish__name { background-position: 100% 100%; }
}

/* =========================================================
   03 · EXPERIENCIA
   ========================================================= */
.mosaic { display: grid; gap: clamp(1.4rem, 4vw, 2.4rem); }
.mosaic__note { max-width: 34ch; }
.mosaic__note h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.mosaic__note p { color: var(--sand); }
.mosaic__ph--c { width: min(78%, 360px); }

@media (min-width: 900px) {
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
  .mosaic > * { align-self: start; }
  .mosaic__note--1 { margin-top: clamp(2.5rem, 8vw, 6rem); padding-left: clamp(1rem, 3vw, 2.5rem); }
  .mosaic__ph--b   { margin-top: 2.5rem; }
  .mosaic__note--2 { margin-top: -1rem; padding-right: clamp(1rem, 3vw, 2.5rem); text-align: right; margin-left: auto; }
  .mosaic__ph--c   { margin-top: 3rem; margin-left: auto; }
  .mosaic__note--3 { margin-top: 3.5rem; padding-left: clamp(1rem, 3vw, 2.5rem); }
}

/* =========================================================
   04 · CARTA
   ========================================================= */
.menu { border-top: 1px solid var(--ink-line); }
.menu__tabs { display: flex; flex-wrap: wrap; gap: .4rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--ink-line); }
.menu__tab {
  font-family: var(--font-ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); padding-bottom: .4rem; position: relative;
  transition: color .25s var(--ease);
}
.menu__tab i {
  font-family: var(--font-mono); font-style: normal; font-size: .7rem; letter-spacing: .05em;
  color: var(--copper); margin-left: .5rem;
}
.menu__tab::after {
  content: ""; position: absolute; left: 0; bottom: -1.6rem; height: 2px; width: 100%;
  background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu__tab[aria-selected="true"] { color: var(--ink); }
.menu__tab[aria-selected="true"]::after { transform: scaleX(1); }
.menu__tab:hover { color: var(--ink); }

.menu__panel { padding-top: clamp(2rem, 5vw, 3rem); }
.menu__panel[hidden] { display: none; }
.menu__panel.is-entering { animation: fadeUp .5s var(--ease); }
.menu__lead { max-width: 52ch; color: var(--ink-soft); margin-bottom: 2.5rem; }
.menu__lead strong { color: var(--ink); font-weight: 500; }
.menu__course { margin-bottom: 2.4rem; }
.menu__course h3 {
  font-family: var(--font-mono); font-weight: 400; font-size: .66rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ember);
  margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ink-line);
}
.menu__course li {
  padding: .55rem 0;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink);
  line-height: 1.35;
}
.menu__panel--priced .menu__course li {
  display: flex; align-items: baseline; gap: .6rem;
}
.menu__panel--priced .menu__course li i {
  flex: 1; border-bottom: 1px dotted var(--ink-line); transform: translateY(-.25em);
}
.menu__panel--priced .menu__course li em {
  flex: none; font-style: normal; font-family: var(--font-ui); font-size: .95rem;
  font-variant-numeric: tabular-nums; color: var(--ink-soft);
}
.menu__note {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); border-top: 1px solid var(--ink-line); padding-top: 1.4rem; margin-top: 1rem;
}

.carta__foot {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  display: grid; gap: 2rem; align-items: center;
}
.carta__foot h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.carta__foot p { color: var(--ink-soft); max-width: 42ch; }
@media (min-width: 760px) {
  .carta__foot { grid-template-columns: 1fr auto; }
}

/* =========================================================
   05 · TESTIMONIOS
   ========================================================= */
.testimonios .index { color: var(--copper-lt); }
.quotes { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.quotes__viewport {
  position: relative;
  min-height: clamp(260px, 42vw, 340px);
  padding-top: clamp(2.2rem, 6vw, 4rem);
}
.quotes__viewport::before {
  content: "\201C";
  position: absolute; top: -.14em; left: -.06em;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(5rem, 13vw, 9.5rem); line-height: 1;
  color: var(--copper); opacity: .22; pointer-events: none;
}
.quote { display: none; }
.quote.is-active { display: block; }
.quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.34; color: var(--ivory);
  max-width: 34ch; text-wrap: pretty;
}
.quote cite {
  display: flex; flex-direction: column; gap: .25rem; margin-top: 1.8rem;
  font-family: var(--font-display); font-style: normal; font-size: 1.15rem; color: var(--cream);
}
.quote cite span {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand);
}

.quotes__nav { display: flex; align-items: center; gap: 1.2rem; margin-top: clamp(2rem, 5vw, 2.8rem); }
.quotes__arrow {
  width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 50%;
  display: grid; place-content: center; color: var(--sand);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.quotes__arrow:hover { color: var(--ivory); border-color: var(--copper); background: rgba(192, 112, 63, .1); }
.quotes__count {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; color: var(--sand);
  margin-left: .3rem;
}

.quotes__index { border-top: 1px solid var(--line-dark); align-self: start; }
.quotes__index button {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: .12rem;
  padding: 1.05rem .1rem; border-bottom: 1px solid var(--line-dark);
  color: var(--sand);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.quotes__index i {
  grid-row: 1 / 3; align-self: center;
  font-family: var(--font-mono); font-style: normal; font-size: .68rem; color: var(--copper); opacity: .55;
}
.quotes__index b {
  font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.15; color: var(--cream);
  transition: color .25s var(--ease);
}
.quotes__index span {
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase;
}
.quotes__index button:hover { padding-left: .5rem; }
.quotes__index button:hover b { color: var(--ivory); }
.quotes__index button.is-active { color: var(--ivory); padding-left: .5rem; }
.quotes__index button.is-active i { opacity: 1; }
.quotes__index button.is-active b { color: var(--copper-lt); }

@media (min-width: 900px) {
  .quotes { grid-template-columns: 1.55fr .7fr; align-items: start; column-gap: clamp(3rem, 6vw, 5.5rem); }
}

/* fallback sin JS: mostrar todos apilados, ocultar controles */
.no-js .quote { display: block; margin-bottom: 2.4rem; padding-left: 1.4rem; border-left: 2px solid var(--copper); }
.no-js .quotes__viewport::before,
.no-js .quotes__nav,
.no-js .quotes__index { display: none; }

/* =========================================================
   06 · GALERÍA
   ========================================================= */
.galeria__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.strip {
  display: flex; align-items: stretch; gap: clamp(1rem, 3vw, 2rem);
  height: clamp(320px, 54vh, 500px);
  overflow-x: auto; overflow-y: hidden;
  padding-inline: var(--gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--olive) transparent;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--olive); border-radius: 3px; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging * { pointer-events: none; }
.strip__item { flex: 0 0 auto; height: 100%; width: auto; scroll-snap-align: center; }
.strip__item--wide   { aspect-ratio: 3 / 2; }
.strip__item--tall   { aspect-ratio: 3 / 4; }
.strip__item--square { aspect-ratio: 1 / 1; }

/* =========================================================
   07 · RESERVAR + UBICACIÓN
   ========================================================= */
.reservar__grid { display: grid; gap: clamp(3rem, 8vw, 5rem); }
.reservar__main h2 { margin: 1.2rem 0 1.4rem; }
.reservar__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.reservar__fine {
  margin-top: 1.6rem; font-size: .9rem; color: var(--sand);
}
.reservar__fine a { color: var(--copper-lt); border-bottom: 1px solid rgba(217, 143, 92, .4); }
.reservar__info { display: grid; gap: 1.8rem; align-content: start; }
.info-row h3 {
  font-family: var(--font-mono); font-weight: 400; font-size: .66rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--copper-lt);
  margin-bottom: .5rem;
}
.info-row p { color: var(--cream); line-height: 1.7; }
.map { aspect-ratio: 3 / 2; margin-top: .6rem; }
.map__ph { position: absolute; inset: 0; }
.map__ph svg { width: 100%; height: 100%; }
.map__label {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ivory); background: rgba(16, 12, 9, .7); padding: .4em .7em;
}
@media (min-width: 920px) {
  .reservar__grid { grid-template-columns: 1.1fr .9fr; column-gap: clamp(3rem, 7vw, 6rem); }
  .reservar__info { border-left: 1px solid var(--line-dark); padding-left: clamp(2rem, 5vw, 4rem); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--carbon-deep);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem;
  position: relative;
}
.foot::before {
  content: ""; position: absolute; top: -1px; left: 0; width: clamp(80px, 20vw, 220px); height: 2px;
  background: var(--copper);
}
.foot__grid {
  display: grid; gap: 2.5rem 2rem;
  grid-template-columns: repeat(2, 1fr);
}
.foot__brand { grid-column: 1 / -1; }
.foot__word {
  font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 500;
  color: var(--ivory); display: block;
}
.foot__brand p { color: var(--sand); margin: .8rem 0 1.6rem; }
.foot__col h4 {
  font-family: var(--font-mono); font-weight: 400; font-size: .62rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--copper-lt);
  margin-bottom: 1rem;
}
.foot__col a, .foot__col p { display: block; color: var(--sand); padding: .28rem 0; font-size: .95rem; }
.foot__col a { transition: color .2s var(--ease); }
.foot__col a:hover { color: var(--ivory); }
.foot__bar {
  margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: 1.8rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sand);
}
.foot__legal { display: flex; gap: 1.2rem; }
.foot__legal a { transition: color .2s var(--ease); }
.foot__legal a:hover { color: var(--ivory); }
.foot__made { margin-left: auto; color: var(--copper-lt); }

@media (min-width: 780px) {
  .foot__grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .foot__brand { grid-column: auto; }
}

/* =========================================================
   BOTÓN FLOTANTE (FAB)
   ========================================================= */
.fab {
  position: fixed; z-index: 55;
  right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95em 1.4em;
  background: var(--copper); color: var(--carbon-deep);
  font-family: var(--font-ui); font-weight: 500; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
  transform: translateY(180%);
  transition: transform .5s var(--ease), background .25s var(--ease);
}
.fab span { color: var(--carbon-deep); }
.fab.is-visible { transform: none; }
.fab:hover { background: var(--copper-lt); }
@media (min-width: 900px) { .fab { font-size: .68rem; } }

/* =========================================================
   REVELADO AL SCROLL
   ========================================================= */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .concepto__cols .feat:nth-child(2) { transition-delay: .08s; }
.js .concepto__cols .feat:nth-child(3) { transition-delay: .16s; }

/* entrada del hero (títulos por líneas) */
.js .hero__title .line > span { transform: translateY(115%); opacity: 0; }
.js .hero.is-in .hero__title .line > span {
  transform: none; opacity: 1;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.js .hero.is-in .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero__text > *:not(.hero__title) { opacity: 0; transform: translateY(16px); }
.js .hero.is-in .hero__text > *:not(.hero__title) {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s;
}
.js .hero__media { opacity: 0; transform: translateY(24px) scale(.985); }
.js .hero.is-in .hero__media {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease) .1s, transform 1.1s var(--ease) .1s;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes quoteIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .quote.is-active { animation: quoteIn .55s var(--ease); }

/* =========================================================
   MOVIMIENTO REDUCIDO — nunca dejar contenido oculto
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero__title .line > span,
  .js .hero__text > *,
  .js .hero__media { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none !important; transform: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .js .quote.is-active { animation: none !important; }
  .menu__panel.is-entering { animation: none !important; }
  .hero__glow { display: none !important; }
  [data-parallax] { transform: none !important; }
  .fab { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .map__pin-pulse { animation: pulse 2.6s ease-in-out infinite; }
}
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: .15; } }

/* =========================================================
   BARRA DE DEMOSTRACIÓN · Nansa Studio
   Añadida al publicar la demo en demo-rescoldo.nansastudio.es.
   ========================================================= */
:root { --nsd-bar: 32px; }
@media (max-width: 560px) { :root { --nsd-bar: 46px; } }

.nsd-demo-bar {
  position: fixed; inset: 0 0 auto; height: var(--nsd-bar); z-index: 2147483647;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  column-gap: .7em; padding: 0 14px;
  background: #0b0906; color: var(--ivory, #F1E9D9);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px; line-height: 1.3; letter-spacing: .04em;
  text-align: center; border-bottom: 1px solid rgba(233,218,192,.16);
}
.nsd-demo-bar strong { font-weight: 700; color: var(--copper-lt, #D98F5C); }
.nsd-demo-bar a { color: var(--ivory, #F1E9D9); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.nsd-demo-bar a:hover { color: var(--copper-lt, #D98F5C); }

.nav { margin-top: var(--nsd-bar); }
html { scroll-padding-top: calc(var(--nav-h) + var(--nsd-bar) + 12px); }
.scroll-anchor { scroll-margin-top: calc(var(--nav-h) + var(--nsd-bar) + 12px); }
@media (max-width: 899px) {
  .nav__menu { top: var(--nsd-bar); }
}

/* =========================================================
   DOCUMENTOS LEGALES (demo)
   ========================================================= */
.legal {
  max-width: var(--wrap-tight, 940px); margin-inline: auto;
  padding: calc(var(--nav-h) + var(--nsd-bar) + 3.5rem) var(--gutter) var(--section-y);
  color: var(--ivory);
}
.legal__kicker {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--copper-lt); margin: 0 0 .8rem;
}
.legal h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 .4rem;
}
.legal__meta { font-family: var(--font-mono); font-size: .72rem; color: var(--sand); margin: 0 0 1.8rem; }
.legal__nav {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 2.6rem;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-ui); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
}
.legal__nav a { color: var(--sand); }
.legal__nav a[aria-current] { color: var(--ivory); }
.legal__note {
  background: rgba(233,218,192,.05); border: 1px solid var(--line-dark);
  border-radius: 4px; padding: 1rem 1.15rem; font-size: .92rem; color: var(--sand); margin: 0 0 2rem;
}
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin: 2.3rem 0 .6rem; }
.legal p, .legal li { color: var(--sand); line-height: 1.75; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin: .3rem 0; }
.legal a { color: var(--copper-lt); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ivory); }
.legal__back { display: inline-block; margin-top: 2.5rem; font-family: var(--font-mono); font-size: .78rem; color: var(--copper-lt); }
