/* Sanvi Paradise — premium riverside living */
:root {
  --navy: #0b1626;
  --navy-deep: #06101c;
  --navy-mid: #152338;
  --navy-soft: #1e3048;
  --rose: #c9a27a;
  --rose-light: #e0c4a8;
  --rose-deep: #a67c52;
  --ink: #1a2332;
  --muted: #6b7789;
  --paper: #f7f5f2;
  --paper-cool: #eef1f5;
  --white: #ffffff;
  --line: rgba(201, 162, 122, 0.35);
  --shadow: 0 24px 60px rgba(6, 16, 28, 0.18);
  --font-display: "Roboto", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Roboto", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

.section {
  overflow-x: clip;
  max-width: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 3rem);
  box-sizing: border-box;
}

.container--wide,
.container--fluid {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 3rem);
  box-sizing: border-box;
}

.section > .container,
.section > .container--fluid {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 3.5vw, 3rem);
  box-sizing: border-box;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s, box-shadow 0.45s;
}

.nav.is-scrolled {
  background: rgba(11, 22, 38, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav__inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.nav__logo {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__brand-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.nav__brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-light);
  opacity: 0.85;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--rose-light);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  background: var(--rose);
  color: var(--navy-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  max-height: 2.1rem;
  transition: background 0.3s, transform 0.3s;
}

.nav__cta:hover {
  background: var(--rose-light);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
}

/* Hero — exactly one viewport / one scroll */
.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: #0b1626;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  image-rendering: auto;
}

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 16, 28, 0.28) 0%, rgba(6, 16, 28, 0.12) 40%, rgba(6, 16, 28, 0.72) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 3rem));
  margin-left: clamp(1.25rem, 8vw, 7rem);
  margin-right: auto;
  padding-top: var(--nav-h);
  text-align: left;
  justify-self: start;
  align-self: center;
}

@media (max-height: 720px) {
  .hero {
    height: auto;
    max-height: none;
    min-height: 100svh;
  }

  .hero__content {
    margin-bottom: 2rem;
  }
}

.hero__brand {
  width: min(180px, 42vw);
  height: auto;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s 0.1s var(--ease) forwards;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 7.2vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  max-width: 18ch;
  min-height: 1.35em;
}

.hero__fixed-tag {
  margin-top: 0.85rem;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.typewriter {
  display: inline;
}

.typewriter__text {
  white-space: pre-wrap;
}

.typewriter__text .accent {
  font-style: italic;
  color: var(--rose-light);
}

.typewriter__cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  vertical-align: -0.05em;
  background: var(--rose-light);
  animation: blink 0.85s steps(1) infinite;
}

.hero__tagline {
  margin-top: 0.85rem;
  min-height: 1.5em;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--rose-light);
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 34ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s calc(0.25s + var(--i) * 0.1s) var(--ease) forwards;
}

.hero__scroll {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, var(--rose), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn--primary {
  background: var(--rose);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--rose);
  color: var(--rose-light);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-soft);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 22, 38, 0.2);
}

.btn--outline:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}

/* Section chrome — compact page rhythm (~5–6 scrolls total) */
.section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.section__head {
  margin-bottom: clamp(0.85rem, 1.8vw, 1.25rem);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--soft {
  background: var(--paper-cool);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.55rem;
}

.section--navy .section__eyebrow {
  color: var(--rose);
}

.section__eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  max-width: 18ch;
}

.section__title em {
  font-style: italic;
  color: var(--rose-deep);
  display: inline-block;
  position: relative;
}

.section__title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-deep), transparent);
  transition: width 0.8s var(--ease) 0.25s;
}

.reveal.is-visible .section__title em::after,
.section__head.is-visible .section__title em::after {
  width: 100%;
}

.section--navy .section__title em {
  color: var(--rose-light);
}

.section--navy .section__title em::after {
  background: linear-gradient(90deg, var(--rose), transparent);
}

.section__title .title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--tw, 0) * 70ms);
}

.reveal.is-visible .section__title .title-word,
.reveal-left.is-visible .section__title .title-word,
.reveal-right.is-visible .section__title .title-word,
.section__head.is-visible .section__title .title-word,
.location__copy.is-visible .section__title .title-word {
  opacity: 1;
  transform: translateY(0);
}

