/* Sierra Lagos — ficha editorial */

:root {
  --ink: #1c2420;
  --muted: #5e6a64;
  --forest: #24352e;
  --line: rgba(28, 36, 32, 0.14);
  --line-strong: rgba(28, 36, 32, 0.28);
  --cream: #f4efe6;
  --paper: #faf7f2;
  --white: #fff;
  --stone: #cfc4b2;
  --header: 4.25rem;
  --shell: 1220px;
  --gutter: clamp(1.15rem, 3vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --dock: 4.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + var(--safe-top) + 0.4rem);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0.01em;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
figure { margin: 0; }

.shell {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 120;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.9rem;
}
.skip-link:focus { top: 0.7rem; }

.index {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.index.light { color: rgba(244, 239, 230, 0.7); }

.lead {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: calc(var(--header) + var(--safe-top));
  padding-top: var(--safe-top);
  color: var(--ink);
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
}

.site-header.on-hero {
  background: transparent;
  color: #fff;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-text em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a, .nav .text-cta {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.82;
}
.nav a:hover, .nav .text-cta:hover { opacity: 1; }
.nav a.is-active { opacity: 1; box-shadow: inset 0 -1px 0 currentColor; }
.nav .text-cta {
  opacity: 1;
  border: 1px solid currentColor;
  padding: 0.5rem 0.9rem;
  letter-spacing: 0.12em;
}
.nav .text-cta:active, .btn:active { transform: scale(0.98); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.12s;
}
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-solid:hover { background: #fff; }
.cierre .btn-solid, .inquiry .btn-solid { background: var(--ink); color: var(--cream); }
.cierre .btn-solid:hover, .inquiry .btn-solid:hover { background: #000; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.icon-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  background: #14120f;
}

.hero-media,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
  background: #14120f;
  padding: 0;
  cursor: zoom-in;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-veil {
  display: block;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 18, 16, 0.78) 0%, rgba(14, 18, 16, 0.35) 38%, rgba(14, 18, 16, 0.08) 62%),
    linear-gradient(180deg, rgba(14, 18, 16, 0.28) 0%, transparent 28%, rgba(14, 18, 16, 0.62) 100%);
}

.hero-frame {
  position: relative;
  z-index: 1;
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  max-width: 36rem;
  margin: 0 auto 0 max(var(--gutter), calc((100% - var(--shell)) / 2));
  padding: 5.5rem 0 6.2rem;
  text-shadow: 0 10px 32px rgba(8, 12, 10, 0.45);
}

.hero-status {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  margin-bottom: 0.45rem;
  opacity: 0.92;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  font-weight: 500;
  max-width: 13ch;
  margin-bottom: 0.7rem;
}

.hero-loc {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  opacity: 0.88;
  margin-bottom: 1.3rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-facts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--dock) + var(--safe-bottom));
  z-index: 2;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(20, 26, 24, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,0.12);
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-facts::-webkit-scrollbar { display: none; }

