/* =========================================================
   PRÍNCIPE MADRID — Boutique Luxury / Designer Editorial
   styles.css completo
========================================================= */

/* -----------------------------
   TOKENS
----------------------------- */
:root {
  --ivory: #f6f1e8;
  --paper: #f2eadf;
  --cream: #fff6e6;
  --stone: #d8d0c4;

  --navy: #0d1b2a;
  --deepBlue: #14213d;
  --inkBlue: #1b263b;
  --burgundy: #5c1a1b;
  --cognac: #8b5a2b;
  --walnut: #4a2f25;
  --champ: #e7d8c3;
  --gold: #c6a24f;
  --rose: #d6b8b2;
  --sage: #a7b6aa;

  --ink: #0c0f14;
  --muted: rgba(12, 15, 20, 0.62);
  --muted2: rgba(13, 27, 42, 0.72);

  --line: rgba(13, 27, 42, 0.12);
  --lineLight: rgba(255, 255, 255, 0.14);

  --radius: 20px;
  --radius2: 28px;

  --shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  --shadowSoft: 0 16px 50px rgba(0, 0, 0, 0.14);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease2: cubic-bezier(0.16, 1, 0.3, 1);

  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans:
    "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;

  --navH: 78px;

  --sceneA: rgba(198, 162, 79, 0.18);
  --sceneB: rgba(214, 184, 178, 0.14);
  --sceneC: rgba(167, 182, 170, 0.12);
  --sceneD: rgba(13, 27, 42, 0.16);
}

/* -----------------------------
   BASE / RESET
----------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(
      1200px 820px at 12% 10%,
      rgba(13, 27, 42, 0.08),
      transparent 60%
    ),
    radial-gradient(
      900px 620px at 88% 12%,
      rgba(139, 90, 43, 0.1),
      transparent 62%
    ),
    radial-gradient(
      980px 740px at 70% 86%,
      rgba(214, 184, 178, 0.12),
      transparent 64%
    ),
    linear-gradient(180deg, var(--ivory), var(--paper));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Keep below-the-fold sections out of the initial layout/paint workload. */
main > section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

@media (max-width: 980px), (prefers-reduced-motion: reduce) {
  .cin-bg__a,
  .cin-bg__leaks,
  .galleryAuto__track {
    animation: none !important;
  }
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
}

::selection {
  background: rgba(198, 162, 79, 0.28);
}

/* -----------------------------
   CINEMATIC BACKGROUND
----------------------------- */
.cin-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
}

.cin-bg__a {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(980px 680px at 18% 8%, var(--sceneA), transparent 58%),
    radial-gradient(900px 700px at 82% 18%, var(--sceneD), transparent 65%),
    radial-gradient(760px 620px at 70% 78%, var(--sceneB), transparent 62%),
    linear-gradient(180deg, var(--ivory), var(--paper));
  animation: bgDrift 14s var(--ease2) infinite alternate;
  transform: translate3d(0, 0, 0);
}

.cin-bg__b {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(
      860px 560px at 30% 30%,
      rgba(198, 162, 79, 0.12),
      transparent 62%
    ),
    radial-gradient(
      820px 560px at 72% 62%,
      rgba(167, 182, 170, 0.12),
      transparent 62%
    ),
    radial-gradient(
      900px 720px at 50% 85%,
      rgba(12, 15, 20, 0.06),
      transparent 68%
    );
  opacity: 0.85;
}

.cin-bg__leaks {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(
      560px 380px at 10% 62%,
      rgba(214, 184, 178, 0.26),
      transparent 62%
    ),
    radial-gradient(
      620px 420px at 94% 26%,
      rgba(167, 182, 170, 0.22),
      transparent 64%
    ),
    radial-gradient(
      760px 520px at 52% 14%,
      rgba(139, 90, 43, 0.18),
      transparent 64%
    ),
    radial-gradient(
      780px 520px at 30% 22%,
      rgba(13, 27, 42, 0.16),
      transparent 66%
    );
  mix-blend-mode: multiply;
  opacity: 0.62;
  filter: blur(2px);
  animation: leaks 10s var(--ease2) infinite alternate;
}

.cin-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

@keyframes bgDrift {
  from {
    filter: saturate(1) contrast(1);
    transform: translate3d(0, 0, 0);
  }
  to {
    filter: saturate(1.12) contrast(1.05);
    transform: translate3d(-10px, 12px, 0);
  }
}

@keyframes leaks {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.54;
  }
  to {
    transform: translate3d(18px, -12px, 0);
    opacity: 0.7;
  }
}

/* -----------------------------
   TOPBAR
----------------------------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navH);
  z-index: 60;
  background: rgba(13, 27, 42, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(0);
  transition:
    transform 0.75s var(--ease2),
    opacity 0.75s var(--ease2),
    background 0.75s var(--ease2);
}

.topbar--solid {
  background: rgba(13, 27, 42, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.is-home .topbar--auto {
  transform: translateY(-110%);
  opacity: 0;
}

.is-home.is-scrolled .topbar--auto {
  transform: translateY(0);
  opacity: 1;
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__mark {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.18em;
  font-size: 16px;
  color: rgba(231, 216, 195, 0.95);
}

.brand__sub {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.nav {
  display: none;
  gap: 18px;
  align-items: center;
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 2px;
  position: relative;
  transition: color 0.4s var(--ease);
}

.nav a:hover {
  color: rgba(198, 162, 79, 0.98);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 162, 79, 0.95),
    transparent
  );
  transform: scaleX(0);
  transition: transform 0.55s var(--ease2);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: rgba(231, 216, 195, 0.98);
}

.nav a[data-lang-placeholder],
.drawer__link[data-lang-placeholder] {
  cursor: default;
}

/* -----------------------------
   BURGER / DRAWER
----------------------------- */
.menuBtn {
  display: none;
}

