/* ===========================================================
   SOLAYA · Jumeirah — REDESIGN (v2)
   Fonts: Source Serif 4 (titles) · Geist (text)
   Purana version: old-version/ folder me
   =========================================================== */

:root {
  /* Brand colors */
  --gold: #edb460;
  --maroon: #551f22;
  --cream: #ffecd1;

  --page: #fff6e9;
  --ink: #551f22;
  --line: #efd2a7;
  --maroon-h: #3e1517;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: clamp(18px, 3vw, 40px);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
ul {
  margin: 0;
  padding: 0;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--maroon);
  color: #fff;
}
.skip:focus {
  left: 8px;
}

/* screen par chhupa (radio buttons ke liye), screen reader ke liye maujood */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Image slots (image na ho to naam dikhe) ---------- */
.slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7dcb0, #efc98d);
}
.slot::before {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  font: 500 12px/1.3 var(--sans);
  color: #8c5f4b;
  text-align: center;
}
.slot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot.is-missing > img {
  display: none;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition:
    background 0.25s,
    color 0.25s;
}
.pill--ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.pill--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.pill--light {
  background: #fff;
  color: var(--maroon);
}
.pill--light:hover {
  background: var(--cream);
}

/* ===========================================================
   HERO — full width (100%)
   =========================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: #3a1416;
}
.hero__bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background: linear-gradient(160deg, #6b2a2d, #3a1316);
}
.hero__slide::before {
  color: rgba(255, 236, 209, 0.55);
}
.hero__slide.is-active {
  opacity: 1;
}
/* hero ke neeche fade: carousel se joint mehsoos na ho */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 32%;
  background: linear-gradient(180deg, rgba(31, 11, 13, 0) 0%, #1f0b0d 100%);
  pointer-events: none;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(35, 10, 12, 0.55) 0%,
      rgba(35, 10, 12, 0.35) 70%
    ),
    linear-gradient(0deg, rgba(35, 10, 12, 0.7) 0%, rgba(35, 10, 12, 0) 45%),
    linear-gradient(180deg, rgba(35, 10, 12, 0.55) 0%, rgba(35, 10, 12, 0) 25%);
}

/* ---------- Navbar ---------- */
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px var(--gutter);
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__mark {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.01em;
}
.logo__sub {
  margin-top: 5px;
  padding-left: 2px;
  font-size: 10.5px;
  letter-spacing: 0.42em;
  opacity: 0.85;
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__links a {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav__links a:hover {
  color: #fff;
}
.nav__links a.is-active {
  background: #fff;
  color: var(--maroon);
}
.nav__mobile-only {
  display: none;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s;
}
.burger span:first-child {
  top: 17px;
}
.burger span:last-child {
  top: 24px;
}
.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- Hero text ---------- */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px var(--gutter) 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(76px, 15vw, 220px);
  line-height: 0.99;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.hero__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  padding-left: 0.42em;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
}
.hero__lead::before,
.hero__lead::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- Hero dots (progress) ---------- */
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 40px;
  translate: -50% 0;
  display: flex;
  gap: 8px;
}
.hero__dots button {
  position: relative;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 236, 209, 0.3);
}
.hero__dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dots button.is-active::after {
  animation: dot 6s linear forwards;
}
@keyframes dot {
  to {
    transform: scaleX(1);
  }
}

/* ===========================================================
   SHOWCASE CAROUSEL (custom) — badi image + right rail
   =========================================================== */
.show {
  --rail: clamp(76px, 6.6vw, 108px);
  --dur: 6s; /* har slide kitni der rukey */
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  width: 100%;
  height: clamp(460px, 92vh, 980px);
  height: clamp(460px, 92svh, 980px);
  background: #1f0b0d;
  color: var(--cream);
  overflow: hidden;
  outline: none;
}
.show:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* ---- stage (badi image) ---- */
.show__stage {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.show__stage:active {
  cursor: grabbing;
}
.show__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  z-index: 0;
}
.show__slide.is-active {
  visibility: visible;
  z-index: 2;
}
.show__slide.is-leaving {
  visibility: visible;
  z-index: 1;
}
.show__slide .slot {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #6b2a2d, #3a1316);
}
.show__slide .slot::before {
  color: rgba(255, 236, 209, 0.5);
}
.show__slide img {
  -webkit-user-drag: none;
  will-change: transform;
}
/* carousel ke upar fade (hero se milta hua) */
.show__stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  height: clamp(120px, 22%, 240px);
  background: linear-gradient(180deg, #1f0b0d 0%, rgba(31, 11, 13, 0) 100%);
  pointer-events: none;
}
.show__stage::after {
  /* caption parhne ke liye neeche halka andhera */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(0deg, rgba(25, 7, 9, 0.6), rgba(25, 7, 9, 0) 38%);
  pointer-events: none;
}

