/* Maurya Vihar Builders - mauryaviharbuilders.in */

:root {
  --bg: #faf6ee;
  --bg-2: #f6f0e4;
  --sand: #f0e4d1;
  --sand-2: #ebdcc3;
  --card: #fffdf8;
  --ink: #1e1914;
  --text: #3a332c;
  --muted: #69645c;
  --soft: #a09a90;
  --line: rgba(30, 25, 20, 0.1);
  --line-2: rgba(30, 25, 20, 0.16);
  --brown: #2a1d14;
  --brown-2: #3d2a1c;
  --yellow: #eec643;
  --yellow-2: #e4b92c;
  --yellow-soft: #f6e7b8;
  --taupe: #897768;

  --head: "Lato", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1296px;
  --gutter: clamp(16px, 4.4vw, 72px);
  --r-sm: 10px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.04), 0 24px 60px -28px rgba(60, 40, 20, 0.22);
  --shadow-sm: 0 1px 2px rgba(60, 40, 20, 0.05), 0 10px 26px -14px rgba(60, 40, 20, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text);
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.on-dark .label { color: rgba(255, 255, 255, 0.55); }

.h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.08; letter-spacing: -0.008em; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.14; letter-spacing: -0.004em; color: #2c2620; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.25; }
.lead { font-size: clamp(1rem, 1.2vw, 1.14rem); color: #4d463f; max-width: 34em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.btn i { font-size: 18px; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-y {
  background: var(--yellow); color: var(--ink);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 6px 16px -8px rgba(190, 150, 30, 0.6);
}
.btn-y:hover { background: var(--yellow-2); }
.btn-o { background: var(--card); color: var(--ink); border: 1px solid #d9d1c2; }
.btn-o:hover { border-color: #b9ae9b; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; color: var(--ink); font-size: 15px; }
.link i { font-size: 18px; transition: transform 0.3s var(--ease); }
.link:hover i { transform: translateX(4px); }

/* nav (floating pill) */
.nav-wrap { position: fixed; z-index: 100; top: 16px; left: 0; right: 0; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 68px; padding: 0 12px 0 20px;
  background: rgba(252, 249, 243, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(30, 25, 20, 0.04), 0 16px 40px -22px rgba(60, 40, 20, 0.28);
  transition: background 0.3s, box-shadow 0.3s;
}
.scrolled .nav { background: rgba(252, 249, 243, 0.9); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-links > a, .dd > button {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links > a:hover, .dd > button:hover, .nav-links > a.active, .dd > button.active { color: var(--ink); }
.nav-links > a.active, .dd > button.active { font-weight: 600; }
.dd { position: relative; }
.dd > button i { font-size: 18px; transition: transform 0.3s var(--ease); }
.dd:hover > button i, .dd:focus-within > button i { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 340px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: all 0.3s var(--ease);
}
.dd-panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-panel a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; transition: background 0.2s; }
.dd-panel a:hover { background: var(--bg-2); }
.dd-panel img { width: 58px; height: 44px; border-radius: 8px; object-fit: cover; }
.dd-panel strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dd-panel span { font-size: 12.5px; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .call { font-size: 15px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.nav-actions .btn { height: 44px; padding: 0 18px; border-radius: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; font-size: 22px; color: var(--ink); align-items: center; justify-content: center; }

.m-menu {
  position: fixed; z-index: 99; top: 96px; left: 16px; right: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 12px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.3s var(--ease);
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.menu-open .m-menu { opacity: 1; visibility: visible; transform: none; }
.m-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px; border-radius: 12px; font-weight: 500; font-size: 16px; color: var(--ink); }
.m-menu a:hover { background: var(--bg-2); }
.m-menu a.sub { padding-left: 30px; color: var(--muted); font-size: 15px; }
.m-menu .btn { margin-top: 8px; }

/* hero */
.hero { position: relative; min-height: min(100vh, 920px); display: flex; align-items: center; overflow: hidden; }
.hero-img {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to top, transparent 0%, #000 34%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to top, transparent 0%, #000 34%);
  mask-composite: intersect;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
/* cream fade behind the hero copy */
.hero {
  --copy-w: 600px;
  --copy-edge: calc(max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter)) + var(--copy-w));
}
.hero::before {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    var(--bg) 0,
    var(--bg) calc(var(--copy-edge) - 20px),
    rgba(250, 246, 238, 0.85) calc(var(--copy-edge) + 60px),
    rgba(250, 246, 238, 0.4) calc(var(--copy-edge) + 160px),
    rgba(250, 246, 238, 0) calc(var(--copy-edge) + 260px));
}
.hero .container { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 150px; }
.hero-copy { max-width: var(--copy-w, 600px); }
.hero-copy .label { margin-bottom: 26px; }
.hero-copy .label::before { display: none; }
.hero-copy .h1 { margin-bottom: 22px; }
.hero-copy .lead { margin-bottom: 38px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* feature strip */
.marquee {
  position: relative; overflow: hidden;
  padding: 10px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: #6f665b; white-space: nowrap; letter-spacing: -0.01em;
}
.marquee-item i { font-size: 1.15em; font-weight: 400; color: #a88226; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-sand { background: linear-gradient(180deg, var(--sand) 0%, #efe1c9 100%); }
.head-center { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; }
.head-center .label { margin-bottom: 20px; }
.head-center .lead { margin: 18px auto 0; }

/* overview */
.overview { display: grid; grid-template-columns: 1fr 1.05fr 1.05fr; gap: 16px; align-items: stretch; }
.overview-copy { padding-right: clamp(0px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.overview-copy .label { margin-bottom: 22px; }
.overview-copy .h2 { margin-bottom: 18px; }
.overview-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 30px; }
.overview-img { border-radius: var(--r); overflow: hidden; min-height: 440px; box-shadow: var(--shadow-sm); }
.overview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.overview-img:hover img { transform: scale(1.04); }
.overview-card {
  background: var(--card); border-radius: var(--r); padding: 30px 30px 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
}
.kv-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv-list li:first-child { padding-top: 0; }
.kv-list span { color: var(--muted); }
.kv-list b { font-weight: 600; color: var(--ink); text-align: right; }
.kv-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.quote-block img { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; background: #2a1d14; padding: 4px; margin-bottom: 16px; }
.quote-block p { font-size: 15.5px; color: var(--text); line-height: 1.55; margin-bottom: 14px; }
.quote-block small { font-size: 12.5px; font-weight: 600; color: var(--ink); }

/* avatars */
.trusted { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.avatars { display: flex; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.avatars img + img { margin-left: -10px; }

/* project carousel */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px var(--gutter) 40px;
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
@media (min-width: 1440px) {
  .carousel-track { padding-left: calc((100vw - var(--container)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--container)) / 2 + var(--gutter)); }
}
.d-card {
  flex: 0 0 min(620px, 86vw);
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease);
  user-select: none;
}
.d-card:hover { transform: translateY(-4px); }
.d-stage {
  position: relative; height: 290px; overflow: hidden;
  background: linear-gradient(180deg, #d9ccb6, #cfc0a6);
  padding: 30px 32px 0;
}
.d-stage > img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.16; filter: saturate(0.3) blur(2px);
}
.d-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(0deg, rgba(207, 192, 166, 0.9), transparent); }
.d-num {
  position: absolute; z-index: 3; top: 14px; left: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(120, 102, 84, 0.65); color: #fff; font-size: 14px; font-weight: 600;
  backdrop-filter: blur(8px);
}
.d-body { padding: 26px 32px 32px; }
.d-body small { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.d-body p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; color: #2a241e; line-height: 1.35; margin: 0; }

/* card mockups */
.mock { position: relative; z-index: 2; }
.mock-search {
  display: flex; justify-content: space-between; align-items: center;
  height: 50px; padding: 0 20px; margin: 0 0 12px 34px;
  background: rgba(255, 255, 255, 0.35); border-radius: 26px;
  font-size: 14px; color: rgba(60, 50, 40, 0.5);
}
.mock-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 16px 40px -18px rgba(60, 40, 20, 0.4);
}
.mock-row.ghost { opacity: 0.35; margin-top: 12px; box-shadow: none; }
.mock-row .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.mock-row .info { flex: 1; min-width: 0; }
.mock-row .info em { display: block; font-style: normal; font-size: 12.5px; color: #8a6a1f; font-weight: 500; }
.mock-row .info strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mock-row .info span { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.mock-row .side { text-align: right; }
.mock-row .side b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.mock-row .side .pair { display: flex; gap: 6px; }
.mini-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.mini-btn.y { background: var(--yellow); color: var(--ink); }
.mini-btn.o { border: 1px solid #d9d1c2; background: var(--card); }

.mock-panel {
  background: rgba(255, 253, 248, 0.92); border-radius: 18px; padding: 18px 22px 22px;
  box-shadow: 0 16px 40px -18px rgba(60, 40, 20, 0.4);
}
.mock-panel .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mock-panel .top span { font-size: 13.5px; color: var(--muted); }
.mock-panel .top b { font-family: var(--head); font-size: 24px; color: var(--ink); }
.chips4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips4 div { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(60, 40, 20, 0.06); }
.chips4 small { display: block; font-size: 11px; color: #736d63; }
.chips4 strong { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chips2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips2 div { background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: flex-end; box-shadow: 0 1px 2px rgba(60, 40, 20, 0.06); }
.chips2 small { display: block; font-size: 11.5px; color: #736d63; }
.chips2 strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.chips2 em { font-style: normal; font-size: 12px; color: #5f8f4e; font-weight: 600; }
.ghost-bar { margin-top: 12px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 13px; color: rgba(60, 50, 40, 0.45); }

.carousel-nav { display: flex; justify-content: center; gap: 0; margin-top: 4px; }
.carousel-nav button { position: relative; width: 32px; height: 32px; }
.carousel-nav button.active::before { width: 28px; background: var(--ink); }

/* dark feature section */
.dark {
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(120, 70, 30, 0.35), transparent 60%),
    linear-gradient(180deg, #24180f, #1d140d);
  color: rgba(255, 255, 255, 0.72);
}
.dark .h2 { color: #fbf6ee; }
.dark-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dark-grid .label { margin-bottom: 22px; }
.dark-grid .h2 { margin-bottom: 20px; }
.dark-grid p { font-size: 16.5px; margin-bottom: 34px; color: rgba(255, 255, 255, 0.66); }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; }
.feature-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass {
  position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(320px, 46%);
  background: linear-gradient(180deg, rgba(90, 70, 55, 0.35), rgba(40, 26, 18, 0.72));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.glass li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.glass li:first-child { border-top: 0; }
.glass strong { display: block; font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.glass strong span { margin-right: 8px; }
.glass p { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }

/* stories */
.stories { display: grid; grid-template-columns: 1fr 2.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.stories .label { margin-bottom: 22px; }
.stories .h2 { margin-bottom: 36px; }
.big-stat { display: flex; align-items: flex-end; gap: 14px; }
.big-stat b { font-family: var(--head); font-size: clamp(3.2rem, 5vw, 4.4rem); font-weight: 400; line-height: 0.9; color: #2c2620; letter-spacing: -0.02em; }
.big-stat span { font-size: 16px; color: var(--muted); line-height: 1.2; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.story {
  background: var(--card); border-radius: var(--r); padding: 26px 26px 24px;
  box-shadow: var(--shadow);
}
.story:nth-child(2) { transform: translateY(-14px); }
.pill { display: inline-block; padding: 5px 12px; border-radius: 30px; background: var(--yellow-soft); color: #7a6420; font-size: 12px; font-weight: 500; margin-bottom: 24px; }
.story p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.person { display: flex; align-items: center; gap: 12px; }
.person img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.person span { font-size: 12.5px; color: var(--muted); }

/* access / configurations */
.access { position: relative; overflow: hidden; }
.access-bg { position: absolute; inset: 0; }
.access-bg img { width: 100%; height: 100%; object-fit: cover; }
.access-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(240, 228, 209, 0.9), rgba(240, 228, 209, 0.8) 50%, rgba(240, 228, 209, 0.92)); }
.access .container { position: relative; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 16px; justify-content: center; }
.plan { background: var(--card); border-radius: var(--r-lg); padding: 38px 36px 40px; box-shadow: var(--shadow); }
.plan.dark-plan { background: var(--brown); color: rgba(255, 255, 255, 0.8); }
.plan .label { color: var(--text); margin-bottom: 14px; }
.plan .label::before { display: none; }
.plan.dark-plan .label { color: rgba(255, 255, 255, 0.6); }
.plan h3 { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; margin-bottom: 26px; }
.plan.dark-plan h3 { color: #fff; }
.plan ul { display: grid; gap: 12px; margin-bottom: 36px; }
.plan li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.plan li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; transform: translateY(-2px); }
.plan .meta { font-size: 13.5px; color: var(--muted); margin: -14px 0 24px; }
.plan.dark-plan .meta { color: rgba(255, 255, 255, 0.5); }

/* final cta */
.cta { position: relative; padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 7vw, 96px); overflow: hidden; }
.cta .head-center .label { margin-bottom: 14px; }
.cta .head-center .lead { margin-top: 14px; }
.cta .head-center { margin-bottom: 0; }
.cta .btn { margin-top: 24px; }
.cta-gallery {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: center;
  margin-top: clamp(32px, 3.5vw, 48px);
}
.cta-gallery img {
  width: 100%; object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.cta-gallery .g1, .cta-gallery .g5 { height: clamp(170px, 17vw, 250px); }
.cta-gallery .g2, .cta-gallery .g4 { height: clamp(130px, 13vw, 190px); }
.cta-gallery .g3 { height: clamp(200px, 21vw, 300px); }

/* footer */
.footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 80% at 70% 0%, rgba(128, 80, 36, 0.4), transparent 70%),
    linear-gradient(180deg, #2a1d14, #1d140d);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(64px, 7vw, 90px) 0 32px;
}
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; z-index: 2; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 22px; }
.footer-brand .contacts { display: grid; gap: 6px; font-size: 15px; }
.footer-brand .contacts a:hover { color: #fff; }
.footer-brand address { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, 0.5); margin-top: 14px; max-width: 34ch; line-height: 1.6; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.app-links a {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px 0 14px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  color: #fff; transition: background 0.25s, border-color 0.25s;
}
.app-links a:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.app-links i { font-size: 26px; }
.app-links span { font-size: 15px; font-weight: 600; line-height: 1.1; }
.app-links small { display: block; font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.65); }
.footer-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14.5px; font-weight: 600; color: #fff;
  transition: padding 0.3s var(--ease), color 0.3s;
}
.footer-links a:first-child { padding-top: 0; }
.footer-links a i { opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease); transform: translateX(-6px); }
.footer-links a:hover { color: var(--yellow); }
.footer-links a:hover i { opacity: 1; transform: none; }
.footer-bottom {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(70px, 9vw, 120px);
  font-size: 14px; color: rgba(255, 255, 255, 0.6);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 9px; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; color: #fff; font-size: 18px; transition: background 0.3s; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.watermark {
  position: absolute; left: 50%; bottom: -0.2em; transform: translateX(-50%);
  font-family: var(--head); font-weight: 900; font-size: clamp(5rem, 15vw, 15rem); line-height: 1;
  color: rgba(255, 255, 255, 0.035); white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: -0.03em;
}
.disclaimer { position: relative; z-index: 2; font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 28px; max-width: 900px; line-height: 1.6; }

/* whatsapp button */
.wa {
  position: fixed; z-index: 90; right: 20px; bottom: 20px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 28px;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease);
}
.wa:hover { transform: scale(1.07); }

/* inner pages */
.page-head {
  padding: 150px 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--sand) 0%, rgba(240, 228, 209, 0.55) 45%, var(--bg) 100%);
}

.page-head .h1 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); }

/* compact page head (gallery, news, contact) */
.page-head.compact { padding-bottom: 34px; }
.page-head.compact .h1 { max-width: none; font-size: clamp(2rem, 3.4vw, 3rem); }
.page-head.compact .label { margin-bottom: 14px; }
.page-head.compact .lead { margin-top: 10px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.head-row .filters { margin: 0; justify-content: flex-end; }
.head-row .btn-row { flex-shrink: 0; }
.filters a { padding: 10px 18px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.2s; }
.filters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
#updates, #guide { scroll-margin-top: 110px; }
@media (max-width: 980px) { .head-row .filters { justify-content: flex-start; } }
@media (max-width: 640px) { .head-row > * { flex: 1 1 100%; } }

/* about page head */
.ph-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ph-grid .h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.ph-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-float {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; gap: 26px;
  background: rgba(255, 253, 248, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 16px; padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}
.ph-float b { display: block; font-family: var(--head); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.ph-float small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 980px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-media { aspect-ratio: 16 / 10; }
}

/* help band */
.help-band { background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 100%); padding: clamp(70px, 9vw, 110px) 0; }
.help-band .inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.help-band .label { margin-bottom: 16px; }
.help-band .h2 { max-width: 16ch; }
.help-band p { color: var(--muted); margin: 14px 0 0; max-width: 42ch; }

.cta.cta-sand { background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 100%); }

/* contact panel */
.contact-panel { background: var(--brown); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px); color: rgba(255, 255, 255, 0.72); box-shadow: var(--shadow); }
.contact-panel .label { color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; }
.contact-panel h2 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 22px; }
.contact-panel .c-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none; }
.contact-panel a.c-card:hover { background: rgba(255, 255, 255, 0.1); }
.contact-panel .c-card i { background: var(--yellow); color: var(--ink); }
.contact-panel .c-card small { color: rgba(255, 255, 255, 0.6); }
.contact-panel .c-card strong { color: #fff; }

/* mobile action bar */
#enquire { scroll-margin-top: 110px; }
.m-cta { display: none; }
@media (max-width: 980px) {
  .has-m-cta { padding-bottom: 76px; }
  .has-m-cta .wa { display: none; }
  .m-cta {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(252, 249, 243, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .m-cta .btn { height: 48px; padding: 0 10px; font-size: 14px; }
}
.page-head .label { margin-bottom: 22px; }
.page-head .h1 { max-width: 16ch; }
.page-head .lead { margin-top: 20px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: 16px; }

.p-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(360px, 52vw, 620px); box-shadow: var(--shadow); }
.p-hero img { width: 100%; height: 100%; object-fit: cover; }
.p-hero .badge { position: absolute; top: 18px; left: 18px; background: rgba(255, 253, 248, 0.9); backdrop-filter: blur(10px); padding: 8px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.p-hero .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

.facts { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); margin-top: -56px; position: relative; z-index: 2; margin-inline: clamp(0px, 3vw, 40px); }
.facts div { padding: 22px 24px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.facts strong { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.3; display: block; }
.facts .rera strong { font-size: 13px; word-break: break-all; }

.tabs-nav { position: sticky; top: 100px; z-index: 50; display: flex; justify-content: center; margin: 44px 0 0; pointer-events: none; }
.tabs-nav div { pointer-events: auto; display: inline-flex; gap: 4px; padding: 5px; background: rgba(252, 249, 243, 0.85); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs-nav div::-webkit-scrollbar { display: none; }
.tabs-nav a { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: all 0.25s; }
.tabs-nav a:hover { color: var(--ink); }
.tabs-nav a.active { background: var(--ink); color: #fff; }

.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.block { padding: clamp(56px, 7vw, 84px) 0 0; scroll-margin-top: 170px; }
.block .label { margin-bottom: 18px; }
.block .h2 { margin-bottom: 20px; }
.block > p { color: var(--muted); font-size: 16.5px; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.spec { background: var(--card); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.spec i { font-size: 22px; color: var(--taupe); }
.spec small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.spec strong { font-size: 16px; font-weight: 600; color: var(--ink); }

.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amenity { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 500; color: var(--ink); }
.amenity i { width: 38px; height: 38px; border-radius: 10px; background: var(--yellow-soft); color: #7a6420; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-grid a { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-grid a.wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 253, 248, 0.9); backdrop-filter: blur(8px); border-radius: 30px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.gallery-grid.contain a { background: #fff; }
.gallery-grid.contain img { object-fit: contain; }

.dist { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 6px 24px; }
.dist li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dist li:last-child { border-bottom: 0; }
.dist i { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; font-size: 18px; color: var(--taupe); flex-shrink: 0; }
.dist span { flex: 1; font-size: 15.5px; color: var(--text); }
.dist b { font-size: 15.5px; font-weight: 600; color: var(--ink); }

.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 8; margin-top: 16px; box-shadow: var(--shadow-sm); background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.15); }

.brochure { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--brown); color: rgba(255, 255, 255, 0.7); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.brochure h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.brochure p { margin: 0; }

.detail > aside { align-self: stretch; }
.side-card { position: sticky; top: 170px; background: var(--card); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow); margin-top: clamp(56px, 7vw, 84px); }
.side-card .h3 { margin: 12px 0 6px; }
.side-card > p { font-size: 14.5px; color: var(--muted); }
.side-card .rera { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.side-card .rera b { display: block; color: var(--ink); font-weight: 600; word-break: break-all; margin-top: 2px; }
.pair-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pair-btns .btn { height: 46px; padding: 0 12px; font-size: 14px; }

/* short laptop screens */
@media (min-width: 981px) and (max-height: 960px) {
  .side-card { top: 150px; padding: 24px 24px 22px; }
  .side-card > p { margin-bottom: 0; }
  .side-card .form { gap: 10px; margin-top: 14px; }
  .side-card .field input, .side-card .field select { height: 44px; }
  .side-card .pair-btns .btn { height: 42px; }
  .side-card .rera { margin-top: 14px; padding-top: 12px; }
}
@media (min-width: 981px) and (max-height: 800px) {
  .side-card .label, .side-card > p { display: none; }
  .side-card .h3 { margin-top: 0; }
  .side-card .field label { margin-bottom: 4px; font-size: 12.5px; }
}

/* forms */
.form { display: grid; gap: 14px; margin-top: 22px; }
.form.two { grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px;
  background: #fff; border: 1px solid #e3dccf; border-radius: 12px;
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2369645c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #c9b67c; box-shadow: 0 0 0 4px rgba(238, 198, 67, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: #8a8378; }
.form-note { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-note i { color: #25d366; font-size: 16px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; position: relative; }
.seg input, .field .seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; border: 0; inset: 0 auto auto 0; }
.seg span { display: inline-block; padding: 9px 16px; border-radius: 30px; background: #fff; border: 1px solid #e3dccf; font-size: 14px; color: var(--text); transition: all 0.2s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(238, 198, 67, 0.5); }

/* project list */
.p-list { display: grid; gap: 20px; }
.p-item { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.p-item .img { position: relative; min-height: 380px; overflow: hidden; }
.p-item .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-item:hover .img img { transform: scale(1.04); }
.p-item .img .badge { position: absolute; top: 16px; left: 16px; background: rgba(255, 253, 248, 0.92); padding: 7px 13px; border-radius: 30px; font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.p-item .img .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.p-item .txt { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.p-item .txt .h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
.p-item .loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.p-item .txt > p { color: var(--muted); }
.p-item .kv-list { margin: 22px 0 28px; }
.p-item .kv-list li:first-child { padding-top: 14px; border-top: 1px solid var(--line); }

/* gallery */
.filters { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button { padding: 10px 18px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.2s; }
.filters button:hover { border-color: var(--line-2); }
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); cursor: zoom-in; background: #fff; }
.masonry a.hide { display: none; }
.masonry img { width: 100%; transition: transform 1s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 253, 248, 0.92); border-radius: 30px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px); transition: all 0.3s var(--ease); }
.masonry a:hover figcaption { opacity: 1; transform: none; }

/* news */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news article { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.news .img { aspect-ratio: 16 / 10; overflow: hidden; }
.news img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news article:hover img { transform: scale(1.04); }
.news .body { padding: 22px 24px 26px; }
.news .meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.news .meta .pill { margin: 0; }
.news h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 8px; }
.news p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* about */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { background: var(--card); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.value i { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow-soft); color: #7a6420; display: grid; place-items: center; font-size: 22px; margin-bottom: 22px; }
.value h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--muted); margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-row div { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.stat-row b { display: block; font-family: var(--head); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 400; color: #2c2620; line-height: 1; letter-spacing: -0.02em; }
.stat-row span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.c-cards { display: grid; gap: 10px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
a.c-card:hover { transform: translateY(-2px); }
.c-card i { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); color: #7a6420; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.c-card small { display: block; font-size: 12.5px; color: var(--muted); }
.c-card strong { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.45; word-break: break-word; }
.form-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }

/* page bits */
.page-body { padding-bottom: clamp(80px, 10vw, 130px); }
.page-head.is-center { text-align: center; padding-bottom: clamp(90px, 12vw, 150px); }
.page-head.is-center .container { display: flex; flex-direction: column; align-items: center; }
.page-head.is-center .btn-row { justify-content: center; margin-top: 34px; }
.ph-grid .btn-row { margin-top: 30px; }
.stat-row { margin-top: 16px; }
.list-title { margin-bottom: 22px; }
.form-card .h3 { margin-top: 12px; }
.gallery-grid.contain { margin-top: 24px; }
.legal .box + p { margin-top: 22px; }
.map-wide { margin-top: 16px; aspect-ratio: auto; height: clamp(320px, 38vw, 520px); }
.kv-list a { display: contents; }
.focus-left { object-position: 35% center; }
.focus-right { object-position: 65% center; }
.focus-low { object-position: center 78%; }

/* legal pages */
.legal { max-width: 880px; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); padding: clamp(26px, 5vw, 56px); box-shadow: var(--shadow); }
.legal, .c-card strong, .contacts a { overflow-wrap: anywhere; }
.legal .updated { display: inline-block; font-size: 13px; color: var(--muted); background: var(--bg-2); border-radius: 30px; padding: 6px 14px; margin-bottom: 26px; }
.legal h2 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin: 2.2em 0 0.6em; color: var(--ink); }
.legal h2:first-of-type { margin-top: 0.4em; }
.legal p, .legal li { color: #4d463f; font-size: 16px; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: #8a6a1f; }
.legal a { color: #7a6420; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal .note { background: var(--yellow-soft); border-radius: 14px; padding: 16px 20px; margin: 0 0 8px; color: #5c4b18; font-size: 15px; }
.legal .note strong { color: var(--ink); }
.legal .box { background: var(--bg-2); border-radius: 16px; padding: 20px 24px 12px; margin-bottom: 8px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(29, 20, 13, 0.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 84vh; object-fit: contain; border-radius: 12px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; font-size: 22px; color: #fff; transition: background 0.2s; }
.lightbox button:hover { background: var(--yellow); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.story.reveal.in:nth-child(2) { transform: translateY(-14px); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
.hero .rise { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; }
.hero .rise.d1 { animation-delay: 0.1s; } .hero .rise.d2 { animation-delay: 0.2s; } .hero .rise.d3 { animation-delay: 0.3s; }
.hero-img img { animation: heroZoom 2.2s var(--ease) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }

/* responsive */
@media (min-width: 1800px) {
  :root { --container: 1440px; }
}
@media (min-width: 2300px) {
  :root { --container: 1600px; }
  .hero { min-height: min(100vh, 1040px); }
}

@media (max-width: 1180px) {
  .nav-actions .call { display: none; }
  .hero { --copy-w: 520px; }
  .stories { grid-template-columns: 1fr; }
  .stories .h2 { margin-bottom: 24px; }
  .overview { grid-template-columns: 1fr 1fr; }
  .overview-copy { grid-column: 1 / -1; padding-right: 0; margin-bottom: 24px; }
  .values, .stat-row { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(4) { border-left: 0; }
  .facts div:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .nav-links, .nav-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .hero { min-height: auto; display: block; }
  .hero::before { display: none; }
  .hero-img { position: relative; width: 100%; height: 56vw; min-height: 300px; -webkit-mask-image: linear-gradient(to top, transparent, #000 30%); mask-image: linear-gradient(to top, transparent, #000 30%); }
  .hero .container { padding-top: 24px; padding-bottom: 64px; }
  .hero-img { margin-top: 0; }
  .dark-grid, .stories, .contact-grid, .detail, .p-item { grid-template-columns: 1fr; }
  .p-item .img { min-height: 280px; }
  .story-cards { grid-template-columns: 1fr 1fr; }
  .story:nth-child(2), .story.reveal.in:nth-child(2) { transform: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .side-card { position: static; }
  .news { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .cta-gallery { grid-template-columns: repeat(3, 1fr); }
  .cta-gallery .g2, .cta-gallery .g4 { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .nav { height: 62px; padding: 0 8px 0 14px; }
  .brand img { height: 40px; }
  .brand span { font-size: 16px; }
  .m-menu { top: 88px; }
  .hero-img { height: 70vw; }
  .btn-row .btn { flex: 1 1 100%; }
  .overview { grid-template-columns: 1fr; }
  .overview-img { min-height: 300px; }
  .d-stage { height: 250px; padding: 24px 16px 0; }
  .d-body { padding: 22px 22px 26px; }
  .mock-search { margin-left: 40px; }
  .mock-row { gap: 10px; padding: 10px; }
  .mock-row .thumb { width: 48px; height: 48px; }
  .mock-row .side .pair .o, .mock-row .info span { display: none; }
  .mock-row .info strong { font-size: 15px; }
  .chips4 { grid-template-columns: 1fr 1fr; }
  .chips4 strong, .chips2 strong { white-space: normal; font-size: 13px; }
  .mock-panel { padding: 14px 14px 16px; }
  .mock-panel .top { flex-wrap: wrap; gap: 2px 10px; }
  .mock-panel .top b { font-size: 19px; }
  .feature-media { min-height: 520px; }
  .glass { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
  .story-cards { grid-template-columns: 1fr; }
  .plan { padding: 30px 26px 32px; }
  .cta-gallery { gap: 8px; margin-top: 40px; }
  .cta-gallery img { border-radius: 14px; }
  .cta-gallery .g1, .cta-gallery .g5 { height: 120px; }
  .cta-gallery .g3 { height: 160px; }
  .footer-top { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .values, .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .value { padding: 22px 18px; }
  .facts { grid-template-columns: 1fr 1fr; margin-inline: 0; margin-top: 14px; }
  .facts div { padding: 16px 18px; }
  .facts div:nth-child(odd) { border-left: 0; }
  .facts div:nth-child(4) { border-left: 1px solid var(--line); }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts .rera { grid-column: 1 / -1; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid a.wide { aspect-ratio: 4 / 3; }
  .form.two { grid-template-columns: 1fr; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .masonry a { margin-bottom: 8px; border-radius: 12px; }
  .page-head { padding-top: 130px; }
  .tabs-nav { top: 88px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

/* small phones */
@media (max-width: 380px) {
  .brand small { display: none; }
  .brand span { font-size: 17px; }
  .m-cta { grid-template-columns: 1fr 1fr 1.1fr; gap: 6px; padding-inline: 8px; }
  .m-cta .btn { font-size: 13px; gap: 6px; }
  .m-cta .btn i { font-size: 16px; }
  .ph-float { gap: 16px; padding: 12px 14px; }
  .pair-btns .btn { font-size: 13px; }
}
@media (max-width: 340px) {
  .m-cta .btn i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