.menuBtn--mobile {
  display: grid;
  position: relative;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  place-items: center;
  gap: 6px;
  color: #fff;
}

@media (min-width: 980px) {
  .menuBtn--mobile {
    display: none;
  }
}

.menuBtn span {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.9;
  transition:
    transform 0.28s ease,
    width 0.28s ease,
    opacity 0.28s ease;
}

.menuBtn span:nth-child(2) {
  width: 14px;
  justify-self: end;
}

.menuBtn[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 17, 0.96);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: #5b5e60;
  border-left: 1px solid rgba(231, 216, 195, 0.34);
  transform: translateX(110%);
  transition: transform 0.65s var(--ease2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -22px -22px 0;
  padding: 22px;
  background: #071421;
  border-bottom: 1px solid rgba(231, 216, 195, 0.24);
}

.drawer__title {
  font-family: var(--serif);
  font-size: 22px;
  color: #f5eadb;
}

.drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(231, 216, 195, 0.55);
  background: rgba(231, 216, 195, 0.22);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.drawer__link {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(231, 216, 195, 0.34);
  background: rgba(20, 42, 64, 0.96);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  transition:
    transform 0.55s var(--ease2),
    background 0.55s var(--ease2),
    border-color 0.55s var(--ease2);
}

.drawer__link:hover {
  transform: translateX(-3px);
  background: rgba(34, 57, 79, 0.98);
  border-color: rgba(198, 162, 79, 0.5);
}

.drawer__meta {
  margin-top: auto;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(231, 216, 195, 0.28);
  background: rgba(20, 42, 64, 0.98);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* -----------------------------
   TYPO
----------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.62);
}

.h2 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.92;
  margin: 14px 0 0;
  letter-spacing: -0.012em;
}

.lead {
  font-size: 16px;
  line-height: 1.95;
  color: rgba(13, 27, 42, 0.72);
  max-width: 62ch;
}

.sectionHead {
  margin-bottom: 28px;
}

.sectionHead--center {
  text-align: center;
  margin-bottom: 72px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* -----------------------------
   BUTTONS
----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.6s var(--ease2),
    background 0.6s var(--ease2),
    border-color 0.6s var(--ease2),
    box-shadow 0.6s var(--ease2),
    color 0.6s var(--ease2);
}

.btn--big {
  padding: 14px 22px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(
    180deg,
    rgba(231, 216, 195, 0.92),
    rgba(198, 162, 79, 0.92)
  );
  color: #121318;
  box-shadow: 0 22px 54px rgba(198, 162, 79, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 76px rgba(13, 27, 42, 0.18),
    0 18px 44px rgba(139, 90, 43, 0.14);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.btn--ghost:hover {
  background: rgba(92, 26, 27, 0.14);
  border-color: rgba(231, 216, 195, 0.34);
}

.btn--dark {
  background: rgba(13, 27, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--dark:hover {
  transform: translateY(-2px);
  background: rgba(13, 27, 42, 0.98);
}

/* -----------------------------
   PANELS
----------------------------- */
.panel {
  position: relative;
  padding: calc(var(--navH) + 80px) 0 130px;
  isolation: isolate;
}

.is-home .panel {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  overflow: hidden;
}

.is-home {
  scroll-snap-type: y proximity;
}

.panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.12), transparent);
  opacity: 0;
  transition: opacity 1.1s var(--ease2);
  pointer-events: none;
  z-index: 0;
}

.panel.is-active::before {
  opacity: 0.7;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      520px 320px at 10% 12%,
      rgba(198, 162, 79, 0.08),
      transparent 62%
    ),
    radial-gradient(
      520px 320px at 92% 86%,
      rgba(92, 26, 27, 0.06),
      transparent 62%
    ),
    radial-gradient(
      640px 420px at 70% 20%,
      rgba(13, 27, 42, 0.06),
      transparent 66%
    );
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}

.panel > .wrap,
.panel > .strip,
.panel > .rentGrid,
.panel > .editorialMarquee,
.panel > .collage {
  position: relative;
  z-index: 1;
}

.hero > .wrap {
  z-index: 2;
}

.is-home .panel .shutter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6%);
  transition:
    opacity 820ms var(--ease2),
    transform 820ms var(--ease2);
  background: linear-gradient(
    180deg,
    rgba(10, 18, 30, 0) 0%,
    rgba(10, 18, 30, 0.55) 45%,
    rgba(10, 18, 30, 0.92) 100%
  );
  z-index: 0;
}

.is-home .panel:not(.is-active) .shutter {
  opacity: 0.22;
  transform: none;
}

.is-home .cin-bg__a {
  animation-duration: 24s;
}

.is-home .cin-bg__leaks {
  animation-duration: 20s;
  opacity: 0.42;
}

