/* ============================================================
 * Courtyard by Vedant Suraksha — Standalone CSS
 * Palette inspired by the banner: sky-blue, grass-green, white.
 * ============================================================ */

:root {
  --bg: #f5f9fd;
  --surface: #eaf2fa;
  --card: #e3edf7;
  --fg: #0f1a2b;
  --muted: #5b6b80;
  --border: #cdd9e6;
  --accent: #2f7cc4; /* sky blue from banner */
  --accent-soft: #74b3e3;
  --accent-deep: #1d4f86;
  --cta: #2f6f3b; /* grass green from banner */
  --cta-hover: #3a8a48;
  --cta-fg: #ffffff;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(47, 124, 196, 0.28);
  --shadow-elegant: 0 30px 60px -30px rgba(15, 26, 43, 0.28);
  --gradient-accent: linear-gradient(135deg, #74b3e3, #1d4f86);
  --gradient-cinematic: linear-gradient(
    180deg,
    rgba(15, 26, 43, 0) 0%,
    rgba(8, 16, 28, 0.78) 100%
  );
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Cormorant Garamond", serif;
  --body: "Inter", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0f1a2b;
  --surface: #142235;
  --card: #18293f;
  --fg: #ecf2f9;
  --muted: #9fb1c8;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #6ab1e3;
  --accent-soft: #a6d3ee;
  --accent-deep: #2f7cc4;
  --cta: #3a8a48;
  --cta-hover: #4ea35e;
  --glass: rgba(20, 34, 53, 0.55);
  --glass-border: rgba(106, 177, 227, 0.25);
  --shadow-elegant: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --gradient-accent: linear-gradient(135deg, #a6d3ee, #2f7cc4);
  --gradient-cinematic: linear-gradient(
    180deg,
    rgba(15, 26, 43, 0) 0%,
    rgba(5, 10, 18, 0.88) 100%
  );
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* Typography */
.font-display,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.num,
.num-lg,
.num-xl {
  /* font-family: "Bodoni Moda", "Cormorant Garamond", serif; */
  font-family: "Inter", system-ui, sans-serif;
  font-feature-settings: "lnum", "tnum";
  letter-spacing: -0.02em;
}
.num {
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}
.num-lg {
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
}
.num-xl {
  font-size: 3rem;
  font-weight: 500;
  display: block;
}
.num-xl.grad,
.grad {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 1px;
}
.eyebrow .dash {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow-light {
  color: var(--accent-soft);
}
.eyebrow-light .dash {
  background: var(--accent-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-cta {
  background: var(--cta);
  color: var(--cta-fg);
}
.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(58, 138, 72, 0.55);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background 0.4s var(--ease),
    backdrop-filter 0.4s;
}

/* Light mode scrolled: white-tinted glass */
.site-header.scrolled {
  background: rgba(245, 249, 253, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}

/* Dark mode scrolled: dark-tinted glass — keeps logo visible */
html[data-theme="dark"] .site-header.scrolled {
  background: rgba(235, 238, 243, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.site-header.scrolled .brand {
  color: var(--fg);
}
html[data-theme="dark"] .site-header.scrolled .brand {
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-accent);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: #fff;
  font-style: italic;
}
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 4px;
}

.nav {
  display: none;
  gap: 28px;
  font-size: 13px;
  color: #fff;
}
.site-header.scrolled .nav {
  color: var(--fg);
}
html[data-theme="dark"] .site-header.scrolled .nav {
  /* color: rgba(255, 255, 255, 0.88); */
  color: #0d1a2b;

}
html[data-theme="dark"] .site-header.scrolled .nav a:hover {
  color: #101c2cce;
}
.nav a:hover {
  color: var(--accent-soft);
}
@media (min-width: 960px) {
  .nav {
    display: flex;
    align-items: center;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.site-header.scrolled .theme-toggle {
  color: var(--fg);
  border-color: var(--border);
  background: var(--surface);
}
html[data-theme="dark"] .site-header.scrolled .theme-toggle {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  background: #0d1a2b;
}

/* ============ */
/* Logo sizing */
#logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  object-position: left;
}

@media (max-width: 600px) {
  #logo {
    height: 40px;
    max-width: 160px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    padding: 14px 20px;
  }
}

/* ========== */

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  /* Desktop: content sits at the bottom-left */
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 2.4s var(--ease) both;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-cinematic);
}
.hero-strings {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  width: 100%;
  color: var(--accent-soft);
  opacity: 0.35;
  pointer-events: none;
}
.hero-strings line {
  animation: pluck 3.4s ease-in-out infinite;
  transform-origin: center;
}

/* Desktop: left-anchored, generous bottom padding */
.hero-content {
  position: relative;
  /* override .container centering — pin to left */
  margin-left: 0;
  margin-right: auto;
  padding: 180px 48px 100px;
  max-width: 720px;
}

/* Staggered entrance — eyebrow, title, subtitle each slide up in sequence */
.hero-content .eyebrow {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.85s var(--ease) 0.3s both;
}
.hero-content .hero-title {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.95s var(--ease) 0.55s both;
}
.hero-content .hero-sub {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.85s var(--ease) 0.8s both;
}

/* Override .reveal on hero-content so it doesn't fight the per-element animations */
.hero-content.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.hero-title {
  font-size: clamp(2.1rem, 5.4vw, 5rem);
  margin: 0 0 22px;
  line-height: 1.06;
}
.hero-title em {
  font-style: italic;
}
.hero-sub {
  max-width: 520px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-weight: 300;
}

/* Mobile: push content down so it clears the building elevation in the image */
@media (max-width: 960px) {
  .hero {
    align-items: flex-end;
  }
  .hero-content {
    padding: 0 20px 72px;
    margin: 0;
    max-width: 100%;
    /* extra top space so content sits below the building illustration */
    padding-top: 58vh;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 58vh 18px 64px;
  }
}

/* Entrance keyframe */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero image zoom (already referenced above) */
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}
.scroll-hint span {
  display: block;
  margin-top: 6px;
  animation: bounce 1.8s ease-in-out infinite;
}

/* Sections */
.section {
  padding: 50px 0;
}
@media (min-width: 768px) {
  .section {
    padding: 140px 0;
  }
}
.section-alt {
  background: var(--surface);
}
.section-dark {
  background: #0d1a2b;
  color: #fff;
}
.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}
.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0 0 18px;
  line-height: 1.05;
}
.section-title em {
  font-style: italic;
}
.section-title-light {
  color: #fff;
}
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
}