.hero-facts li {
  flex: 1 0 7.2rem;
  padding: 0.85rem 1.1rem 0.95rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-facts li span {
  display: block;
  line-height: 1.3;
  max-width: 9ch;
}
.hero-facts li:last-child { border-right: 0; }
.hero-facts b {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

/* Concepto */
.concepto {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 88vh;
  background: var(--paper);
}

.concepto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.concepto-copy {
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.concepto h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

blockquote {
  margin: 1.6rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
}
blockquote p { margin: 0; }

/* Ficha */
.ficha-section { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--white); }
.spread {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.spread h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; max-width: 16ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0 0 2.8rem;
}
.stats > div {
  padding: 0.2rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
  margin-right: 1rem;
}
.stats dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats dd {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ficha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.ficha-grid h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.spec-lines { list-style: none; margin: 0; padding: 0; }
.spec-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec-lines li span:first-child { color: var(--muted); }
.spec-lines li span:last-child { text-align: right; font-weight: 500; }

.water-band {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.water-band h3 { color: var(--cream); font-size: 1.7rem; font-weight: 500; }
.water-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.water-pair p { margin: 0; }
.water-pair b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.water-pair span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.water-note { margin: 0; font-size: 0.92rem; opacity: 0.78; max-width: 28ch; }

/* Lookbook */
.lookbook-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0 3rem;
  background: var(--paper);
  overflow: hidden;
}
.lookbook-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.lookbook-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.lookbook-ctrl { display: flex; align-items: center; gap: 0.45rem; }
.lookbook-count {
  margin: 0 0.6rem 0 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--muted);
}

.lookbook {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 var(--gutter) 1.2rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.lookbook::-webkit-scrollbar { display: none; }
.lookbook.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.lookbook:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.slide {
  position: relative;
  flex: 0 0 min(78vw, 820px);
  scroll-snap-align: start;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
}
.slide img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.slide::after {
  content: "Ver";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: rgba(20, 22, 20, 0.72);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  pointer-events: none;
}
.slide figcaption {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.slide figcaption span { color: var(--ink); font-variant-numeric: tabular-nums; }

.lookbook-bar {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  height: 1px;
  background: var(--line);
}
.lookbook-bar i {
  display: block;
  height: 1px;
  width: 14%;
  background: var(--ink);
  transition: width 0.2s linear;
}

/* Ubicación */
.ubicacion {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: stretch;
}
.ubicacion-photo { position: absolute; inset: 0; }
.ubicacion-photo img { width: 100%; height: 100%; object-fit: cover; }
.ubicacion-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,22,20,0.55), rgba(16,22,20,0.12) 55%);
}
.ubicacion-panel {
  position: relative;
  z-index: 1;
  width: min(28.5rem, calc(100% - 2 * var(--gutter)));
  margin: clamp(2rem, 8vh, 5rem) var(--gutter);
  margin-left: max(var(--gutter), calc((100% - var(--shell)) / 2));
  padding: 2rem 1.7rem 1.8rem;
  background: var(--paper);
  color: var(--ink);
  align-self: center;
}
.ubicacion-panel h2 { font-size: clamp(2rem, 3.5vw, 2.7rem); font-weight: 500; margin-bottom: 0.8rem; }
.dist { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.dist li {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.dist b {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

/* Why */
.why { padding: clamp(4rem, 8vw, 6.5rem) 0 calc(var(--dock) + var(--safe-bottom) + 2rem); background: var(--white); }
.why h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin-bottom: 2.2rem; }
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why-list li {
  display: grid;
  grid-template-columns: 2.4rem 0.8fr 1.2fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  counter-increment: why;
}
.why-list li::before {
  content: counter(why, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--muted);
}
.why-list h3 { font-size: 1.45rem; font-weight: 500; }
.why-list p { margin: 0; color: var(--muted); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }

/* Cierre */
.cierre {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  color: #fff;
}
.cierre-media { position: absolute; inset: 0; }
.cierre-media img { width: 100%; height: 100%; object-fit: cover; }
.cierre-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,22,20,0.15), rgba(16,22,20,0.72));
}
.cierre-copy {
  position: relative;
  z-index: 1;
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 5rem 0 3.5rem;
}
.cierre h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; max-width: 14ch; margin-bottom: 0.8rem; }
.cierre-copy p { max-width: 38ch; opacity: 0.88; }
.cierre-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.site-footer {
  background: var(--ink);
  color: rgba(244, 239, 230, 0.62);
  padding: 1.6rem 0 calc(var(--dock) + var(--safe-bottom) + 1.2rem);
  font-size: 0.85rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-brand { color: #fff; font-family: var(--serif); font-size: 1.15rem; margin: 0; }
.footer-brand i { font-style: italic; opacity: 0.7; }
.footer-copy { margin: 0; }
.footer-copy .linkish {
  background: none; border: 0; padding: 0; color: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em;
}

/* Dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: var(--dock);
  height: calc(var(--dock) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--ink);
  color: var(--cream);
}
.dock button, .dock a {
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dock button { background: var(--cream); color: var(--ink); }
.dock button:active, .dock a:active { transform: scale(0.985); }

/* Inquiry */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 22, 20, 0.46);
}
.inquiry {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(28.5rem, 100%);
  background: var(--paper);
  color: var(--ink);
  padding: 1.3rem 1.5rem 2rem;
  overflow: auto;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(104%);
  transition: transform 0.42s var(--ease), visibility 0.42s;
  box-shadow: -24px 0 50px rgba(16, 22, 20, 0.12);
}
.inquiry.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.scrim[hidden] { display: none; }
.inquiry-handle { display: none; }
.inquiry-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.inquiry-head h2 { font-size: 2rem; font-weight: 500; }
.inquiry-lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.3rem; }
.inquiry-wa {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.form { display: grid; gap: 0.85rem; position: relative; }
.form label { display: grid; gap: 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.form input, .form select {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 0;
  padding: 0.55rem 0;
  outline: none;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1rem;
  appearance: none;
  border-radius: 0;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%231c2420' stroke-width='1.2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  padding-right: 1.4rem;
}
.form input:focus, .form select:focus { border-bottom-color: var(--ink); }
.form .btn { width: 100%; margin-top: 0.4rem; }
.form-status { min-height: 1.2em; margin: 0; font-size: 0.9rem; text-transform: none; letter-spacing: 0; }
.form-status.ok { color: var(--forest); }
.form-status.err { color: #8a2b2b; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(8, 10, 9, 0.96);
  color: #fff;
}
.lightbox.is-open,
.lightbox:not([hidden]) {
  display: block;
}
.lightbox-stage {
  position: absolute;
  inset: 3.6rem 0 4.4rem;
  display: grid;
  place-items: center;
  padding: 0 7.5rem;
}
.lightbox-stage img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  margin: 0;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.85;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(20, 22, 20, 0.72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  padding: 0.55rem 0.9rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  padding: 0.85rem 1rem;
}
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-close:hover,
.lightbox-nav:hover { background: #fff; color: var(--ink); }
.concepto-media img,
.js-photo { cursor: zoom-in; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .inquiry { transition: none; }
}

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .concepto { grid-template-columns: 1fr; }
  .concepto-media img { min-height: 380px; max-height: 52vh; }
  .water-band { grid-template-columns: 1fr; }
  .why-list li { grid-template-columns: 2.2rem 1fr; }
  .why-list p { grid-column: 2; }
}

@media (max-width: 780px) {
  body { line-height: 1.72; }

  .menu-btn { display: block; color: inherit; }

  .site-header.on-hero:has(.nav.open) {
    background: rgba(250, 247, 242, 0.96);
    color: var(--ink);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line);
  }

  .nav {
    display: none;
    position: fixed;
    inset: calc(var(--header) + var(--safe-top)) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem var(--gutter) 1.2rem;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header) - var(--safe-top));
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a, .nav .text-cta {
    padding: 0.85rem 0;
    border: 0;
    text-align: left;
  }
  .nav .text-cta {
    margin-top: 0.35rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  .site-header.on-hero {
    color: #fff;
  }
  .site-header.on-hero .brand-text em { opacity: 0.85; }
  .site-header.on-hero .nav.open { color: var(--ink); }

  .hero {
    min-height: auto;
    display: grid;
    grid-template-rows: auto auto auto;
    align-items: stretch;
    color: var(--ink);
    background: var(--paper);
  }
  .hero-media {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    height: min(52vh, 26rem);
    min-height: 15.5rem;
    cursor: zoom-in;
    overflow: hidden;
  }
  .hero-veil {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    align-self: stretch;
    min-height: 0;
    pointer-events: none;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(14, 18, 16, 0.35) 0%, transparent 40%),
      linear-gradient(0deg, rgba(14, 18, 16, 0.2) 0%, transparent 30%);
  }
  .hero-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: center 42%;
  }
  .hero-frame {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: -2.25rem 0 0;
    padding: 1.85rem var(--gutter) 1.35rem;
    background: var(--paper);
    color: var(--ink);
    text-shadow: none;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -12px 40px rgba(14, 18, 16, 0.12);
  }
  .hero-status {
    margin-bottom: 1.1rem;
    padding-bottom: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    border-bottom-color: var(--line-strong);
  }
  .hero-slogan {
    font-size: 1.12rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 1;
    color: var(--ink);
    max-width: 22ch;
  }
  .hero h1 {
    max-width: 14ch;
    font-size: clamp(1.95rem, 8.2vw, 2.45rem);
    line-height: 1.22;
    margin-bottom: 1rem;
    color: var(--ink);
    letter-spacing: -0.02em;
  }
  .hero-loc {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
    color: var(--muted);
    opacity: 1;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .hero-actions .js-inquiry {
    display: none;
  }
  .hero-actions .btn {
    width: auto;
    min-height: 2.65rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.72rem;
  }
  .hero-actions .btn-line {
    color: var(--ink);
    border-color: var(--line-strong);
  }
  .hero-actions .btn-line:hover {
    background: var(--cream);
    border-color: var(--ink);
  }

  .hero-facts {
    grid-row: 3;
    grid-column: 1;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin: 0;
    padding: 0.25rem var(--gutter) 1.1rem;
    scroll-padding-inline: var(--gutter);
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .hero-facts li {
    flex: 0 0 auto;
    min-width: 7.75rem;
    padding: 0.9rem 1rem;
    scroll-snap-align: start;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: var(--white);
    color: var(--muted);
    font-size: 0.64rem;
  }
  .hero-facts li:last-child {
    margin-right: 0;
    padding-right: 1rem;
    border-right: 1px solid var(--line);
  }
  .hero-facts li span {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    color: var(--muted);
  }
  .hero-facts b {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    color: var(--ink);
  }

  /* Concepto */
  .concepto { min-height: auto; }
  .concepto-copy {
    padding: 3.5rem var(--gutter) 4rem;
  }
  .concepto h2 {
    max-width: none;
    font-size: clamp(1.95rem, 7.5vw, 2.45rem);
    line-height: 1.12;
    margin-bottom: 1.35rem;
  }
  .concepto .lead { max-width: none; }
  blockquote { font-size: 1.3rem; }

  /* Ficha */
  .ficha-section { padding: 3.75rem 0 4.25rem; }
  .spread, .ficha-grid { grid-template-columns: 1fr; gap: 2rem; }
  .spread { margin-bottom: 2.5rem; padding-bottom: 1.75rem; }
  .spread h2 { line-height: 1.12; }
  .spread .lead { max-width: none; }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 2rem;
  }
  .stats > div {
    margin-right: 0;
    padding: 1.15rem 1rem 1.3rem 0;
    border-bottom: 1px solid var(--line);
  }
  .stats > div:nth-child(odd) { padding-right: 1rem; }
  .ficha-grid { gap: 2rem; margin-bottom: 2rem; }
  .water-band {
    gap: 1rem;
    padding: 1.6rem var(--gutter);
  }
  .water-band h3 { font-size: 1.45rem; }
  .water-note { max-width: none; }

  /* Lookbook */
  .lookbook-section { padding: 3.75rem 0 3.25rem; }
  .lookbook-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }
  .lookbook-ctrl {
    width: 100%;
    justify-content: space-between;
  }
  .slide { flex: 0 0 86vw; }

  /* Ubicación */
  .ubicacion {
    min-height: auto;
    display: block;
  }
  .ubicacion-photo {
    position: relative;
    min-height: 46vh;
  }
  .ubicacion-photo::after {
    background: linear-gradient(180deg, rgba(16,22,20,0.2) 0%, rgba(16,22,20,0.55) 100%);
  }
  .ubicacion-panel {
    position: relative;
    width: calc(100% - 2 * var(--gutter));
    margin: -2.75rem auto 2.75rem;
    padding: 1.85rem 1.5rem 1.65rem;
  }
  .ubicacion-panel h2 { font-size: clamp(1.85rem, 6.5vw, 2.3rem); }
  .ubicacion-panel .lead { max-width: none; }

  /* Beneficios */
  .why { padding: 3.75rem 0 calc(var(--dock) + var(--safe-bottom) + 2rem); }
  .why-list li {
    grid-template-columns: 2rem 1fr;
    gap: 0.5rem 0.9rem;
    padding: 1.5rem 0;
  }
  .why-list h3 {
    grid-column: 2;
    font-size: 1.25rem;
  }
  .why-list p {
    grid-column: 2;
    font-size: 0.95rem;
  }

  /* Cierre */
  .cierre { min-height: 62vh; }
  .cierre-copy {
    padding: 3.5rem 0 2.75rem;
  }
  .cierre h2 { max-width: none; font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .cierre-copy p { max-width: none; }
  .cierre-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .cierre-actions .btn {
    width: 100%;
    min-height: 3rem;
    font-size: 0.74rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  /* Inquiry */
  .inquiry {
    top: auto;
    left: 0;
    width: 100%;
    max-height: min(92dvh, calc(100dvh - var(--safe-top)));
    padding-bottom: calc(1.5rem + var(--safe-bottom));
    transform: translateY(110%);
    padding-top: 0.6rem;
  }
  .inquiry.is-open { transform: none; }
  .inquiry-handle {
    display: block;
    width: 2.6rem;
    height: 3px;
    background: var(--stone);
    margin: 0.35rem auto 0.8rem;
  }

  /* Lightbox */
  .lightbox-stage {
    inset: 3.2rem 0 4rem;
    padding: 0 3.2rem;
  }
  .lightbox-nav {
    padding: 0.7rem 0.55rem;
    font-size: 0.65rem;
  }
  .lightbox-nav.prev { left: 0.35rem; }
  .lightbox-nav.next { right: 0.35rem; }
  .lightbox-close {
    top: calc(0.65rem + var(--safe-top));
    right: 0.65rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 1.35rem; }

  .brand-text strong { font-size: 1rem; }
  .brand-text em { font-size: 0.58rem; }

  .hero-media {
    min-height: 14rem;
    height: min(48vh, 22rem);
  }
  .hero-frame {
    margin-top: -1.75rem;
    padding: 1.65rem var(--gutter) 1.2rem;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.15rem);
    line-height: 1.24;
    max-width: 13ch;
  }
  .hero-slogan { font-size: 1.05rem; }

  .cierre-actions {
    grid-template-columns: 1fr;
  }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats dd { font-size: 1.55rem; }

  .spec-lines li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.75rem 0;
  }
  .spec-lines li span:last-child { text-align: left; }

  .dist li {
    grid-template-columns: 3.6rem 1fr;
    gap: 0.65rem;
    font-size: 0.9rem;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .lightbox-stage {
    inset: 3rem 0 3.6rem;
    padding: 0 0.35rem;
  }
  .lightbox-nav.prev { left: 0.25rem; }
  .lightbox-nav.next { right: 0.25rem; }
}