/* -----------------------------
   HERO
----------------------------- */
.hero {
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.16);
  filter: saturate(1.06) contrast(1.08);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      1100px 820px at 18% 10%,
      rgba(198, 162, 79, 0.26),
      transparent 62%
    ),
    radial-gradient(
      980px 780px at 86% 18%,
      rgba(13, 27, 42, 0.32),
      transparent 65%
    ),
    radial-gradient(
      900px 700px at 60% 80%,
      rgba(139, 90, 43, 0.22),
      transparent 66%
    ),
    linear-gradient(180deg, rgba(13, 27, 42, 0.24), rgba(13, 27, 42, 0.86));
}

.hero__content {
  color: #fff;
}

.hero--video .hero__media {
  position: absolute;
  inset: 0;
}

.hero--video .hero__media img {
  object-position: center center;
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.02);
}

.hero__veil--cinema {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 520px at 50% 40%,
      rgba(0, 0, 0, 0.15),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.55)
    );
}

.hero__content--video {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: calc(var(--navH) + 90px) 0 70px;
}

.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  max-width: 720px;
}

.hero__word {
  margin: 0;
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 0.86;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  font-size: clamp(64px, 12vw, 160px);
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.hero__cta--bottom {
  margin-top: 22px;
}

.scrollHint {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.86;
}

.scrollHint--center {
  position: relative;
  margin-top: 28px;
}

.scrollHint__line {
  width: 58px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(231, 216, 195, 0.95),
    transparent
  );
  animation: hint 3s var(--ease2) infinite;
}

.scrollHint__txt {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

@keyframes hint {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.62;
  }
  50% {
    transform: translateX(-4px);
    opacity: 0.86;
  }
}

/* -----------------------------
   HOME INTRO
----------------------------- */
.intro--paper {
  background: rgba(242, 234, 223, 0.92);
  backdrop-filter: blur(6px);
}

.intro__wrap {
  padding-top: calc(var(--navH) + 70px);
  padding-bottom: 36px;
  text-align: center;
}

.intro__title {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 0.92;
  font-size: clamp(44px, 5.4vw, 96px);
  margin: 0 auto 22px;
  max-width: 980px;
  color: rgba(12, 15, 20, 0.95);
}

.intro__title--italic {
  font-style: italic;
  font-weight: 520;
  opacity: 0.92;
}

.intro__text {
  max-width: 760px;
  margin: 0 auto 26px;
  color: rgba(12, 15, 20, 0.78);
  font-size: 15.5px;
  line-height: 1.75;
}

.intro__text p {
  margin: 0 0 18px;
}

.intro__cta {
  display: flex;
  justify-content: center;
}

/* -----------------------------
   BG SCENE
----------------------------- */
.bgScene {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: var(--navH);
  background: rgba(242, 234, 223, 0.92);
}

.bgScene__bg {
  position: absolute;
  inset: 0;
}

.bgScene__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.03);
}

.bgScene__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      900px 520px at 70% 40%,
      rgba(0, 0, 0, 0.18),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(10, 18, 30, 0.45),
      rgba(10, 18, 30, 0.15) 35%,
      rgba(10, 18, 30, 0.55)
    );
}

.bgScene__wrap {
  position: relative;
  min-height: calc(100vh - var(--navH));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0 64px;
  z-index: 2;
}

.bgScene__sheet {
  width: min(560px, 92vw);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 0;
  padding: clamp(22px, 2.8vw, 36px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.45) inset;
  backdrop-filter: blur(8px);
}

.bgScene__kicker {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(13, 27, 42, 0.6);
  margin-bottom: 12px;
}

.bgScene__title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin: 0 0 16px;
  font-size: clamp(44px, 4.6vw, 74px);
  color: rgba(12, 15, 20, 0.94);
}

.bgScene__body {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(12, 15, 20, 0.7);
  margin-bottom: 18px;
  max-width: 46ch;
}

.bgScene__facts {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.bgScene__facts li {
  padding: 10px 0;
  border-top: 1px solid rgba(13, 27, 42, 0.1);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(12, 15, 20, 0.68);
}

.bgScene__facts strong {
  font-weight: 600;
  color: rgba(12, 15, 20, 0.85);
}

.bgScene__facts li:last-child {
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}

@media (max-width: 860px) {
  .bgScene__wrap {
    justify-content: center;
    padding: 34px 0 56px;
  }

  .bgScene__sheet {
    width: min(620px, 92vw);
  }
}

#canalejas.bgScene {
  --p: 0;
  --par: 0;
}

#canalejas .bgScene__sheet {
  transition: none !important;
  transform: translate3d(
      calc((1 - var(--p)) * 18px),
      calc((1 - var(--p)) * 16px),
      0
    )
    scale(calc(0.995 + (var(--p) * 0.005)));
  opacity: calc(0.35 + (var(--p) * 0.65));
  will-change: transform, opacity;
}

#canalejas .reveal-sheetText {
  transition: none !important;
  opacity: clamp(0, calc((var(--p) - 0.1) * 1.25), 1);
  transform: translateY(calc((1 - var(--p)) * 8px));
}

#canalejas .bgScene__bg img {
  will-change: transform;
  transform: scale(1.035) translate3d(0, calc((var(--par) - 0.5) * -18px), 0);
}

#canalejas {
  margin-top: -100px;
}

/* -----------------------------
   CHAPTERS / SCENES
----------------------------- */
#chapters {
  background:
    radial-gradient(
      1200px 700px at 50% 0%,
      rgba(246, 241, 232, 0.85),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(246, 241, 232, 0.92) 0%,
      rgba(13, 27, 42, 0.1) 20%,
      rgba(13, 27, 42, 0.48) 50%,
      #0d1b2a 86%
    );
}