/* Highlights grid (project section) */
.highlights-slider-wrap {
  position: relative;
  margin-top: 56px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.highlight {
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 1px 2px rgba(15, 26, 43, 0.04);
  transition: all 0.5s var(--ease);
}
.highlight:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-elegant);
}
.highlight .ic {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px;
}
.highlight h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 500;
}
.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
/* ============= */
@media (min-width: 640px) {
  .highlights-slider .highlights-track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .highlights-slider .highlights-track {
    grid-template-columns: repeat(3, 1fr);
  }
}
.slider-controls {
  display: none;
}
.highlights-track {
  transition: transform 0.7s ease;
}
@media (max-width: 768px) {
  .highlights-slider {
    overflow: hidden;
    padding-bottom: 72px;
  }
  .highlights-slider .highlights-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    align-items: stretch;
    justify-content: flex-start;
    will-change: transform;
  }
  .highlights-slider .highlights-track .highlight {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .slider-controls {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
  }
  .slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.35rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
      transform 0.25s ease,
      background 0.25s ease,
      border-color 0.25s ease;
  }
  .slider-arrow:hover,
  .slider-arrow:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .slider-arrow:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}
.highlight {
  display: flex;
  gap: 16px;
  padding: 26px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(15, 26, 43, 0.08);
  box-shadow: 0 1px 2px rgba(15, 26, 43, 0.04);
  transition: all 0.5s var(--ease);
}
.highlight:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-elegant);
}
.highlight .ic {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px;
}
.highlight h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}
.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============ */
/* Rule row */
.rule-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 90px 0 50px;
}
.rule {
  flex: 1;
  height: 1px;
  background: rgba(47, 124, 196, 0.3);
}
.rule-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Amenities zigzag */
.amenities {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.amenity {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .amenity {
    grid-template-columns: 8fr 4fr;
    gap: 48px;
  }
  .amenity:nth-child(even) .amenity-media {
    order: 2;
  }
  .amenity:nth-child(even) .amenity-body {
    order: 1;
  }
}
.amenity-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-elegant);
}
.amenity-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.amenity-media:hover img {
  transform: scale(1.05);
}
.amenity-media .tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.num-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.num-rule {
  flex: 1;
  height: 1px;
  background: rgba(47, 124, 196, 0.4);
}
.amenity-body h3 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}
.amenity-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
}