/* ---- caption ---- */
.show__caption {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: clamp(36px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.show__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.show__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.05;
  color: var(--cream);
}

/* ---- progress bar (neeche) ---- */
.show__bar {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 3px;
  height: 3px;
}
.show__bar span {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: rgba(255, 236, 209, 0.22);
}
.show__bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(var(--p, 0)); /* JS har frame update karta hai */
  transition: transform 0.1s linear;
  transform-origin: left;
}

/* ---- right rail ---- */
.show__rail {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, #1f0b0d 0%, #2b1012 160px);
  border-left: 1px solid rgba(255, 236, 209, 0.08);
}
.show__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 36px) 0 18px;
}
.show__num {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.show__line {
  width: 1px;
  height: clamp(36px, 5vh, 56px);
  background: rgba(255, 236, 209, 0.75);
}
.show__total {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.55;
}
.show__nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 6px 0 14px;
}
.show__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  transition:
    background 0.25s,
    color 0.25s;
}
.show__btn:hover {
  background: var(--gold);
  color: var(--maroon);
}
.show__btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

/* ---- next image preview ---- */
.show__peek {
  position: relative;
  flex: 1;
  display: block;
  width: 100%;
  min-height: 80px;
  overflow: hidden;
}
.show__peek-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #6b2a2d, #3a1316);
}
.show__peek-img::before {
  font-size: 8px;
  color: rgba(255, 236, 209, 0.5);
}
.show__peek-img img {
  opacity: 0;
  transition:
    opacity 0.5s ease,
    transform 0.8s var(--ease);
}
.show__peek-img img.is-ready {
  opacity: 1;
}
.show__peek:hover .show__peek-img img {
  transform: scale(1.08);
}
.show__peek::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 7, 9, 0.7), rgba(25, 7, 9, 0.15));
  transition: opacity 0.3s;
}
.show__peek:hover::after {
  opacity: 0.4;
}
.show__peek-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  translate: -50% 0;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
}