#chapters .scene__p,
#chapters .lead {
  color: rgba(255, 255, 255, 0.78);
}

#chapters .scene__title {
  color: rgba(255, 255, 255, 0.94);
}

#chapters .scene__num {
  color: rgba(198, 162, 79, 0.98);
}

#chapters .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

#chapters .tag,
#chapters .chip {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.scene {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  margin-top: 40px;
}

.scene--right {
  grid-template-columns: 0.85fr 1.15fr;
}

.scene--right .scene__media {
  order: 2;
}

.scene__media {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.12);
  box-shadow: var(--shadow);
  position: relative;
}

.scene__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      760px 560px at 18% 18%,
      rgba(198, 162, 79, 0.16),
      transparent 62%
    ),
    radial-gradient(
      760px 560px at 82% 24%,
      rgba(92, 26, 27, 0.1),
      transparent 66%
    ),
    radial-gradient(
      860px 620px at 40% 30%,
      rgba(13, 27, 42, 0.12),
      transparent 70%
    ),
    linear-gradient(180deg, rgba(12, 15, 20, 0), rgba(12, 15, 20, 0.14));
}

.scene__media img {
  height: 620px;
  width: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.scene__num {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 28px;
  color: rgba(198, 162, 79, 0.98);
}

.scene__title {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 56px;
  line-height: 0.95;
  margin: 12px 0 0;
}

.scene__p {
  margin-top: 14px;
  color: rgba(13, 27, 42, 0.74);
  line-height: 1.95;
  max-width: 54ch;
}

.scene__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag,
.chip {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background:
    radial-gradient(
      240px 160px at 20% 30%,
      rgba(198, 162, 79, 0.12),
      transparent 62%
    ),
    rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.72);
}

@media (max-width: 980px) {
  .scene,
  .scene--right {
    grid-template-columns: 1fr;
  }

  .scene--right .scene__media {
    order: 0;
  }

  .scene__media img {
    height: 420px;
  }

  .scene__title {
    font-size: 44px;
  }
}

/* -----------------------------
   COLLAGE
----------------------------- */
.collage {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.collage__a,
.collage__b,
.collage__c {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadowSoft);
}

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

.collage__b img {
  height: 360px;
  width: 100%;
  object-fit: cover;
}

.collage__c {
  grid-column: 1 / -1;
}

.collage__c img {
  height: 420px;
  width: 100%;
  object-fit: cover;
}

.collage__copy {
  padding: 10px 6px;
}

@media (max-width: 980px) {
  .collage {
    grid-template-columns: 1fr;
  }

  .collage__a img {
    height: 380px;
  }

  .collage__b img {
    height: 320px;
  }

  .collage__c img {
    height: 340px;
  }
}

/* -----------------------------
   REVEALS
----------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.2s var(--ease2),
    transform 1.2s var(--ease2);
  will-change: opacity, transform;
}

.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask .maskLine {
  display: block;
  overflow: hidden;
  position: relative;
}

.reveal-mask .maskLine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateY(0);
  transition: transform 1.25s var(--ease2);
}

.hero .reveal-mask .maskLine::after {
  background: rgba(13, 27, 42, 0.92);
}

.reveal-mask.in .maskLine::after {
  transform: translateY(112%);
}

.reveal-wipe {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1.2s var(--ease2),
    transform 1.2s var(--ease2);
  position: relative;
}

.reveal-wipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(92, 26, 27, 0.2),
    rgba(198, 162, 79, 0.16),
    rgba(13, 27, 42, 0.1),
    transparent
  );
  transform: translateX(-110%);
  transition: transform 1.25s var(--ease2);
  pointer-events: none;
  z-index: 2;
}

.reveal-wipe.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-wipe.in::before {
  transform: translateX(112%);
}

/* Home: restrained editorial reveals, keeping the same visual language. */
.is-home .reveal-up {
  transform: translateY(12px);
  transition-duration: 0.9s;
}

.is-home .reveal-up.in {
  transform: translateY(0);
}

.is-home .reveal-wipe {
  transform: translateY(8px);
  transition-duration: 0.9s;
}

.is-home .reveal-wipe.in {
  transform: translateY(0);
}

.is-home .reveal-wipe::before {
  transition-duration: 0.9s;
}

/* -----------------------------
   GALLERY / SERVICES
----------------------------- */
#gallery {
  position: relative;
  background: #0d1b2a !important;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  padding-top: calc(var(--navH) + 90px);
  padding-bottom: 96px;
}

#gallery .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

#gallery .h2 {
  color: rgba(255, 255, 255, 0.96);
}

#gallery .lead {
  color: rgba(255, 255, 255, 0.74);
}

#gallery::before,
#gallery::after {
  opacity: 0 !important;
  background: none !important;
}

.galleryAuto {
  position: relative;
  margin-top: 34px;
  overflow: hidden;
  width: 100%;
}

.is-home .galleryAuto__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: galleryScroll 48s linear infinite;
}

.galleryAuto:hover .galleryAuto__track {
  animation-play-state: paused;
}