/* Mobile: experience section becomes a horizontal slider */
@media (max-width: 960px) {
  #experience .amenities {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 12px 8px;
  }
  #experience .amenity {
    flex: 0 0 84%;
    max-width: 84%;
    scroll-snap-align: center;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  #experience .amenity .amenity-media,
  #experience .amenity .amenity-body {
    width: 100%;
  }
}

/* About + Stats */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 36px;
  max-width: 460px;
}
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-lbl {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.developers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .developers {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dev-card {
  padding: 30px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
}
.dev-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.dev-tag-italic {
  font-style: italic;
  color: var(--muted);
  margin: 4px 0 14px;
}
.dev-card h3 {
  margin: 0;
  font-size: 1.9rem;
}
.dev-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.counter-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 640px) {
  .counter-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.counter-row .num-lg {
  font-size: 2.4rem;
}

/* Floor plans */
/* .plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 50px;
}
@media (min-width: 768px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}
.plan-card {
  padding: 40px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.5s var(--ease);
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-elegant);
}
.plan-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan-area {
  color: var(--muted);
  margin: 14px 0 24px;
}
.plan-price-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}
.plan-card .btn {
  margin-top: 28px;
}
.fine-print {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
} */
/* ====floor== */
/* =========================================
   PREMIUM FLOOR PLAN SECTION
========================================= */

.plans-section {
  position: relative;
}

.master-plan {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 70px;
}

.plan-image-wrap {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
}

.plan-image-wrap img {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease);
}

.plan-image-wrap:hover img {
  transform: scale(1.04);
}

.master-plan-content {
  padding: 20px 0;
}

.plan-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.master-plan-content h3 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 18px;
}

.master-plan-content p {
  color: var(--muted);
  font-size: 1rem;
}

/* FLOOR PLAN GRID */

.floor-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.floor-plan-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.45s var(--ease);
}

.floor-plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-elegant);
}

.floor-image {
  overflow: hidden;
}

.floor-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.floor-plan-card:hover img {
  transform: scale(1.05);
}

.floor-info {
  padding: 24px;
}

.plan-type {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.floor-size {
  margin: 14px 0;
  font-size: 1.8rem;
  font-family: "Cormorant Garamond", serif;
}

.floor-info p {
  color: var(--muted);
  margin: 0;
}

/* CONFIGURATION */

.config-wrapper {
  margin-top: 70px;
}

.config-main-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(47, 124, 196, 0.08),
    rgba(255, 255, 255, 0.02)
  );

  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
}