/* ---- animations ---- */
@media (prefers-reduced-motion: no-preference) {
  /* nayi image wipe ke saath aati hai */
  .show__slide.from-next {
    animation: wipeFromRight 1.1s var(--ease) both;
  }
  .show__slide.from-prev {
    animation: wipeFromLeft 1.1s var(--ease) both;
  }
  .show__slide.from-next img,
  .show__slide.from-prev img {
    animation: showZoom 1.6s var(--ease) both;
  }
  /* purani image halki si side me khisakti hai */
  .show__slide.to-left img {
    animation: driftLeft 1.1s var(--ease) both;
  }
  .show__slide.to-right img {
    animation: driftRight 1.1s var(--ease) both;
  }
  .show__num.swap,
  .show__title.swap {
    animation: textUp 0.6s var(--ease) both;
  }
}
@keyframes wipeFromRight {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes wipeFromLeft {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes showZoom {
  from {
    transform: scale(1.16);
  }
  to {
    transform: scale(1);
  }
}
@keyframes driftLeft {
  to {
    transform: translateX(-8%);
  }
}
@keyframes driftRight {
  to {
    transform: translateX(8%);
  }
}
@keyframes textUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- tablet ---- */
@media (max-width: 900px) {
  .show {
    height: clamp(440px, 80svh, 760px);
  }
}
/* ---- mobile: rail neeche aa jati hai ---- */
@media (max-width: 640px) {
  .show {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 88px;
    height: clamp(460px, 82svh, 720px);
  }
  .show__rail {
    flex-direction: row;
    align-items: stretch;
    border-left: 0;
    border-top: 1px solid rgba(255, 236, 209, 0.08);
  }
  .show__count {
    flex-direction: row;
    gap: 10px;
    padding: 0 18px;
  }
  .show__num,
  .show__total {
    writing-mode: horizontal-tb;
  }
  .show__num {
    font-size: 30px;
  }
  .show__line {
    width: 28px;
    height: 1px;
  }
  .show__nav {
    align-items: center;
    padding: 0 6px;
  }
  .show__btn {
    width: 40px;
    height: 40px;
  }
  .show__peek {
    flex: 1;
    min-height: 0;
  }
  .show__peek-label {
    writing-mode: horizontal-tb;
    bottom: auto;
    top: 50%;
    translate: -50% -50%;
  }
  .show__caption {
    left: 18px;
    right: 18px;
    bottom: 26px;
  }
}

/* ===========================================================
   STACK — sections scroll par ek doosre ke upar aate hain
   (top value JS set karta hai, lambe section bhi poore dikhte hain)
   =========================================================== */
.stack {
  position: relative;
}
.stack__item {
  position: sticky;
  top: 0;
}
/* neeche wala section dhakte waqt halka andhera */
.stack__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #12060a;
  opacity: calc(var(--cover, 0) * 0.55);
  pointer-events: none;
}
.stack__item + .stack__item {
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -30px 60px -20px rgba(20, 6, 8, 0.55);
}
.stack__item + .stack__item::after {
  border-radius: inherit;
}

/* ===========================================================
   MARQUEE — wide images, do lines, ulti directions
   =========================================================== */
.marq {
  --tile-h: clamp(190px, 24vw, 380px);
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) 0 clamp(60px, 7vw, 110px);
  background: var(--page);
  color: var(--maroon);
}
.marq__head {
  padding: 0 var(--gutter);
  margin-bottom: clamp(30px, 4vw, 54px);
  text-align: center;
}
.marq__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b07a3a;
}
.marq__title {
  margin-top: 12px;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.05;
  font-weight: 300;
}
.marq__row {
  display: flex;
  overflow: hidden;
}
.marq__row + .marq__row {
  margin-top: clamp(10px, 1.2vw, 16px);
}
.marq__track {
  display: flex;
  flex: none;
  width: max-content;
  animation: marq var(--dur, 60s) linear infinite;
}
.marq__row--rev .marq__track {
  animation-direction: reverse;
}
/* chaudi images: tile ki height fix, width aspect-ratio se, image cover se adjust */
.marq__item {
  flex: none;
  margin: 0 clamp(10px, 1.2vw, 16px) 0 0;
  height: var(--tile-h);
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
}
.marq__item:nth-child(3n + 2) {
  aspect-ratio: 4 / 3;
}
.marq__item .slot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.marq__item img {
  transition: transform 0.8s var(--ease);
}
.marq__item:hover img {
  transform: scale(1.05);
}
@keyframes marq {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (max-width: 640px) {
  .marq {
    --tile-h: 170px;
  }
  .marq__item {
    border-radius: 14px;
  }
}
/* marquee hamesha chale (computer ki animation setting off ho tab bhi) */
@media (prefers-reduced-motion: reduce) {
  .marq__track {
    animation: marq var(--dur, 60s) linear infinite !important;
  }
  .marq__row--rev .marq__track {
    animation-direction: reverse !important;
  }
}

/* ===========================================================
   FLOOR PLANS — left sticky text + image, right stacking cards
   =========================================================== */
.fp {
  --top: clamp(80px, 12vh, 120px); /* cards kahan se stack hon */
  position: relative;
  z-index: 1;
  background: var(--page);
  padding: clamp(70px, 9vw, 130px) var(--gutter) clamp(60px, 8vw, 120px);
}
.fp__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 100px);
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}
.fp__aside {
  position: sticky;
  top: var(--top);
}
.fp__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b07a3a;
}
.fp__title {
  margin-top: 14px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  font-weight: 300;
}
.fp__lead {
  margin: 18px 0 22px;
  max-width: 42ch;
  font-size: 15.5px;
  color: #6f3b35;
}
.fp__img {
  margin-top: clamp(26px, 3vw, 40px);
  aspect-ratio: 4 / 3;
  max-height: 38vh;
  width: 100%;
  border-radius: 22px;
}
.fp__note {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 12px;
  color: #8c5f4b;
}

/* light background wala underline button */
.ul-btn--dark {
  --line-c: var(--gold);
  --fill: var(--maroon);
  --hover-text: var(--cream);
  color: var(--maroon);
}

/* ---- stacking cards ---- */
.fp__cards {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 6vh, 60px);
  padding-bottom: 6vh;
}
.fp-card {
  position: sticky;
  top: calc(var(--top) + var(--i) * 16px);
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: #fffaf3;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(85, 31, 34, 0.45);
  overflow: hidden;
  transform-origin: center top;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
  will-change: transform;
}
.fp-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.fp-card__no {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--maroon);
}
.fp-card__no small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8c5f4b;
}
.fp-card__txt h3 {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.1;
}
.fp-card__txt p {
  margin-top: 3px;
  font-size: 13.5px;
  color: #6f3b35;
}
.fp-card__size {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(237, 180, 96, 0.22);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--maroon);
  white-space: nowrap;
}
.fp-card__plan {
  position: relative;
  display: block;
  width: 100%;
  height: min(50vh, 480px);
  background: #fff3e1;
  cursor: zoom-in;
}
.fp-card__plan::before {
  color: #8c5f4b;
}
.fp-card__plan > img {
  object-fit: contain;
  padding: clamp(14px, 2vw, 28px);
  transition: transform 0.6s var(--ease);
}
.fp-card__plan:hover > img {
  transform: scale(1.03);
}
.fp-card__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--maroon);
  color: var(--cream);
  transition: transform 0.3s var(--ease);
}
.fp-card__plan:hover .fp-card__zoom {
  transform: scale(1.1);
}
.fp-card__zoom svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

