/* ═══════════════════════════════════════════════════════════════
   EDITIONS — The Room Studio
   style.css  ·  Static site for Hostinger
   Sans-serif editorial · adaptive light/dark · immersive imagery
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS (light defaults) ───────────────────────────────── */
:root {
  --bg:          #FAF8F5;
  --bg-alt:      #F1EEE8;
  --fg:          #14130F;
  --fg-muted:    #66625A;
  --fg-faint:    #A8A39A;
  --border:      #E4DBCF;
  --border-soft: rgba(20, 19, 15, 0.08);
  --nav-bg:      rgba(250, 248, 245, 0.82);

  /* Always-dark surfaces */
  --sand:        #C2A57E;
  --ink:         #121008;
  --paper:       #FBF9F4;
  --ink-muted:   rgba(251, 249, 244, 0.62);
  --ink-faint:   rgba(251, 249, 244, 0.16);

  --font:        'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w:       1240px;
  --nav-h:       72px;
  --gap:         clamp(72px, 11vw, 150px);
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0E0D0A;
    --bg-alt:      #16140F;
    --fg:          #F3F0E9;
    --fg-muted:    #9C978E;
    --fg-faint:    #514C45;
    --border:      #2A2620;
    --border-soft: rgba(255, 255, 255, 0.07);
    --nav-bg:      rgba(14, 13, 10, 0.82);
  }
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* Headings: sans-serif, tight, confident */
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

/* ── HELPERS ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
}

.step-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  margin-bottom: 18px;
}

/* ── REVEAL animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 34px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn span {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-top: 4px;
}

.btn--dark {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}
.btn--dark:hover { background: transparent; color: var(--fg); }

.btn--outline {
  background: transparent; color: var(--fg); border-color: var(--border);
}
.btn--outline:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.btn--light {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn--light:hover { background: transparent; color: var(--paper); }

.btn--outline-light {
  background: transparent; color: var(--paper); border-color: rgba(251,249,244,0.45);
}
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--border-soft);
}

.navbar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hero is dark → nav text light until scrolled */
.navbar__logo {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  transition: color 0.4s var(--ease);
}
.navbar.scrolled .navbar__logo { color: var(--fg); }

.navbar__nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.navbar__nav a {
  color: rgba(251,249,244,0.72);
  transition: color 0.25s, opacity 0.25s;
}
.navbar__nav a:hover { color: var(--paper); }
.navbar__nav .navbar__active { color: var(--paper); font-weight: 500; }

.navbar.scrolled .navbar__nav a { color: var(--fg-muted); }
.navbar.scrolled .navbar__nav a:hover,
.navbar.scrolled .navbar__nav .navbar__active { color: var(--fg); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.navbar__burger span {
  width: 24px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.35s var(--ease), opacity 0.25s, background 0.4s;
}
.navbar.scrolled .navbar__burger span { background: var(--fg); }

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  padding: 16px clamp(20px, 5vw, 56px) 26px;
  border-top: 1px solid var(--border);
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  padding: 14px 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}
.navbar__mobile a:last-child { border-bottom: none; }
.navbar__mobile .navbar__active { color: var(--fg); }

/* ═══════════════════════════════════════════════════════════════
   HERO — immersive full-bleed image + slow zoom
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--nav-h) clamp(20px, 5vw, 56px) clamp(56px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8,7,4,0.78) 0%, rgba(8,7,4,0.28) 42%, rgba(8,7,4,0.12) 100%);
}

.hero__text {
  max-width: 720px;
  color: var(--paper);
}
.hero__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(251,249,244,0.72);
  margin-bottom: 10px;
}
.hero__title {
  font-size: clamp(3.4rem, 11vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  max-width: 560px;
  margin-bottom: 22px;
}
.hero__body {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(251,249,244,0.78);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  overflow: hidden;
}
.hero__scroll-hint span {
  display: block; width: 1px; height: 100%;
  background: rgba(251,249,244,0.5);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ═══════════════════════════════════════════════════════════════
   STATEMENT
═══════════════════════════════════════════════════════════════ */
.statement {
  padding: clamp(64px, 10vw, 130px) clamp(20px, 5vw, 56px);
  text-align: center;
}
.statement p {
  font-size: clamp(1.5rem, 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 18ch;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CÓMO NACE
═══════════════════════════════════════════════════════════════ */
.como-nace {
  padding-block: var(--gap);
  background: var(--bg-alt);
}
.como-nace__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.como-nace__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.como-nace__step {
  border-top: 1px solid var(--sand);
  padding-top: 26px;
}
.como-nace__step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
}
.como-nace__step strong {
  display: block;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   UNA ESTANCIA — split image / text
═══════════════════════════════════════════════════════════════ */
.una-estancia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 80vh;
}
.una-estancia__visual { overflow: hidden; }
.una-estancia__visual img {
  width: 100%; height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.una-estancia__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px);
}
.una-estancia__text h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.una-estancia__text p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 20px;
  max-width: 44ch;
}
.una-estancia__text .btn { align-self: flex-start; margin-top: 18px; }