.config-tag {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.config-left h3 {
  font-size: 2.6rem;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.price-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-value {
  font-size: 3rem;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: default;
}
.price-value:hover {
  filter: brightness(0.55) saturate(1.6);
  transform: scale(1.04);
}

.terracolly-box {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
}

.terracolly-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.terracolly-box p {
  margin: 8px 0 0;
  color: var(--muted);
}

.config-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
}

.config-item span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.config-item strong {
  font-size: 1.45rem;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .master-plan {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .floor-plan-grid {
    grid-template-columns: 1fr;
  }

  .config-main-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .config-left h3 {
    font-size: 2rem;
  }

  .price-value {
    font-size: 2.2rem;
  }

  .master-plan-content h3 {
    font-size: 2rem;
  }

  .floor-size {
    font-size: 1.5rem;
  }

  .config-item {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .config-main-card {
    padding: 22px;
    border-radius: 22px;
  }

  .terracolly-box {
    flex-direction: column;
  }

  .price-value {
    font-size: 1.9rem;
  }

  .config-item strong {
    font-size: 1.25rem;
  }
}
/* ---------end--- */
/* Location chips */
.loc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.loc-chips span {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.contact-form {
  display: grid;
  gap: 14px;
  padding: 32px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form select {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.25s;
}
.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-msg {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--cta);
  min-height: 1em;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0d1a2b;
  color: rgba(255, 255, 255, 0.78);
}

/* Map strip */
.footer-map {
  width: 100%;
  height: 280px;
  overflow: hidden;
  opacity: 0.88;
  filter: grayscale(20%);
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Main content area */
.footer-body {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1.4fr 1fr;
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 1024px) {
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .footer-body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 32px;
  }
  .footer-map {
    height: 200px;
  }
}

/* Brand col */
.footer-col-brand {}
.footer-brand {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 4px;
}
.footer-sub-tagline {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 7px;
}

/* Column heading */
.footer-col-heading {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 16px;
}

/* Address */
.footer-address {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

/* Contact list */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-contact-link:hover {
  color: #fff;
}
.footer-wa {
  color: #25d366 !important;
}
.footer-wa:hover {
  color: #4ae080 !important;
}

/* Quick links */
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-nav-list a:hover {
  color: var(--accent-soft);
}

/* Bottom bar */
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: space-between;
}
.legal {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.5;
  line-height: 1.6;
}
.rera {
  opacity: 0.65;
  font-weight: 500;
}
.disclaimer {
  width: 100%;
  opacity: 0.38;
  font-size: 0.72rem;
}
@media (max-width: 600px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Floating WhatsApp */
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55);
  z-index: 40;
  transition: transform 0.3s;
}
.float-whatsapp:hover {
  transform: scale(1.08);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Animations — pluck for guitar strings */

/* ---------- Amenities pinned section ---------- */
.amenities {
  position: relative;
}
.amenities-pin {
  position: relative;
  height: 300vh;
}
.pin-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
.amenities-grid {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.col-side {
  position: relative;
  overflow: hidden;
  padding-top: 18vh;
}
.col-right {
  padding-top: 26vh;
}
.col-track {
  display: flex;
  flex-direction: column;
  gap: 28px;
  will-change: transform;
}
.fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 3;
  pointer-events: none;
}
.fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
}
.fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

.am-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.am-card img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  transition: transform 1.4s ease;
}
.am-card:hover img {
  transform: scale(1.06);
}
.am-card .cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(15, 18, 15, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: White;
}
.am-card .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 18, 15, 0.95), transparent);
}
.am-card .cap .num {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
}
.am-card .cap h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.1;
}

.col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12px;
}
.col-center .display {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  margin-top: 18px;
}
.col-center p {
  margin-top: 0px;
  color: var(--muted);
  max-width: 360px;
  font-size: 0.95rem;
}
.dot-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 240px;
  margin: 12px 0;
}
.dot-rule span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.dot-rule i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}
/* ======= */

/* Responsive: disable pinned 3-column amenities on small screens */
@media (max-width: 960px) {
  .amenities-pin {
    height: auto;
  }
  .pin-stage {
    position: static;
    height: auto;
    overflow: visible;
  }
  .amenities-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    padding: 0 16px;
  }
  /* Show the center text first on small screens */
  .col-center {
    order: -1;
    padding: 20px 8px;
  }
  .col-side {
    padding-top: 0;
  }
  .col-right {
    padding-top: 0;
  }
  .col-track {
    will-change: auto;
    /* hide the old left/right tracks on mobile — combined strip used instead */
    display: none;
  }
  .fade {
    display: none;
  }
  .am-card img {
    aspect-ratio: 4/3;
  }
  .am-card {
    scroll-snap-align: start;
  }
}

.experience-controls {
  display: none;
}

@media (max-width: 960px) {
  .experience-slider {
    position: relative;
  }
  #experience .amenities {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #experience .amenities::-webkit-scrollbar {
    display: none;
  }
  .experience-controls {
    position: static;
    margin: 18px 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
  }
  .experience-controls .slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.18);
    color: var(--fg);
    backdrop-filter: blur(12px);
    font-size: 1.35rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      background 0.2s ease;
  }
  .experience-controls .slider-arrow:hover,
  .experience-controls .slider-arrow:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
  }
}