/* ---- floor plan full size (dialog) ---- */
.fp-box {
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 18px;
  border: 0;
  border-radius: 22px;
  background: #fffaf3;
  color: var(--maroon);
}
.fp-box::backdrop {
  background: rgba(40, 12, 14, 0.85);
  backdrop-filter: blur(4px);
}
.fp-box img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}
.fp-box__cap {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 20px;
  text-align: center;
}
.fp-box__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--maroon);
  color: var(--cream);
}
.fp-box__close svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

@media (max-width: 900px) {
  .fp {
    --top: 70px;
  }
  .fp__grid {
    grid-template-columns: 1fr;
  }
  .fp__aside {
    position: static;
  }
  .fp__img {
    max-height: none;
  }
}
@media (max-width: 560px) {
  .fp-card__head {
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    padding: 16px;
  }
  .fp-card__size {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .fp-card__plan {
    height: min(42vh, 340px);
  }
}

/* ===========================================================
   BUTTONS — text + circle arrow (Lucide icons)
   =========================================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 26px;
  border-radius: 999px;
  background: var(--maroon);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1.5px solid var(--maroon);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.c-btn__circle {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--gold);
  color: var(--maroon);
  transition:
    transform 0.4s var(--ease),
    background 0.35s;
}
.c-btn__circle svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  transition: transform 0.45s var(--ease);
}
.c-btn:hover {
  background: var(--maroon-h);
}
.c-btn:hover .c-btn__circle {
  transform: scale(1.08);
}
.c-btn:hover .c-btn__circle svg {
  transform: rotate(45deg);
}
/* outline wala */
.c-btn--line {
  background: transparent;
  color: var(--maroon);
}
.c-btn--line:hover {
  background: var(--maroon);
  color: var(--cream);
}
.c-btn__circle--wa {
  background: #25d366;
  color: #fff;
}
.c-btn:hover .c-btn__circle--wa svg {
  transform: rotate(-12deg) scale(1.08);
}

/* ===========================================================
   TEXT FILL — scroll ke saath words me rang bharta hai
   =========================================================== */
.fill {
  position: relative;
  height: 220vh;
  background: var(--page);
}
.fill__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
}
.fill__eyebrow {
  margin-bottom: clamp(18px, 3vw, 30px);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #b07a3a;
}
.fill__text {
  max-width: 1100px;
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 1.18;
  font-weight: 300;
  color: var(--maroon);
}
/* har word ke andar gradient: line ke hisaab se left se right rang bharta hai */
.fill__w {
  --c: var(--maroon);
  /* 220% size: f=0 par poora halka, f=1 par poora rang (kinare saaf) */
  background-image: linear-gradient(
    90deg,
    var(--c) 0%,
    var(--c) 45%,
    rgba(85, 31, 34, 0.16) 55%,
    rgba(85, 31, 34, 0.16) 100%
  );
  background-size: 220% 100%;
  background-position: calc((1 - var(--f, 0)) * 100%) 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.fill__w--gold {
  --c: #b9802f;
}

/* ===========================================================
   ABOUT — left images (main + 2 patches), right content
   =========================================================== */
.about {
  position: relative;
  background: var(--page);
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}
.about__media {
  position: relative;
  padding: 7% 14% 9% 0; /* patches ke liye jagah */
}
.about__main {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  box-shadow: 0 40px 80px -40px rgba(85, 31, 34, 0.5);
}
.about__patch {
  position: absolute;
  border-radius: 20px;
  border: clamp(5px, 0.7vw, 9px) solid var(--page);
  box-shadow: 0 26px 50px -24px rgba(85, 31, 34, 0.55);
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.about__patch--top {
  top: 0;
  right: 0;
  width: 40%;
  aspect-ratio: 1 / 1;
}
.about__patch--bottom {
  bottom: 0;
  right: 4%;
  width: 48%;
  aspect-ratio: 4 / 3;
}
.about__patch::before,
.about__main::before {
  font-size: 10px;
}

.about__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b07a3a;
}
.about__title {
  margin-top: 14px;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 0.98;
  font-weight: 300;
}
.about__sub {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.35;
}
.about__desc {
  margin-top: 10px;
  max-width: 50ch;
  font-size: 15px;
  color: #6f3b35;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: clamp(26px, 3vw, 38px) 0 0;
  border-top: 1px solid var(--line);
}
.about__stats > div {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
}
.about__stats > div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.about__stats dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c5f4b;
}
.about__stats dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
}
.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 40px);
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    max-width: 560px;
  }
}
@media (max-width: 480px) {
  .about__cta .c-btn {
    width: 100%;
    justify-content: space-between;
  }
  .fill {
    height: 200vh;
  }
}