/* ═══════════════════════════════════════════════════════════════
   EDITION 000 — reversed split
═══════════════════════════════════════════════════════════════ */
.edition000 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 80vh;
}
.edition000__visual { overflow: hidden; }
.edition000__visual img {
  width: 100%; height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.edition000__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px);
}
.edition000__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 24px;
}
.edition000__lead {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 30ch;
}
.edition000__info p:not(.edition000__lead) {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 34px;
  max-width: 46ch;
}
.edition000__info .btn { align-self: flex-start; }

/* ═══════════════════════════════════════════════════════════════
   QUÉ NO ES — image becomes darkened background (continuity)
═══════════════════════════════════════════════════════════════ */
.que-no-es {
  position: relative;
  padding-block: var(--gap);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.que-no-es__bg { position: absolute; inset: 0; z-index: -2; }
.que-no-es__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  transform: scale(1.05);
  filter: grayscale(0.2);
}
.que-no-es::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(18,16,8,0.65), rgba(18,16,8,0.88));
}
.que-no-es__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.que-no-es__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
}
.que-no-es__item {
  border-top: 1px solid var(--ink-faint);
  padding-top: 24px;
}
.que-no-es__neg {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 12px;
}
.que-no-es__item p:last-child {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — "How it works" protagonist + fake cursor on CLICK
═══════════════════════════════════════════════════════════════ */
.how-it-works { padding-block: var(--gap); }

.how-it-works__header {
  margin-bottom: clamp(56px, 7vw, 88px);
  max-width: 900px;
}
.hiw__main {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 18px;
}
.hiw__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.7rem);
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}

/* "click" — animación de clic una sola vez al entrar en pantalla */
.click-word {
  position: relative;
  display: inline-block;
  color: var(--fg);
  font-weight: 500;
  white-space: nowrap;
}
/* Anillo de ripple que emana de la palabra */
.click-word::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; height: 100%;
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
}
.click-word.animate { animation: clickPress 0.5s var(--ease) 1; }
.click-word.animate::after { animation: clickRipple 0.7s var(--ease) 1; }

@keyframes clickPress {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.93); }
  70%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}
@keyframes clickRipple {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  25%  { opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px);
}
.how-it-works__step {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.step-big {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sand);
  margin-bottom: 18px;
}
.how-it-works__step h3 {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.how-it-works__step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CUÁNDO TIENE SENTIDO — aligned cards, landscape imagery
═══════════════════════════════════════════════════════════════ */
.cuando {
  padding-block: var(--gap);
  background: var(--bg-alt);
}
.cuando__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.cuando__list {
  border-top: 1px solid var(--border);
}
.cuando__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.5s var(--ease);
}
.cuando__row:hover { padding-left: 12px; }

.cuando__index {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sand);
  padding-top: 0.55em;
}
.cuando__head {
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--fg);
  max-width: 18ch;
}
.cuando__desc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--fg-muted);
  padding-top: 0.5em;
  max-width: 42ch;
}