/* =========== UNIFIED MOBILE SLIDER SYSTEM =========== */

/* Shared controls row: arrows + dots */
.mobile-slider-controls {
  display: none;
}

/* Dot indicators */
.slider-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.slider-dot.active {
  width: 20px;
  background: var(--accent);
}

/* ---- Highlights slider (mobile) ---- */
.highlights-slider-wrap {
  position: relative;
  margin-top: 56px;
}

@media (max-width: 960px) {
  .highlights-slider-wrap {
    margin-top: 32px;
  }

  .highlights-slider-wrap .highlights-grid {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 4px;
  }
  .highlights-slider-wrap .highlights-grid::-webkit-scrollbar {
    display: none;
  }
  .highlights-slider-wrap .highlights-grid .highlight {
    flex: 0 0 80vw;
    max-width: 80vw;
    scroll-snap-align: center;
    /* override reveal transform so card is visible in slider */
    opacity: 1 !important;
    transform: none !important;
  }

  .highlights-controls {
    margin-top: 16px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
}

/* ---- Experience amenities slider tweaks (mobile) ---- */
@media (max-width: 960px) {
  #experience .amenity {
    flex: 0 0 78vw;
    max-width: 78vw;
  }
  #experience .amenity .amenity-media img {
    aspect-ratio: 4/3;
  }
  .experience-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }
  .mobile-slider-controls.experience-controls {
    display: flex !important;
  }
}

/* ---- Floor Plan slider (mobile) ---- */
.floor-plan-slider-wrap {
  position: relative;
}

@media (max-width: 960px) {
  .floor-plan-slider-wrap .floor-plan-grid {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 4px;
  }
  .floor-plan-slider-wrap .floor-plan-grid::-webkit-scrollbar {
    display: none;
  }
  .floor-plan-slider-wrap .floor-plan-grid .floor-plan-card {
    flex: 0 0 82vw;
    max-width: 82vw;
    scroll-snap-align: center;
    opacity: 1 !important;
    transform: none !important;
  }

  .floor-plan-controls {
    margin-top: 16px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
}

/* ---- Amenities section mobile combined strip ---- */
.col-mobile-combined {
  display: none;
}

@media (max-width: 960px) {
  /* Hide the two side columns (left/right tracks) and show the combined strip */
  .col-left,
  .col-right {
    display: none !important;
  }
  .col-mobile-combined {
    display: block;
    width: 100%;
  }
  .mobile-am-track {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 4px;
  }
  .mobile-am-track::-webkit-scrollbar {
    display: none;
  }
  .mobile-am-track .am-card {
    flex: 0 0 72vw;
    max-width: 72vw;
    scroll-snap-align: center;
  }
  .mobile-am-track .am-card img {
    aspect-ratio: 4/3;
  }
  .amenities-mobile-controls {
    margin-top: 16px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  /* Shared arrow style for amenities section (dark bg context) */
  #amenities .slider-arrow {
    border-color: var(--glass-border);
    background: var(--glass);
    color: var(--fg);
  }
}

/* ---- Shared arrow style for all mobile sliders ---- */
@media (max-width: 960px) {
  .mobile-slider-controls .slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--fg);
    backdrop-filter: blur(12px);
    font-size: 1.35rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
  }
  .mobile-slider-controls .slider-arrow:hover,
  .mobile-slider-controls .slider-arrow:focus-visible {
    transform: translateY(-1px);
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
}
/* =========Amenities overv============== */

/* ============================================================
 * FLASH / SHIMMER HOVER SYSTEM
 * A single ::before pseudo sweep is reused across all targets.
 * The shimmer is a diagonal highlight that shoots across on hover.
 * ============================================================ */

@keyframes shimmerSweep {
  0%   { transform: translateX(-110%) skewX(-18deg); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(110%) skewX(-18deg); opacity: 0; }
}

@keyframes flashPulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 124, 196, 0); }
  40%  { box-shadow: 0 0 0 6px rgba(47, 124, 196, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(47, 124, 196, 0); }
}