.galleryAuto__slide {
  flex: 0 0 auto;
  width: min(32vw, 420px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.galleryAuto__slide img {
  width: 100%;
  height: clamp(280px, 34vw, 460px);
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}

.galleryAuto__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 2;
}

.galleryAuto__fade--left {
  left: 0;
  background: linear-gradient(90deg, rgba(13, 27, 42, 1), rgba(13, 27, 42, 0));
}

.galleryAuto__fade--right {
  right: 0;
  background: linear-gradient(270deg, rgba(13, 27, 42, 1), rgba(13, 27, 42, 0));
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

#services.services,
#services.services--to-footer,
#selected.services,
#selected.services--to-footer {
  position: relative;
  isolation: isolate;
  background: #0d1b2a !important;
  min-height: auto;
  padding-top: calc(var(--navH) + 100px);
  padding-bottom: 170px;
}

#services.services::before,
#services.services--to-footer::before,
#selected.services::before,
#selected.services--to-footer::before {
  content: none !important;
}

#services.services::after,
#services.services--to-footer::after,
#selected.services::after,
#selected.services--to-footer::after {
  opacity: 0 !important;
}

.services .sectionHead--center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.services .eyebrow,
.services .h2,
.services .lead {
  color: #fff;
}

.services__lead {
  margin: 18px auto 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76) !important;
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.serviceCard {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadowSoft);
  backdrop-filter: blur(8px);
  transition:
    transform 0.85s var(--ease2),
    box-shadow 0.85s var(--ease2),
    background 0.85s var(--ease2);
}

.is-home .serviceCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.12);
}

.serviceCard__img {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.serviceCard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease2);
}

.is-home .serviceCard:hover .serviceCard__img img {
  transform: scale(1.1);
}

.serviceCard__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      560px 380px at 20% 20%,
      rgba(214, 184, 178, 0.1),
      transparent 62%
    ),
    radial-gradient(
      620px 420px at 84% 18%,
      rgba(13, 27, 42, 0.16),
      transparent 66%
    ),
    linear-gradient(180deg, rgba(12, 15, 20, 0), rgba(12, 15, 20, 0.2));
}

.serviceCard__txt {
  padding: 18px 18px 22px;
}

.serviceCard__t {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 28px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.96);
}

.serviceCard__d {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
  font-size: 15px;
}

/* -----------------------------
   FOOTER MEGA
----------------------------- */
.footerMega {
  position: relative;
  background:
    radial-gradient(
      900px 520px at 12% 10%,
      rgba(198, 162, 79, 0.08),
      transparent 62%
    ),
    linear-gradient(180deg, rgba(13, 27, 42, 0.84), rgba(13, 27, 42, 0.94));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(82px, 8vw, 120px) 0 28px;
}

.footerMega::before,
.footerMega::after {
  content: none !important;
}

.footerMega__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footerMega__eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.footerMega__title {
  margin: 10px 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.96);
}

.footerMega__copy,
.footerMega__col p,
.footerMega__col a {
  color: rgba(255, 255, 255, 0.78);
}

.footerMega__heading {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.footerMega__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 980px) {
  .footerMega__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ZONA CANALEJAS PAGE
========================================================= */
.is-area .panel {
  min-height: auto;
}

.areaPage {
  background: linear-gradient(180deg, #dfe7f1 0%, #f3efe7 18%, #efe8dc 100%);
  color: var(--ink);
}

/* -----------------------------
   ZONA HERO
----------------------------- */
.areaHero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--navH);
  overflow: hidden;
}

.areaHero__media {
  position: absolute;
  inset: 0;
}

.areaHero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  filter: contrast(1.05) saturate(1.02);
}

.areaHero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 520px at 72% 36%,
      rgba(255, 255, 255, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(13, 27, 42, 0.48), rgba(13, 27, 42, 0.66));
}

.areaHero__content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--navH));
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  color: #fff;
}

.areaHero__kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.areaHero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.96);
}

.areaHero__lead {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

.areaHero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* -----------------------------
   ZONA INTRO
----------------------------- */
.areaIntro {
  position: relative;
  padding: 90px 0 40px;
}

.areaIntro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.miniMapCard {
  border-radius: var(--radius2);
  border: 1px solid rgba(13, 27, 42, 0.1);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadowSoft);
  backdrop-filter: blur(10px);
  padding: 22px;
}

.miniMapCard__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.56);
  margin-bottom: 10px;
}

.realMap {
  width: 100%;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.08);
  filter: grayscale(100%) contrast(1.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* -----------------------------
   ZONA PATH STORY
----------------------------- */
.pathStory {
  position: relative;
  padding: 70px 0 130px;
}

.pathTimeline {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 0;
}

.pathTimeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 180px;
  transform: translateX(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 1600' preserveAspectRatio='none'><path d='M100 0 C160 90 160 180 100 270 C40 360 40 450 100 540 C160 630 160 720 100 810 C40 900 40 990 100 1080 C160 1170 160 1260 100 1350 C40 1440 40 1530 100 1600' fill='none' stroke='rgba(13,27,42,0.24)' stroke-width='3' stroke-linecap='round' stroke-dasharray='8 14'/></svg>")
    center/100% 100% no-repeat;
  opacity: 0.95;
  pointer-events: none;
}

.pathStop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 130px;
  align-items: center;
  min-height: 430px;
  margin: 90px 0;
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.pathStop.visible {
  opacity: 1;
  transform: translateY(0);
}

.pathStop__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #c6a24f;
  border: 3px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 10px rgba(198, 162, 79, 0.1);
  z-index: 4;
}