.text-shimmer {
  background: linear-gradient(90deg, var(--rose-deep), var(--rose-light), var(--rose-deep));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.section__lead {
  margin-top: 0.75rem;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 350;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.7);
}

/* Welcome */
.welcome {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.welcome__visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.welcome__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.welcome__visual:hover img {
  transform: perspective(1000px) rotateY(6deg) rotateX(2deg) scale(1.04);
}

.welcome__visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(6, 16, 28, 0.55));
}

.welcome__meta {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome__copy .section__title {
  max-width: 20ch;
  color: var(--navy);
}

.welcome__copy .section__lead {
  color: var(--ink);
  opacity: 0.88;
}

.welcome__copy > p:not(.section__eyebrow):not(.section__lead):not(.partner-close) {
  color: var(--ink);
  opacity: 0.82;
}

.welcome__copy p + p {
  margin-top: 0.7rem;
}

.welcome__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(11, 22, 38, 0.1);
}

.welcome__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}

.welcome__stats span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buyer promise */
#founder.section {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.founder {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.founder__copy {
  max-width: none;
  width: 100%;
}

.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
  max-width: 28em;
}

.founder__promise {
  margin-top: 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  font-style: italic;
  color: var(--rose-light);
  line-height: 1.4;
}

.founder__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 122, 0.28);
  background: #0b1626;
  align-self: center;
  width: 100%;
  min-height: 0;
  line-height: 0;
}

.founder__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

.build-scene {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #0a1420;
  border: 1px solid rgba(201, 162, 122, 0.22);
  isolation: isolate;
}

.build-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  clip-path: inset(100% 0 0 0);
  filter: saturate(0.85) brightness(0.78);
  transition: clip-path 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease, transform 0.15s linear;
  will-change: clip-path, transform;
}

.build-scene[data-stage="1"] .build-photo {
  clip-path: inset(82% 0 0 0);
  filter: saturate(0.7) brightness(0.7) grayscale(0.2);
}

.build-scene[data-stage="2"] .build-photo {
  clip-path: inset(68% 0 0 0);
}

.build-scene[data-stage="3"] .build-photo {
  clip-path: inset(52% 0 0 0);
}

.build-scene[data-stage="4"] .build-photo {
  clip-path: inset(36% 0 0 0);
}

.build-scene[data-stage="5"] .build-photo {
  clip-path: inset(20% 0 0 0);
}

.build-scene[data-stage="6"] .build-photo {
  clip-path: inset(8% 0 0 0);
  filter: saturate(0.95) brightness(0.95);
}

.build-scene[data-stage="7"] .build-photo {
  clip-path: inset(0 0 0 0);
  filter: saturate(1.05) brightness(1.02);
}

.build-scaffold {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 34px,
      rgba(210, 190, 160, 0.22) 34px,
      rgba(210, 190, 160, 0.22) 36px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 38px,
      rgba(210, 190, 160, 0.16) 38px,
      rgba(210, 190, 160, 0.16) 40px
    );
  mask-image: linear-gradient(to top, black 0%, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 55%, transparent 100%);
  transition: opacity 0.6s ease;
}

.build-scene.is-building .build-scaffold {
  opacity: 1;
}

.build-scene[data-stage="7"] .build-scaffold {
  opacity: 0;
  transition-delay: 0.35s;
}