/* ═══════════════════════════════════════════════════════════════
   INSIDE YOUR DOSSIER — single phrase, split layout
═══════════════════════════════════════════════════════════════ */
.dossier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.dossier__left {
  display: flex;
  align-items: center;
  padding: var(--gap) clamp(20px, 5vw, 56px);
}
.dossier__text-wrap { max-width: 620px; margin-left: auto; padding-right: clamp(20px, 4vw, 64px); }
.dossier__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.dossier__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 36px;
  max-width: 42ch;
}
.dossier__list { display: flex; flex-direction: column; }
.dossier__list li {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--fg-muted);
}
.dossier__list li:last-child { border-bottom: 1px solid var(--border); }
.dossier__item-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 4px;
}
.dossier__visual { overflow: hidden; }
.dossier__visual img {
  width: 100%; height: 100%;
  min-height: 460px;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════
   THE ROOM STUDIO
═══════════════════════════════════════════════════════════════ */
.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg-alt);
}
.studio__portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.studio__portrait { position: relative; overflow: hidden; }
.studio__portrait img {
  width: 100%; height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform 1s var(--ease);
}
.studio__portrait:hover img { transform: scale(1.04); }
.studio__portrait-name {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.studio__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px);
}
.studio__text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
}
.studio__text p {
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--fg-muted);
  margin-bottom: 16px;
  max-width: 48ch;
}
.studio__links {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
.faq { padding-block: var(--gap); }
.faq__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.faq__category { margin-bottom: 40px; }
.faq__cat-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  padding: 18px 0 6px;
  border-top: 1px solid var(--border);
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-align: left;
  transition: color 0.25s;
}
.faq__question:hover { color: var(--fg-muted); }

/* Plus/minus icon drawn with pseudo-elements */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px; height: 16px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--sand);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.faq__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq__question[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq__question[aria-expanded="true"] .faq__icon::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq__answer.open { max-height: 400px; }
.faq__answer p {
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--fg-muted);
  max-width: 760px;
  padding-bottom: 26px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL — immersive bookend
═══════════════════════════════════════════════════════════════ */
.cta-final {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 56px);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.cta-final__bg { position: absolute; inset: 0; z-index: -2; }
.cta-final__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.cta-final__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8,7,4,0.72), rgba(8,7,4,0.82));
}
.cta-final__inner { max-width: 720px; }
.cta-final h2 {
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.cta-final p {
  font-size: 1rem;
  color: rgba(251,249,244,0.72);
  margin-bottom: 44px;
}
.cta-final__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--ink-muted);
  padding-block: clamp(48px, 6vw, 72px) 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--ink-faint);
}
.footer__logo {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: 10px;
}
.footer__brand p { font-size: 0.78rem; letter-spacing: 0.06em; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-content: start;
}
.footer__nav a { transition: color 0.25s; }
.footer__nav a:hover { color: var(--paper); }
.footer__contact p { font-size: 0.78rem; margin-bottom: 8px; }
.footer__contact a {
  font-size: 0.85rem;
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.72rem;
  opacity: 0.55;
  flex-wrap: wrap;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--paper); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .como-nace__steps { grid-template-columns: 1fr; gap: 28px; }
  .que-no-es__list  { grid-template-columns: 1fr 1fr; }
  .how-it-works__steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cuando__row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px clamp(20px, 4vw, 40px);
  }
  .cuando__desc { grid-column: 2; padding-top: 14px; max-width: none; }

  .una-estancia,
  .edition000,
  .dossier,
  .studio { grid-template-columns: 1fr; }

  .edition000 { display: flex; flex-direction: column-reverse; }
  .dossier__left { padding-block: var(--gap) clamp(36px, 5vw, 56px); }
  .dossier__text-wrap { margin-left: 0; padding-right: 0; max-width: none; }
  .dossier__visual img { min-height: 360px; }
  .studio__portrait img { min-height: 360px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .navbar__nav { display: none; }
  .navbar__burger { display: flex; }

  .que-no-es__list { grid-template-columns: 1fr; }
  .how-it-works__steps { grid-template-columns: 1fr; }


  .una-estancia__visual img,
  .edition000__visual img { min-height: 320px; }

  .studio__portrait img { min-height: 300px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }

  .cta-final__btns { flex-direction: column; align-items: stretch; }
  .studio__links { flex-direction: column; align-items: stretch; }
  .studio__links .btn,
  .cta-final__btns .btn { width: 100%; }
}