.pathStop__side {
  position: relative;
  z-index: 3;
}

.pathStop--text-left .pathStop__side--text {
  grid-column: 1;
  padding-right: 42px;
}

.pathStop--text-left .pathStop__side--media {
  grid-column: 2;
  padding-left: 42px;
}

.pathStop--text-right .pathStop__side--media {
  grid-column: 1;
  padding-right: 42px;
}

.pathStop--text-right .pathStop__side--text {
  grid-column: 2;
  padding-left: 42px;
}

.pathStop__card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.pathStop__card--text {
  max-width: 560px;
}

.pathStop__eyebrow {
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.42);
}

.pathStop__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: rgba(10, 14, 20, 0.96);
  max-width: 8ch;
}

.pathStop__text {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(13, 27, 42, 0.68);
}

.pathStop__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.landmarkList {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  max-width: 540px;
}

.landmarkList__item {
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}

.landmarkList__item strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(13, 27, 42, 0.88);
  font-size: 15px;
  font-weight: 600;
}

.landmarkList__item span {
  color: rgba(13, 27, 42, 0.66);
  line-height: 1.7;
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 540px;
}

.featureGrid__item {
  padding: 16px 12px;
  text-align: center;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.04);
  border: 1px solid rgba(13, 27, 42, 0.08);
  color: rgba(13, 27, 42, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
}

/* -----------------------------
   ZONA CAROUSEL
----------------------------- */
.pathStop__card--media {
  width: 100%;
}

.pathCarousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 26px 70px rgba(13, 27, 42, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.pathCarousel::before,
.pathCarousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.pathCarousel::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(239, 232, 220, 0.72),
    rgba(239, 232, 220, 0)
  );
}

.pathCarousel::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(239, 232, 220, 0.72),
    rgba(239, 232, 220, 0)
  );
}

.pathCarousel__track {
  display: flex;
  width: 100%;
  animation: pathCarouselSlide 14s ease-in-out infinite;
}

.pathCarousel__track img {
  width: 100%;
  min-width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  filter: contrast(1.03) saturate(1.03);
  transform: scale(1.01);
}

@keyframes pathCarouselSlide {
  0%,
  28% {
    transform: translateX(0);
  }
  33%,
  61% {
    transform: translateX(-100%);
  }
  66%,
  94% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

.pathCarousel--slow .pathCarousel__track {
  animation-duration: 18s;
}

/* =========================================================
   ZONA CIERRE PROFESIONAL
   Sirve tanto si tu HTML usa .areaOutro como si aún usa .areaClosing
========================================================= */
.areaOutro,
.areaClosing {
  position: relative;
  isolation: isolate;
  padding: clamp(150px, 14vw, 230px) 0 clamp(165px, 15vw, 255px);
  background:
    radial-gradient(
      900px 560px at 12% 18%,
      rgba(198, 162, 79, 0.12),
      transparent 62%
    ),
    radial-gradient(
      760px 520px at 88% 78%,
      rgba(13, 27, 42, 0.08),
      transparent 64%
    ),
    linear-gradient(
      180deg,
      rgba(246, 241, 232, 0.98) 0%,
      rgba(239, 232, 220, 0.98) 100%
    );
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.areaOutro::after,
.areaClosing::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1200px, calc(100% - 56px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 27, 42, 0.16),
    transparent
  );
}

/* Nueva estructura recomendada */
.areaOutro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.areaOutro__copy {
  max-width: 980px;
}

.areaOutro__kicker {
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.58);
}

.areaOutro__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: rgba(12, 15, 20, 0.96);
}

.areaOutro__panel {
  position: relative;
  padding: clamp(34px, 4vw, 52px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(13, 27, 42, 0.1);
  box-shadow: 0 26px 80px rgba(13, 27, 42, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.areaOutro__panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(198, 162, 79, 0.16);
  pointer-events: none;
}

.areaOutro__panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.95;
  color: rgba(13, 27, 42, 0.74);
}

.areaOutro__panel .btn {
  position: relative;
  z-index: 1;
  margin-top: 38px;
}

/* Compatibilidad con tu estructura antigua .areaClosing */
.areaClosing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.areaClosing .eyebrow {
  margin: 0 0 26px;
  color: rgba(13, 27, 42, 0.58);
}

.areaClosing .h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: rgba(12, 15, 20, 0.96);
}

.areaClosing__text {
  position: relative;
  padding: clamp(34px, 4vw, 52px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(13, 27, 42, 0.1);
  box-shadow: 0 26px 80px rgba(13, 27, 42, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.areaClosing__text::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(198, 162, 79, 0.16);
  pointer-events: none;
}

.areaClosing__text p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.95;
  color: rgba(13, 27, 42, 0.74);
}

.areaClosing__cta {
  position: relative;
  z-index: 1;
  margin-top: 38px;
}

/* -----------------------------
   RENT COMPAT
----------------------------- */
.is-rent .panel {
  min-height: auto;
}

.rent {
  padding-top: var(--navH);
}

.rentGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--navH) - 180px);
}

.mapShell {
  position: sticky;
  top: calc(var(--navH) + 14px);
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadowSoft);
}

.map {
  height: calc(100vh - var(--navH) - 78px);
  min-height: 520px;
}