.build-crane-svg {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 88px;
  height: 78%;
  z-index: 3;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.build-scene.is-building .build-crane-svg {
  opacity: 0.95;
  transform: none;
}

.build-scene[data-stage="7"] .build-crane-svg {
  opacity: 0;
  transition-delay: 0.2s;
}

.build-crane-svg__jib {
  transform-origin: 57px 30px;
  animation: craneJib 2.8s ease-in-out infinite;
}

.build-crane-svg__cable,
.build-crane-svg__block {
  animation: craneHook 2.8s ease-in-out infinite;
}

.build-dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.build-scene.is-building .build-dust {
  opacity: 1;
}

.build-scene[data-stage="7"] .build-dust {
  opacity: 0;
}

.build-dust span {
  position: absolute;
  bottom: 12%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(230, 210, 180, 0.55);
  animation: dustRise 2.4s linear infinite;
}

.build-dust span:nth-child(1) { left: 18%; animation-delay: 0s; }
.build-dust span:nth-child(2) { left: 32%; animation-delay: 0.4s; width: 3px; height: 3px; }
.build-dust span:nth-child(3) { left: 48%; animation-delay: 0.8s; }
.build-dust span:nth-child(4) { left: 61%; animation-delay: 0.2s; width: 4px; height: 4px; }
.build-dust span:nth-child(5) { left: 74%; animation-delay: 1s; }
.build-dust span:nth-child(6) { left: 40%; animation-delay: 1.3s; width: 3px; height: 3px; }

.build-progress {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2.4rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 4;
  overflow: hidden;
}

.build-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose-light));
  transition: width 1s var(--ease);
}

.build-label {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  z-index: 4;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-light);
}

@keyframes craneJib {
  0%,
  100% { transform: rotate(0deg); }
  50% { transform: rotate(-7deg); }
}

@keyframes craneHook {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

@keyframes dustRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  15% { opacity: 0.7; }
  100% {
    transform: translateY(-180px) scale(0.4);
    opacity: 0;
  }
}

/* Floor plans */
.plans__intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.plan-range {
  display: flex;
  gap: 2rem;
}

.plan-range__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
}

.plan-range__item span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.plan-tab {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(11, 22, 38, 0.12);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}