@keyframes btnFlash {
  0%   { box-shadow: 0 0 0 0 rgba(58, 138, 72, 0); }
  40%  { box-shadow: 0 0 0 7px rgba(58, 138, 72, 0.28); }
  100% { box-shadow: 0 0 0 0 rgba(58, 138, 72, 0); }
}

@keyframes chipFlash {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  40%  { box-shadow: 0 0 0 5px rgba(255,255,255,0.18); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---- Shared shimmer pseudo-element ---- */
.btn,
.highlight,
.amenity-media,
.dev-card,
.config-main-card,
.config-item,
.terracolly-box,
.loc-chips span {
  position: relative;
  overflow: hidden;
}

.btn::before,
.highlight::before,
.amenity-media::before,
.dev-card::before,
.config-main-card::before,
.config-item::before,
.terracolly-box::before,
.loc-chips span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  transform: translateX(-110%) skewX(-18deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: none;
}

/* Trigger sweep on hover */
.btn:hover::before,
.highlight:hover::before,
.amenity-media:hover::before,
.dev-card:hover::before,
.config-main-card:hover::before,
.config-item:hover::before,
.terracolly-box:hover::before,
.loc-chips span:hover::before {
  animation: shimmerSweep 0.65s var(--ease) both;
}

/* ---- Buttons (CTA green flash) ---- */
.btn-cta {
  transition: all 0.35s var(--ease);
}
.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-3px);
  animation: btnFlash 0.6s ease both;
  box-shadow: 0 14px 30px -10px rgba(58, 138, 72, 0.5);
}

/* Header Enquire button — slightly tighter */
.site-header .btn-cta:hover {
  transform: translateY(-2px);
}

/* ---- Highlight cards (project experience) ---- */
.highlight {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.highlight:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  animation: flashPulse 0.55s ease both;
  box-shadow: 0 20px 50px -20px rgba(47, 124, 196, 0.35);
}
/* Icon flash on card hover */
.highlight:hover .ic {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* ---- Amenity media images (experience section) ---- */
.amenity-media {
  transition: box-shadow 0.4s var(--ease);
}
.amenity-media:hover {
  animation: flashPulse 0.55s ease both;
  box-shadow: 0 24px 60px -20px rgba(47, 124, 196, 0.4);
}
.amenity-media:hover img {
  transform: scale(1.06);
}

/* ---- Developer cards ---- */
.dev-card {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.dev-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  animation: flashPulse 0.55s ease both;
  box-shadow: 0 20px 50px -18px rgba(47, 124, 196, 0.3);
}
.dev-card:hover .dev-tag {
  color: var(--accent-deep);
  transition: color 0.3s;
}

/* ---- Configuration main card ---- */
.config-main-card {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.config-main-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  animation: flashPulse 0.55s ease both;
  box-shadow: 0 28px 60px -20px rgba(47, 124, 196, 0.3);
}

/* ---- Config items (Type 1 / 2 / 3 rows) ---- */
.config-item {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  cursor: default;
}
.config-item:hover {
  transform: translateX(5px);
  border-color: var(--accent);
  background: var(--surface);
  animation: flashPulse 0.5s ease both;
}
.config-item:hover strong {
  color: var(--accent);
  transition: color 0.3s;
}

/* ---- Terracolly box ---- */
.terracolly-box {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.terracolly-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  animation: flashPulse 0.5s ease both;
}

/* ---- Location chips ---- */
.loc-chips span {
  cursor: default;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.loc-chips span:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  animation: chipFlash 0.55s ease both;
}

/* ---- Reduce motion: respect user preference ---- */
@media (prefers-reduced-motion: reduce) {
  .btn::before,
  .highlight::before,
  .amenity-media::before,
  .dev-card::before,
  .config-main-card::before,
  .config-item::before,
  .terracolly-box::before,
  .loc-chips span::before {
    display: none;
  }
  .btn:hover,
  .highlight:hover,
  .amenity-media:hover,
  .dev-card:hover,
  .config-main-card:hover,
  .config-item:hover,
  .terracolly-box:hover,
  .loc-chips span:hover {
    animation: none;
  }
}

/* ============================================================
 * FORM EXTRAS — optional tag, consent checkbox
 * ============================================================ */
.optional-tag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: italic;
  margin-left: 4px;
}