/* ---- button variants ---- */
.c-btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon);
}
.c-btn--gold .c-btn__circle {
  background: var(--maroon);
  color: var(--cream);
}
.c-btn--gold:hover {
  background: #f3c47c;
}
.c-btn--cream {
  background: transparent;
  border-color: rgba(255, 236, 209, 0.45);
  color: var(--cream);
}
.c-btn--cream:hover {
  background: var(--cream);
  color: var(--maroon);
}
.c-btn--full {
  width: 100%;
  justify-content: space-between;
}

/* ===========================================================
   PAYMENT PLAN — upar image (wipe reveal + parallax), neeche content
   =========================================================== */
.pay {
  background: var(--page);
  padding: clamp(70px, 9vw, 130px) var(--gutter);
}
.pay__wrap {
  max-width: 1320px;
  margin: 0 auto;
}
.pay__img {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 28px;
  box-shadow: 0 40px 80px -45px rgba(85, 31, 34, 0.55);
}
.pay__img img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
  will-change: transform;
}
.pay__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(40, 12, 14, 0.35),
    rgba(40, 12, 14, 0) 45%
  );
  pointer-events: none;
}
.pay__badge {
  position: absolute;
  z-index: 2;
  left: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 246, 233, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
}
.pay__badge b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
.pay__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 70px);
}
.pay__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b07a3a;
}
.pay__title {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 300;
}
.pl {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.pl > span {
  display: block;
}
.pay__lead {
  max-width: 46ch;
  font-size: 15.5px;
  color: #6f3b35;
}
.pay__price {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.1;
  font-weight: 300;
}
.pay__price em {
  font-style: normal;
}
.pay__price span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c5f4b;
}

/* ---- schedule card ---- */
.pay__card {
  margin-top: clamp(36px, 5vw, 60px);
  padding: clamp(22px, 3vw, 40px);
  border-radius: 26px;
  background: #fffaf3;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(85, 31, 34, 0.4);
}
.pay__card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.pay__card-head h3 {
  font-size: clamp(22px, 2vw, 28px);
}
.pay__split {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pay__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(85, 31, 34, 0.07);
  font-size: 12.5px;
  color: #6f3b35;
}
.pay__chip b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--maroon);
}
.pay__chip svg {
  width: 16px;
  height: 16px;
  color: var(--maroon);
}
.pay__chip--gold {
  background: rgba(237, 180, 96, 0.25);
}