/* -----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 1100px) {
  .pathStop {
    column-gap: 96px;
  }

  .pathStop__title {
    font-size: clamp(34px, 5vw, 56px);
  }

  .pathCarousel__track img {
    height: 400px;
  }
}

@media (max-width: 1040px) {
  .servicesGrid {
    grid-template-columns: 1fr;
  }

  .serviceCard__img {
    height: 320px;
  }
}

@media (max-width: 980px) {
  .wrap {
    width: min(1200px, calc(100% - 42px));
  }

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

  .realMap {
    height: 420px;
  }

  .pathTimeline::before {
    left: 8px;
    width: 32px;
    transform: none;
  }

  .pathStop {
    grid-template-columns: 1fr;
    row-gap: 24px;
    min-height: auto;
    padding-left: 72px;
    margin: 56px 0;
  }

  .pathStop__dot {
    left: 24px;
    top: 24px;
    transform: translate(-50%, 0);
  }

  .pathStop--text-left .pathStop__side--text,
  .pathStop--text-left .pathStop__side--media,
  .pathStop--text-right .pathStop__side--text,
  .pathStop--text-right .pathStop__side--media {
    grid-column: 1;
    padding-left: 0;
    padding-right: 0;
  }

  .pathStop .pathStop__side--text {
    order: 1;
  }

  .pathStop .pathStop__side--media {
    order: 2;
  }

  .pathStop__card--text {
    max-width: none;
  }

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

  .pathCarousel__track img {
    height: 340px;
  }

  .areaOutro,
  .areaClosing {
    padding: 120px 0 150px;
  }

  .areaOutro__inner,
  .areaClosing__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .areaOutro__panel,
  .areaClosing__text {
    max-width: 680px;
  }

  .galleryAuto__slide {
    width: min(62vw, 360px);
  }

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

  .mapShell {
    position: relative;
    top: auto;
  }

  .map {
    height: 420px;
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .galleryAuto__slide {
    width: 78vw;
  }

  .galleryAuto__fade {
    width: 42px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1200px, calc(100% - 34px));
  }

  .pathStory {
    padding: 50px 0 90px;
  }

  .sectionHead--center {
    margin-bottom: 46px;
  }

  .pathStop {
    margin: 46px 0;
  }

  .pathStop__title {
    font-size: clamp(32px, 10vw, 46px);
    max-width: none;
  }

  .pathStop__text {
    font-size: 15.5px;
    line-height: 1.8;
  }

  .pathCarousel__track img {
    height: 240px;
  }

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

  .areaOutro,
  .areaClosing {
    padding: 92px 0 120px;
  }

  .areaOutro__title,
  .areaClosing .h2 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .areaOutro__panel,
  .areaClosing__text {
    padding: 30px 24px;
    border-radius: 26px;
  }

  .areaOutro__panel::before,
  .areaClosing__text::before {
    inset: 10px;
    border-radius: 20px;
  }
}

/* =========================================================
   LANGUAGE DROPDOWN
========================================================= */

.langDropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.langDropdown__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.langDropdown__button:hover {
  background: rgba(198, 162, 79, 0.12);
  border-color: rgba(198, 162, 79, 0.34);
  color: rgba(231, 216, 195, 0.98);
}

.langDropdown__chevron {
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
  opacity: 0.78;
}

.langDropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 160px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 27, 42, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
}

.langDropdown.is-open .langDropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.langDropdown__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 11px 12px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.langDropdown__menu button:hover,
.langDropdown__menu button.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(231, 216, 195, 0.98);
}

/* Mobile drawer language selector */
.drawerLang {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(231, 216, 195, 0.34);
  background: rgba(20, 42, 64, 0.96);
}

.drawerLang__label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.drawerLang__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drawerLang__buttons button,
.drawerLang__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(231, 216, 195, 0.32);
  background: rgba(7, 18, 30, 0.94);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.drawerLang__buttons button.is-active,
.drawerLang__buttons a.is-active {
  background: #d9b868;
  border-color: #f5eadb;
  color: #081521;
  font-weight: 700;
}

.drawerLang__buttons button:hover,
.drawerLang__buttons a:hover {
  background: rgba(34, 57, 79, 0.98);
  border-color: rgba(198, 162, 79, 0.5);
  color: rgba(231, 216, 195, 0.98);
}

@media (max-width: 980px) {
  .nav .langDropdown {
    display: none;
  }
}