.plan-tab.is-active,
.plan-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.plan-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.plan-panel.is-active {
  display: grid;
  animation: fadeIn 0.45s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-panel__image {
  background: #f4f4f4;
  min-height: 300px;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  border: 1px solid rgba(11, 22, 38, 0.06);
  transition: box-shadow 0.3s;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.plan-panel__image:hover {
  box-shadow: 0 0 0 2px var(--rose);
}

.plan-panel__image img {
  max-height: min(380px, 48vh);
  width: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease-out;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.plan-panel__image.is-zoom img {
  transform: scale(2.15);
  transition: transform 0.12s ease-out;
}

@media (max-width: 960px), (hover: none) {
  .plan-panel__image {
    cursor: zoom-in;
  }

  .plan-panel__image.is-zoom img {
    transform: scale(1.06);
  }
}

.plan-panel__zoom {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: rgba(11, 22, 38, 0.88);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.plan-panel__zoom svg {
  width: 0.9rem;
  height: 0.9rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* Floor plan lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 16, 28, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox:not([hidden]) {
  display: grid;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__dialog {
  position: relative;
  width: min(1200px, 96vw);
  height: min(90vh, 900px);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open .lightbox__dialog {
  transform: none;
}

.lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(11, 22, 38, 0.08);
  background: var(--navy);
  color: var(--white);
}

.lightbox__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lightbox__hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox__btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox__btn:hover {
  background: rgba(201, 162, 122, 0.2);
  border-color: var(--rose);
}

.lightbox__btn svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.lightbox__stage {
  flex: 1;
  overflow: auto;
  background: #f0eeeb;
  display: grid;
  place-items: center;
  padding: 1rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.lightbox__stage.is-dragging {
  cursor: grabbing;
}

.lightbox__img {
  max-width: none;
  width: auto;
  height: auto;
  max-height: calc(90vh - 5rem);
  max-width: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__img.is-zoomed {
  max-height: none;
  max-width: none;
  width: min(1800px, 180%);
}

.plan-panel__body h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.plan-panel__body .type {
  color: var(--rose-deep);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.plan-specs {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.plan-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(11, 22, 38, 0.08);
  font-size: 0.92rem;
}

.plan-specs span {
  color: var(--muted);
}

.plan-specs strong {
  font-weight: 600;
  color: var(--navy);
}

.smart-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}

.smart-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.smart-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--rose);
  border-radius: 50%;
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.amenity {
  background: var(--navy-mid);
  padding: 1.75rem 1.35rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.35s;
}

.amenity:hover {
  background: var(--navy-soft);
}

.amenity__icon {
  width: 2rem;
  height: 2rem;
  color: var(--rose);
  margin-bottom: 1.5rem;
}

.amenity__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.amenity h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Gallery */
#gallery.section {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}

.gallery-shell {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 3rem);
  box-sizing: border-box;
}

.gallery-shell .section__head {
  margin-bottom: 1rem;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(3, 140px);
  gap: 0.55rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  cursor: crosshair;
  min-height: 0;
}

.gallery-item--hero {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.2s ease-out;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

.gallery-item.is-zoom img {
  transform: scale(2.15);
  transition: transform 0.12s ease-out;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 0.85rem 0.7rem;
  background: linear-gradient(transparent, rgba(6, 16, 28, 0.82));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  pointer-events: none;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(201, 162, 122, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

@media (max-width: 960px), (hover: none) {
  .gallery-item {
    cursor: default;
  }

  .gallery-item.is-zoom img {
    transform: scale(1.08);
  }
}

/* Location pro */
.section--location {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.location-pro__main {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 1.25rem;
  align-items: stretch;
}

.location-pro__aside .section__title {
  max-width: 12ch;
  margin-bottom: 0.65rem;
}

.location-pro__lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 36ch;
  margin-bottom: 1.1rem;
}

.location-pro__places {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.location-pro__places li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.location-pro__places li:hover {
  background: rgba(201, 162, 122, 0.1);
  border-color: rgba(201, 162, 122, 0.35);
  transform: translateX(3px);
}

.location-pro__time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose-light);
}

.location-pro__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.location-pro__meta strong {
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
}

.location-pro__meta small {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.location-pro__cta {
  display: inline-flex;
}

.location-pro__map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 122, 0.25);
  background: #07101a;
  min-height: 360px;
  height: 100%;
}

.location-pro__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 360px;
  filter: grayscale(0.15) contrast(1.05) saturate(0.9);
}

.location-pro__pin {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.7rem 0.9rem;
  background: rgba(11, 22, 38, 0.92);
  border: 1px solid rgba(201, 162, 122, 0.35);
  border-radius: 10px;
  color: #fff;
  pointer-events: none;
}

.location-pro__pin span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 0.2rem;
}

.location-pro__pin strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}

.location-pro__fullmap {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-pro__fullmap:hover {
  border-color: var(--rose);
  color: var(--rose-light);
}

.location-pro__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-pro__feature {
  padding: 0.85rem 0.35rem;
}

.location-pro__feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rose-light);
  margin-bottom: 0.35rem;
}

.location-pro__feature p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

@media (max-width: 960px) {
  .location-pro__main {
    grid-template-columns: 1fr;
  }

  .location-pro__map {
    min-height: 280px;
  }

  .location-pro__map iframe {
    min-height: 280px;
  }

  .location-pro__features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .location-pro__features {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.section--pricing {
  padding: clamp(1.5rem, 3vw, 2.35rem) 0;
}

.section--pricing .section__head {
  margin-bottom: 0.85rem;
}

.section--pricing .section__title {
  max-width: 22ch;
}

.section--pricing .section__lead {
  max-width: 72ch;
}

.price-card {
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(11, 22, 38, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--rose);
  box-shadow: 0 20px 50px rgba(6, 16, 28, 0.16);
}

.price-card.reveal-left.is-visible:hover,
.price-card.reveal-right.is-visible:hover {
  transform: translateY(-6px);
}

.btn--pulse {
  animation: ctaPulse 4s ease-in-out infinite;
}

.btn--pulse:hover {
  animation-play-state: paused;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 22, 38, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(11, 22, 38, 0);
  }
}

.price-card__type {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.6rem;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.price-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  opacity: 0;
  animation: waIn 0.5s 1s forwards, waPulse 2s 1.6s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 1.7rem;
  height: 1.7rem;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

@keyframes waIn {
  to { opacity: 1; }
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@media (max-width: 960px) {
  .partner-grid,
  .price-grid,
  .faq-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}


/* RESTORED LAYOUT */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translate3d(-40px, 0, 0);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal-right {
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left.is-visible .section__title em::after,
.reveal-right.is-visible .section__title em::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section--amenities {
  padding: clamp(1.85rem, 3.5vw, 2.75rem) 0;
}

.section--faq {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0.75rem 1.15rem;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(11, 22, 38, 0.08);
  box-shadow: 0 10px 28px rgba(6, 16, 28, 0.05);
  overflow: hidden;
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  user-select: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 22, 38, 0.15);
  color: var(--rose-deep);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}

.faq-item[open] .faq-item__q::after {
  content: "–";
  background: var(--navy);
  border-color: var(--navy);
  color: var(--rose-light);
}

.faq-item__a {
  padding: 0 1.15rem 1.05rem;
}

.faq-item__a p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 68ch;
}

.faq-item__a a {
  color: var(--rose-deep);
  text-decoration: underline;
}

.faq-item:hover {
  border-color: rgba(201, 162, 122, 0.45);
}

.section__head--tight {
  margin-bottom: 0.85rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--rose);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.feature-card.is-visible {
  animation: featureCardIn 0.5s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 55ms);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 122, 0.45);
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--rose-light);
}

.feature-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

@keyframes featureCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.amenities-close {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.partner-card {
  padding: 0.85rem 0.95rem;
  background: rgba(11, 22, 38, 0.03);
  border-left: 3px solid var(--rose);
}

.partner-card h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.partner-card p {
  font-size: 0.82rem;
  color: var(--muted);
}

.partner-close {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
}

.inquiry {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.inquiry__aside .section__title {
  max-width: 22ch;
}

.inquiry__aside p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 48ch;
}

.inquiry__contacts {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
}

.inquiry__contacts a,
.inquiry__contacts span {
  display: block;
}

.inquiry__contacts small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.3rem;
}

.inquiry__contacts strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.inquiry-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 16, 28, 0.55);
  color: #fff;
  padding: 0.75rem 0.85rem;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--rose);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.form-status {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-status.is-error { color: #ff8f8f; }
.form-status.is-success { color: #9be7b5; }

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.75rem 0 1.35rem;
  border-top: 1px solid rgba(201, 162, 122, 0.18);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto minmax(0, 0.95fr);
  align-items: center;
  gap: 1.75rem 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.footer__brand p {
  max-width: 40ch;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer__partners {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}

.footer__partner {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  width: 210px;
}

.footer__partner-mark {
  width: 100%;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 0.85rem 1rem;
  background: #f4f1ec;
  border: 1px solid rgba(201, 162, 122, 0.4);
  box-sizing: border-box;
}

.footer__partner-mark img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.footer__partner figcaption {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-light);
  line-height: 1.35;
}

.footer__meta {
  display: grid;
  gap: 0.45rem;
  text-align: right;
  font-size: 0.88rem;
  justify-self: end;
}

.footer__meta a { color: var(--rose-light); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-right: 4.5rem;
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .footer {
    padding: 1.35rem 0 5.5rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    text-align: center;
    justify-items: center;
  }

  .footer__brand {
    max-width: 34rem;
  }

  .footer__brand p {
    max-width: 36ch;
    margin-inline: auto;
    font-size: 0.84rem;
  }

  .footer__partners {
    width: 100%;
    max-width: 28rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .footer__partner {
    width: auto;
  }

  .footer__partner-mark {
    height: 88px;
    padding: 0.7rem;
  }

  .footer__partner-mark img {
    max-height: 64px;
  }

  .footer__partner figcaption {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .footer__meta {
    width: 100%;
    max-width: 22rem;
    text-align: center;
    justify-self: center;
    gap: 0.35rem;
    padding-top: 0.15rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding-right: 0;
  }
}

@media (max-width: 420px) {
  .footer__partners {
    grid-template-columns: 1fr;
    max-width: 15rem;
    margin-inline: auto;
  }

  .footer__partner-mark {
    height: 92px;
  }
}

/* Mobile restored */
@media (max-width: 960px) {
  :root { --nav-h: 3.75rem; }

  html,
  body {
    overflow-x: clip;
    max-width: 100%;
    overscroll-behavior-x: none;
  }

  body {
    width: 100%;
  }

  .nav__inner,
  .container,
  .container--fluid,
  .gallery-shell {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  .hero__content {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin-left: 1rem;
    margin-right: 1rem;
    justify-self: stretch;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero__fixed-tag,
  .hero__trust {
    max-width: 100%;
  }

  .hero__scroll {
    right: 1rem;
  }

  /* Prevent off-screen slide animations from creating sideways scroll */
  .reveal-left,
  .reveal-right {
    transform: translate3d(0, 22px, 0);
  }

  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: none;
  }

  .welcome__visual:hover img,
  .welcome__visual img {
    transform: none !important;
  }

  .location-pro,
  .location-pro__main,
  .founder,
  .welcome,
  .inquiry,
  .price-grid,
  .feature-grid,
  .form-grid {
    min-width: 0;
    max-width: 100%;
  }

  .location-pro__map,
  .location-pro__map iframe,
  .founder__visual,
  .welcome__visual,
  .inquiry-form {
    max-width: 100%;
    min-width: 0;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .nav__links { display: none; }

  .nav__cta {
    display: inline-flex;
    padding: 0.32rem 0.6rem;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    max-height: 1.85rem;
  }

  .nav__brand-text strong { font-size: 0.82rem; }
  .nav__brand-text span { font-size: 0.52rem; }
  .nav__logo { width: 2rem; height: 2rem; }

  .nav.is-open {
    z-index: 300;
    height: auto;
    background: #0b1626;
  }

  .nav.is-open .nav__inner {
    position: relative;
    z-index: 303;
    background: #0b1626;
  }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 301;
    width: 100%;
    margin: 0;
    background: #0b1626;
    padding: 2rem 1.5rem 3rem;
    gap: 1.35rem;
    overflow: hidden;
  }

  .nav.is-open .nav__links a {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.92);
  }

  body.nav-locked {
    overflow: hidden;
    touch-action: none;
  }

  .nav__toggle { display: block; }

  .welcome,
  .founder,
  .inquiry,
  .plan-panel.is-active {
    grid-template-columns: 1fr;
  }

  .inquiry__contacts {
    grid-template-columns: 1fr;
  }

  .welcome__visual { min-height: 240px; }

  .founder__copy { max-width: none; }

  .founder__visual {
    width: 100%;
    min-height: 0;
  }

  .founder__visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 120px 120px 120px;
    gap: 0.45rem;
  }

  .gallery-item--hero {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .feature-grid,
  .partner-grid,
  .welcome__stats,
  .plan-range,
  .price-grid,
  .faq-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 160px;
  }

  .gallery-item--hero {
    grid-column: 1;
    grid-row: auto;
  }

  .gallery-item.is-zoom img {
    transform: scale(1.35);
  }

  .plan-tabs {
    max-width: 100%;
  }

  .plan-panel {
    padding: 1rem;
  }

  .plan-panel__image {
    min-height: 220px;
  }

  .btn {
    max-width: 100%;
  }
}

.payment-note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 72ch;
}

.pricing-cta {
  margin-top: 0.85rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(201, 162, 122, 0.55);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-light);
  background: rgba(11, 22, 38, 0.35);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-top: 1rem;
  max-width: 40rem;
}

.hero__trust li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7dcea0;
  font-weight: 700;
}

/* Contact popup modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(6, 16, 28, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal:not([hidden]) {
  display: grid;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: linear-gradient(165deg, #12233a 0%, #0b1626 100%);
  border: 1px solid rgba(201, 162, 122, 0.35);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  color: #fff;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.contact-modal.is-open .contact-modal__dialog {
  transform: none;
}

.contact-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.contact-modal__close svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-modal__close:hover {
  border-color: var(--rose);
  color: var(--rose-light);
}

.contact-modal__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.45rem;
}

.contact-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.contact-modal__lead {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.15rem;
}

.contact-modal__lead a {
  color: var(--rose-light);
  text-decoration: underline;
}

.contact-modal__form .form-field label {
  color: rgba(255, 255, 255, 0.65);
}

.contact-modal__form .form-field input,
.contact-modal__form .form-field select,
.contact-modal__form .form-field textarea {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 16, 28, 0.55);
  color: #fff;
  padding: 0.7rem 0.8rem;
}

body.modal-locked {
  overflow: hidden;
}

@media (max-width: 560px) {
  .contact-modal__form .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-modal__dialog {
    padding: 1.15rem 1rem 1.25rem;
  }
}