/* timeline: har hissa apne % jitna chauda */
.pay__plan {
  list-style: none;
  display: grid;
  grid-template-columns: 20fr 10fr 10fr 10fr 10fr 40fr;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.pay__step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: transform 0.35s var(--ease);
}
.pay__step:hover {
  transform: translateY(-4px);
}
.pay__bar {
  position: relative;
  display: block;
  height: 10px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(85, 31, 34, 0.08);
  overflow: hidden;
  transition: height 0.3s var(--ease);
}
.pay__step:hover .pay__bar {
  height: 14px;
}
.pay__bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(85, 31, 34, 0.5);
  transform-origin: left;
}
.pay__step.is-key .pay__bar i {
  background: linear-gradient(90deg, #e9a64c, var(--gold));
}
.pay__step:last-child .pay__bar i {
  background: linear-gradient(90deg, var(--maroon), #7a3236);
}
.pay__step b {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1;
}
.pay__when {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pay__step small {
  font-size: 12px;
  color: #8c5f4b;
}
.pay__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}
.pay__note {
  margin-top: 18px;
  max-width: 70ch;
  font-size: 12px;
  color: #8c5f4b;
}

/* ---- animations (JS on + motion allowed) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .pay__img {
    clip-path: inset(10% 8% 10% 8% round 28px);
    transition: clip-path 1.4s var(--ease);
  }
  .js .pay.in-view .pay__img {
    clip-path: inset(0 0 0 0 round 28px);
  }
  .js .pay__badge {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    transition:
      opacity 0.6s var(--ease) 0.9s,
      transform 0.6s var(--ease) 0.9s;
  }
  .js .pay.in-view .pay__badge {
    opacity: 1;
    transform: none;
  }
  .js .pl > span {
    transform: translateY(105%);
    transition: transform 1s var(--ease);
  }
  .js .pl + .pl > span {
    transition-delay: 0.1s;
  }
  .js .pay.is-text .pl > span {
    transform: none;
  }
  .js .pa {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.8s var(--ease) var(--d, 0s),
      transform 0.8s var(--ease) var(--d, 0s);
  }
  .js .pa.in {
    opacity: 1;
    transform: none;
  }
  .js .pay__bar i {
    transform: scaleX(0);
    transition: transform 0.9s var(--ease) calc(0.3s + var(--i) * 0.18s);
  }
  .js .pay__card.in .pay__bar i {
    transform: scaleX(1);
  }
  .js .pay__step > :not(.pay__bar) {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.6s var(--ease) calc(0.5s + var(--i) * 0.18s),
      transform 0.6s var(--ease) calc(0.5s + var(--i) * 0.18s);
  }
  .js .pay__card.in .pay__step > :not(.pay__bar) {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .pay__content {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pay__img {
    aspect-ratio: 16 / 10;
  }
  /* mobile: timeline upar se neeche */
  .pay__plan {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pay__step {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    padding: 14px 0 14px 20px;
    border-bottom: 1px solid var(--line);
  }
  .pay__step:last-child {
    border-bottom: 0;
  }
  .pay__step:hover {
    transform: none;
  }
  .pay__bar {
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 6px;
    height: auto;
    margin: 0;
  }
  .pay__step:hover .pay__bar {
    height: auto;
  }
  .pay__bar i {
    transform-origin: top;
  }
  .pay__step b {
    grid-row: 1 / 3;
    align-self: center;
  }
  .pay__when {
    margin-top: 0;
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .pay__bar i {
    transform: scaleY(0);
  }
  .js .pay__card.in .pay__bar i {
    transform: scaleY(1);
  }
}

/* ===========================================================
   FOOTER — sirf logo, center me
   =========================================================== */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(40px, 6vw, 70px) var(--gutter) clamp(30px, 4vw, 44px);
  background: var(--page);
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot__logo {
  display: inline-flex;
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s;
}
.foot__logo:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}
.foot__logo img {
  height: clamp(40px, 5vw, 64px);
  width: auto;
  object-fit: contain;
}
.foot__text {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 0.06em;
  color: var(--maroon);
}
.foot__copy {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8c5f4b;
}

/* ===========================================================
   REGISTER YOUR INTEREST — maroon panel + cream form card
   =========================================================== */
.reg {
  background: var(--page);
  padding: clamp(40px, 6vw, 90px) clamp(10px, 2vw, 24px) clamp(36px, 4vw, 60px);
}
.reg__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 64px);
  border-radius: 34px;
  background: var(--maroon);
  color: var(--cream);
  overflow: hidden;
}
.reg__panel::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(rgba(237, 180, 96, 0.22), transparent 70%);
  pointer-events: none;
}
.reg__info {
  position: sticky;
  top: 40px;
  align-self: start;
  padding-top: clamp(6px, 1vw, 16px);
}
.reg__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.reg__title {
  margin-top: 14px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 300;
  color: var(--cream);
}
.reg__lead {
  margin-top: 18px;
  max-width: 40ch;
  font-size: 15.5px;
  opacity: 0.82;
}
.reg__steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 236, 209, 0.16);
}
.reg__steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 236, 209, 0.16);
  font-family: var(--serif);
  font-size: 20px;
}
.reg__steps span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.reg__trust {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  opacity: 0.85;
}
.reg__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reg__trust svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  stroke-width: 2.4;
}
.reg__talk {
  margin: 30px 0 12px;
  font-size: 13px;
  opacity: 0.7;
}

/* ---- form card ---- */
.reg__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 26px;
  background: #fff6e9;
  color: var(--maroon);
}
.reg__block {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.reg__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.reg__label span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--maroon);
  color: var(--cream);
  font-size: 10.5px;
  letter-spacing: 0;
}