/* =========================================================
   RESPONSIVE POLISH
========================================================= */
@media (max-width: 979px) {
  .topbar,
  .topbar--solid,
  .is-home.is-scrolled .topbar--auto {
    background: rgba(9, 21, 34, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  }

  .menuBtn--mobile {
    border-color: rgba(231, 216, 195, 0.34);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  }

  .drawer__backdrop {
    background: rgba(4, 10, 17, 0.97);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .drawer__panel {
    background: #5b5e60;
    border-left-color: rgba(231, 216, 195, 0.34);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.58);
  }

  .drawer__close {
    border-color: rgba(231, 216, 195, 0.72);
    background: rgba(231, 216, 195, 0.28);
  }

  .is-home .hero__content--video {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: center;
    position: relative;
    padding: calc(var(--navH) + 28px) 0 88px;
  }

  .is-home .hero--video .hero__media img {
    object-position: 50% 50%;
    transform: scale(1.03);
  }

  .is-home .hero__word {
    max-width: 11.5em;
  }

  .is-home .hero .reveal-up {
    opacity: 1;
    transform: none;
  }

  .is-home .hero .reveal-mask .maskLine::after {
    display: none;
  }

  .is-home .scrollHint--center {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .drawer__link,
  .drawerLang {
    border: 0;
    border-bottom: 1px solid rgba(245, 234, 219, 0.42);
    border-radius: 0;
    background: transparent;
  }

  .drawer__links {
    gap: 0;
    margin-top: 10px;
  }

  .drawer__link {
    position: relative;
    padding: 22px 42px 22px 4px;
    font-size: 13px;
    transition:
      color 0.3s ease,
      padding-left 0.4s var(--ease2),
      border-color 0.3s ease;
  }

  .drawer__link::after {
    content: "→";
    position: absolute;
    right: 5px;
    top: 50%;
    color: rgba(245, 234, 219, 0.72);
    font-size: 18px;
    transform: translate(-6px, -50%);
    transition:
      color 0.3s ease,
      transform 0.4s var(--ease2);
  }

  .drawer__link:hover,
  .drawer__link:focus-visible,
  .drawer__link:active {
    padding-left: 12px;
    color: #f5eadb;
    background: transparent;
    border-color: #d9b868;
    transform: none;
  }

  .drawer__link:hover::after,
  .drawer__link:focus-visible::after,
  .drawer__link:active::after {
    color: #d9b868;
    transform: translate(0, -50%);
  }

  .drawerLang {
    padding: 20px 4px 22px;
  }

  .drawer__meta {
    padding: 18px 4px 0;
    border: 0;
    border-top: 1px solid rgba(245, 234, 219, 0.42);
    border-radius: 0;
    border-color: rgba(231, 216, 195, 0.34);
    background: transparent;
    color: rgba(255, 255, 255, 0.96);
  }

  .areaHero {
    min-height: 100svh;
  }

  .areaHero__content {
    min-height: calc(100svh - var(--navH));
    padding: 48px 0;
  }

  .areaHero__title {
    font-size: clamp(52px, 11vw, 82px);
  }

  .areaHero__lead {
    max-width: 48ch;
    font-size: 16px;
    line-height: 1.75;
  }

  .pathStop__card--text {
    padding-left: 4px;
  }
}

@media (max-width: 720px) {
  .is-home {
    scroll-snap-type: none;
  }

  .is-home .panel {
    min-height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .is-home .hero {
    min-height: 100svh;
    min-height: 100dvh;
    height: 100svh;
    height: 100dvh;
    padding: 0;
  }

  .drawer__panel {
    width: 100vw;
    height: 100dvh;
    border-left: 0;
  }

  .is-home .hero__content--video {
    padding: calc(var(--navH) + 18px) 0 78px;
  }

  .panel {
    padding: calc(var(--navH) + 44px) 0 82px;
  }

  .brand__mark {
    font-size: 13px;
    letter-spacing: 0.13em;
  }

  .brand__sub {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .hero__word {
    font-size: clamp(38px, 12vw, 60px);
    letter-spacing: 0.08em;
    line-height: 0.94;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero__sub {
    max-width: 31ch;
    font-size: 14px;
    line-height: 1.65;
  }

  .intro__title,
  .h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .scene__media img {
    height: min(74vw, 360px);
  }

  .scene__title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .areaHero__actions,
  .hero__cta {
    width: 100%;
  }

  .areaHero__actions .btn,
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .pathStop {
    padding-left: 64px;
  }

  .pathTimeline::before {
    left: 8px;
    width: 32px;
  }

  .pathCarousel {
    border-radius: 20px;
  }

  .footerMega {
    padding-top: 68px;
  }
}

@media (max-width: 430px) and (min-height: 760px) {
  .is-home .hero--video .hero__media img {
    object-position: 47% 50%;
  }

  .is-home .hero__content--video {
    padding: calc(var(--navH) + 10px) 0 70px;
  }

  .is-home .scrollHint--center {
    bottom: 26px;
  }
}

@media (max-width: 430px) and (max-height: 700px) {
  .is-home .hero__content--video {
    padding: calc(var(--navH) + 8px) 0 48px;
  }

  .hero__word {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.96;
  }

  .hero__sub {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.48;
  }

  .hero__cta {
    margin-top: 14px;
  }

  .scrollHint--center {
    display: none;
  }
}

@media (max-width: 979px) and (orientation: landscape) {
  .is-home .hero__content--video {
    padding: calc(var(--navH) + 4px) 0 30px;
  }

  .is-home .hero--video .hero__media img {
    object-position: 50% 54%;
  }

  .hero__word {
    font-size: clamp(34px, 6.5vw, 56px);
    line-height: 0.92;
  }

  .hero__sub {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.42;
  }

  .hero__cta {
    margin-top: 12px;
  }

  .scrollHint--center {
    display: none;
  }
}

@media (min-width: 721px) and (max-width: 979px) and (orientation: portrait) {
  .is-home .hero {
    min-height: 100svh;
    min-height: 100dvh;
    height: 100svh;
    height: 100dvh;
  }

  .is-home .hero__content--video {
    padding: calc(var(--navH) + 34px) 0 96px;
  }

  .is-home .hero--video .hero__media img {
    object-position: 50% 48%;
  }

  .hero__word {
    font-size: clamp(76px, 12vw, 112px);
    max-width: 10.5em;
  }
}

@media (min-width: 1440px) {
  .wrap {
    width: min(1320px, calc(100% - 96px));
  }

  .pathTimeline {
    max-width: 1420px;
  }
}