/* Cookies */
.cookie {
  position: fixed;
  z-index: 55;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(var(--dock) + var(--safe-bottom) + 0.65rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 16px 40px rgba(16, 22, 20, 0.28);
}
html.cookies-ok .cookie { display: none; }
.cookie p { margin: 0; font-size: 0.88rem; line-height: 1.45; max-width: 42em; }
.cookie b { font-weight: 600; }
.cookie-actions { display: flex; align-items: center; gap: 0.65rem; flex: none; }
.cookie .linkish {
  background: none; border: 0; padding: 0; color: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em;
  font-size: 0.82rem;
}
.cookie .btn { min-height: 2.4rem; padding: 0.45rem 0.95rem; font-size: 0.7rem; }
.cookie-x {
  width: 2.1rem; height: 2.1rem; flex: none;
  border: 0; background: rgba(244, 239, 230, 0.12); color: var(--cream);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.cookie-x:hover { background: rgba(244, 239, 230, 0.22); }
@media (min-width: 900px) {
  .cookie { left: auto; width: min(32rem, calc(100vw - 2.5rem)); }
}

.privacy {
  border: 0;
  padding: 1.6rem 1.7rem;
  max-width: 28rem;
  width: calc(100% - 2rem);
  background: var(--paper);
  color: var(--ink);
}
.privacy::backdrop { background: rgba(16, 22, 20, 0.5); }
.privacy h2 { font-size: 1.7rem; margin-bottom: 0.8rem; }
.privacy p { color: var(--muted); font-size: 0.95rem; }
.privacy .btn { margin-top: 0.6rem; }
.privacy.is-fallback {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 90;
  margin: 0;
}