/* collection tiles */
.rc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rc {
  position: relative;
  cursor: pointer;
}
.rc__box {
  position: relative;
  display: block;
  height: 100%;
  padding: 6px 6px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.rc:hover .rc__box {
  transform: translateY(-3px);
}
.rc__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 13px;
}
.rc__img::before {
  font-size: 9px;
}
.rc__name {
  display: block;
  margin: 12px 8px 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
}
.rc__sub {
  display: block;
  margin: 3px 8px 0;
  font-size: 12px;
  line-height: 1.35;
  color: #8c5f4b;
}
.rc__check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--maroon);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.rc__check svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}
.rc input:checked + .rc__box {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(237, 180, 96, 0.35);
}
.rc input:checked + .rc__box .rc__check {
  transform: scale(1);
}
.rc input:focus-visible + .rc__box,
.chip input:focus-visible + .chip__box {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

/* residence chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip__box {
  display: flex;
  flex-direction: column;
  padding: 11px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.chip:hover .chip__box {
  border-color: var(--gold);
}
.chip__name {
  font-size: 14px;
  font-weight: 600;
}
.chip__price {
  font-size: 12px;
  color: #8c5f4b;
}
.chip input:checked + .chip__box {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}
.chip input:checked + .chip__box .chip__price {
  color: var(--gold);
}
.chips.is-swap .chip {
  animation: chipIn 0.35s var(--ease) both;
}
.chips.is-swap .chip:nth-child(2) {
  animation-delay: 40ms;
}
.chips.is-swap .chip:nth-child(3) {
  animation-delay: 80ms;
}
.chips.is-swap .chip:nth-child(4) {
  animation-delay: 120ms;
}
@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* summary strip */
.reg__sum {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(237, 180, 96, 0.18);
  border: 1px dashed rgba(176, 122, 58, 0.55);
}
.reg__sum-k {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c5f4b;
}
.reg__sum b {
  font-size: 15px;
  font-weight: 600;
}
.reg__sum-price {
  text-align: right;
}
.reg__sum-price b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.reg__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  cursor: pointer;
}
.reg__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--maroon);
}

/* underline fields */
.reg__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.uf--full {
  grid-column: 1 / -1;
}
.uf label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c5f4b;
}
.uf label small {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}
.uf input,
.uf select {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--maroon);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s;
}
.uf input::placeholder {
  color: #c0a089;
}
.uf input:focus,
.uf select:focus {
  border-bottom-color: var(--maroon);
}
.uf__phone {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
}
.uf select {
  padding-right: 22px;
  font-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23551f22' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 15px;
}
.uf__err {
  display: none;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: #b0302a;
}
.uf.invalid .uf__err {
  display: block;
}
.uf.invalid input {
  border-bottom-color: #b0302a;
}
.reg__legal {
  margin-top: -10px;
  font-size: 12px;
  line-height: 1.55;
  color: #8c5f4b;
}
.reg__legal a {
  color: var(--maroon);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* success */
.reg__done {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(60px, 9vw, 110px) 28px 28px;
  border-radius: inherit;
  background: #fff6e9;
  text-align: center;
  animation: chipIn 0.4s var(--ease);
}
.reg__done[hidden] {
  display: none;
}
.reg__done-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--maroon);
}
.reg__done-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}
.reg__done h3 {
  font-size: 36px;
}
.reg__done p {
  max-width: 36ch;
  color: #6f3b35;
}
.reg__edit {
  font-size: 13px;
  color: #8c5f4b;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 1000px) {
  .reg__panel {
    grid-template-columns: 1fr;
  }
  .reg__info {
    position: static;
  }
}
@media (max-width: 560px) {
  .rc-grid {
    gap: 6px;
  }
  .rc__box {
    padding: 4px 4px 10px;
  }
  .rc__name {
    font-size: 14px;
    margin: 8px 5px 0;
  }
  .rc__sub {
    font-size: 11px;
    margin: 2px 5px 0;
  }
  .reg__fields {
    grid-template-columns: 1fr;
  }
  .reg__sum-price {
    text-align: left;
  }
  .uf__phone {
    grid-template-columns: 100px 1fr;
  }
}

/* ===========================================================
   MOBILE NAV: hamburger ke saath Register button
   =========================================================== */
.nav__reg {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--maroon);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.25s var(--ease),
    background 0.25s;
}
.nav__reg svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  transition: transform 0.35s var(--ease);
}
.nav__reg:active {
  transform: scale(0.96);
}
.nav__reg:hover svg {
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .nav__reg {
    display: inline-flex;
  }
  .nav__actions .pill--light {
    display: none;
  }
}

/* ===========================================================
   BOTTOM CONTACT BAR — floating glass capsule
   =========================================================== */