.consent-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  color: var(--muted) !important;
  line-height: 1.55;
}

.consent-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--bg);
  accent-color: var(--cta);
  cursor: pointer;
}

/* Field error state */
.contact-form input.field-error,
.popup-form input.field-error {
  border-color: #c84a4a !important;
  background: rgba(200, 74, 74, 0.05);
}

.consent-label.field-error span {
  color: #c84a4a !important;
}

/* ============================================================
 * POPUP MODAL
 * ============================================================ */
@keyframes popupBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popupCardIn {
  from { opacity: 0; transform: translateY(36px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popupBackdropOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes popupCardOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(24px) scale(0.97); }
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 16, 28, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
}

.popup-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  animation: popupBackdropIn 0.4s var(--ease) both;
}

.popup-overlay.is-closing {
  animation: popupBackdropOut 0.35s var(--ease) both;
  pointer-events: none;
}

.popup-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90svh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 40px 36px;
  box-shadow: 0 40px 100px -30px rgba(8, 16, 28, 0.55);
  scrollbar-width: none;
  transform: translateY(36px) scale(0.97);
}
.popup-card::-webkit-scrollbar { display: none; }

.popup-overlay.is-open .popup-card {
  animation: popupCardIn 0.45s var(--ease) 0.05s both;
}

.popup-overlay.is-closing .popup-card {
  animation: popupCardOut 0.3s var(--ease) both;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  z-index: 2;
}
.popup-close:hover {
  background: var(--card);
  transform: rotate(90deg) scale(1.08);
}

.popup-eyebrow {
  margin-bottom: 14px;
}

.popup-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 10px;
  line-height: 1.1;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
}
.popup-title em {
  font-style: italic;
}

.popup-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 24px;
  font-weight: 300;
}

.popup-form {
  margin-top: 0;
}

@media (max-width: 600px) {
  .popup-card {
    padding: 36px 22px 28px;
    border-radius: 22px;
  }
}

/* ============================================================
 * MOBILE CENTRE ALIGNMENT
 * Vision section, Master Plan content, Contact section copy
 * ============================================================ */
@media (max-width: 1023px) {

  /* ---- Vision / About section ---- */
  .about-grid > div:first-child {
    text-align: center;
  }
  .about-grid > div:first-child .eyebrow {
    justify-content: center;
  }
  .about-grid > div:first-child .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
  /* Centre the stats numbers block */
  .stats {
    margin-left: auto;
    margin-right: auto;
  }

  /* ---- Master Plan content (text side) ---- */
  .master-plan-content {
    text-align: center;
  }
  .master-plan-content .plan-label {
    display: block;
    text-align: center;
  }

  /* ---- Contact section copy (left column) ---- */
  .contact-grid > div:first-child {
    text-align: center;
  }
  .contact-grid > div:first-child .eyebrow {
    justify-content: center;
  }
  .contact-grid > div:first-child .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
}
/* ============================================================
 * INLINE FIELD ERROR MESSAGES
 * ============================================================ */
.inline-field-error {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #c84a4a;
  letter-spacing: 0.04em;
  animation: errorFadeIn 0.25s ease both;
}

@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-form input.field-error,
.popup-form input.field-error {
  border-color: #c84a4a !important;
  background: rgba(200, 74, 74, 0.04);
}

.consent-label.field-error span {
  color: #c84a4a !important;
}

/* ── Hero badge — "A Composition of Many Firsts." ── */
.hero-badge {
  background: #74b3e3 !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: whitesmoke !important;
  padding: 4px 18px 5px;
  border-radius: 999px;
  display: inline-block;
  margin-top: 6px;
}

/* ── Split phone field — country code prefix + number input ── */
.phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.25s;
}
.phone-field:focus-within {
  border-color: var(--accent);
}
/* When the inner input has a field-error, highlight the whole wrapper */
.phone-field:has(.field-error) {
  border-color: #c84a4a !important;
  background: rgba(200, 74, 74, 0.04);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--surface);
  color: var(--fg);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.phone-number-input {
  flex: 1;
  padding: 14px 16px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  /* Reset field-error border since wrapper handles it */
}
.phone-number-input.field-error {
  border: none !important;
  background: transparent !important;
}