.cbar {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(43, 14, 17, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 236, 209, 0.14);
  box-shadow:
    0 24px 50px -20px rgba(20, 5, 7, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--cream);
  opacity: 0;
  transform: translate(-50%, 130%) scale(0.96);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.4, 0.5, 1),
    opacity 0.35s ease;
}
.cbar.is-on {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.cbar__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  transition: background 0.25s;
}
.cbar__btn:hover {
  background: rgba(255, 236, 209, 0.1);
}
.cbar__ic {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--maroon);
}
.cbar__ic svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.cbar__ic--wa {
  background: #25d366;
  color: #fff;
}
/* WhatsApp par halki pulse ring */
.cbar__ic--wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: cbarPulse 2.4s ease-out infinite;
}
@keyframes cbarPulse {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}
.cbar__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.cbar__txt small {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 236, 209, 0.6);
}
.cbar__txt b {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.cbar__reg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--maroon);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.cbar__reg:hover {
  background: #fff;
}
.cbar__reg svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
@media (max-width: 900px) {
  /* mobile par Register navbar me hai */
  .cbar__reg {
    display: none;
  }
}
@media (max-width: 560px) {
  .cbar {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateY(130%) scale(0.96);
  }
  .cbar.is-on {
    transform: none;
  }
  .cbar__btn {
    flex: 1;
    justify-content: center;
    padding: 6px 12px 6px 6px;
  }
  .cbar__txt b {
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  .cbar__txt small {
    display: none;
  }
}

/* ===========================================================
   REGISTER MODAL — wahi form popup me
   =========================================================== */
.reg-modal {
  width: min(760px, 100%);
  max-width: 100%;
  max-height: 100%;
  height: auto;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--maroon);
  color: var(--cream);
  overflow: auto;
  overscroll-behavior: contain;
}
.reg-modal::backdrop {
  background: rgba(30, 8, 10, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.reg-modal[open] {
  animation: modalIn 0.45s var(--ease);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
}
.reg-modal__head {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 16px;
  background: var(--maroon);
}
.reg-modal__eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.reg-modal__title {
  margin-top: 4px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 300;
  color: var(--cream);
}
.reg-modal__close {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 236, 209, 0.12);
  color: var(--cream);
  transition:
    background 0.25s,
    transform 0.3s var(--ease);
}
.reg-modal__close:hover {
  background: var(--gold);
  color: var(--maroon);
  transform: rotate(90deg);
}
.reg-modal__close svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.reg-modal__body {
  padding: 0 14px 14px;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .reg-modal {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }
  .reg-modal__body {
    padding: 0 8px 8px;
  }
}

/* form ke left side: call + whatsapp */
.reg__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* footer contact */
.foot__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: 13.5px;
  font-weight: 500;
}
.foot__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--maroon);
  transition: color 0.25s;
}
.foot__contact a:hover {
  color: #b07a3a;
}
.foot__contact svg {
  width: 15px;
  height: 15px;
}
/* contact bar footer ko na dhake */
.foot {
  padding-bottom: clamp(100px, 12vw, 120px);
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) {
  .nav__links a {
    padding: 7px 10px;
    font-size: 12.5px;
  }
}
@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 80px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(60, 20, 23, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s;
  }
  .nav__links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__links a {
    padding: 12px 14px;
    font-size: 15px;
  }
  .nav__mobile-only {
    display: block;
  }
  .nav__actions .pill--ghost {
    display: none;
  }
  .burger {
    display: block;
  }
}
@media (max-width: 600px) {
  .nav__actions .pill--light {
    display: none;
  }
}

/* ===========================================================
   ANIMATIONS (sirf JS on + reduce-motion off)
   =========================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .rv {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.6s var(--ease) var(--d, 0ms),
      transform 0.6s var(--ease) var(--d, 0ms);
  }
  .js .rv.in {
    opacity: 1;
    transform: none;
  }
  /* heading lines mask se upar aati hain */
  .js .split .ln {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
  }
  .js .split .ln > span {
    display: block;
    transform: translateY(105%);
    transition: transform 0.9s var(--ease) var(--d, 0ms);
  }
  .js .split.in .ln > span {
    transform: none;
  }
  /* hero image slow zoom */
  .js .hero__slide img {
    transform: scale(1.1);
    transition: transform 7s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .js .is-loaded .hero__slide.is-active img {
    transform: scale(1);
  }
  .js .nav {
    opacity: 0;
    transform: translateY(-14px);
    transition:
      opacity 0.8s var(--ease) 0.2s,
      transform 0.8s var(--ease) 0.2s;
  }
  .js .is-loaded .nav {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
