/* =====================================================================
   CS Promoters & Builders — style.css
   Design tokens, base reset, typography helpers, section layouts.
   Values translated 1:1 from the original Tailwind v4 build.
   ===================================================================== */

:root {
  --color-ink: #0c1a12;
  --color-ink2: #14261c;
  --color-ink3: #1e3a2a;
  --color-leaf: #2f6b3a;
  --color-leaf-deep: #1f4d2a;
  --color-leaf-bright: #4caf50;
  --color-moss: #6b8f3c;
  --color-sage: #a8c686;
  --color-gold: #d4a017;
  --color-gold-deep: #b8860b;
  --color-gold-light: #f0d078;
  --color-earth: #8b5a2b;
  --color-terracotta: #c45c26;
  --color-sky: #7eb8da;
  --color-cream: #f4f1e4;
  --color-paper: #faf8f0;
  --color-line: #d9e5c8;
  --color-ivory: #f7f4e8;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-tamil: "Noto Serif Tamil", serif;

  --container: 1320px;
}

/* ------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-paper);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 100%; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--color-leaf); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #e8f0dc; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4caf50, #2f6b3a);
  border-radius: 999px;
  border: 2px solid #e8f0dc;
}

/* --------------------------- Typography ---------------------------- */
.font-display { font-family: var(--font-display); font-optical-sizing: auto; }
.font-tamil { font-family: var(--font-tamil); }

.text-gold { color: var(--color-gold); }
.text-gold-light { color: var(--color-gold-light); }

.page { background: var(--color-paper); font-family: var(--font-body); color: var(--color-ink); }

/* ------------------------- Grain + veils --------------------------- */
.paper-grain {
  background-image:
    radial-gradient(rgba(47, 107, 58, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(212, 160, 23, 0.04) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
  background-position: 0 0, 12px 12px;
}

.veil { position: absolute; inset: 0; }
.veil-dark {
  background:
    linear-gradient(180deg, rgba(12, 26, 18, 0.42) 0%, rgba(12, 26, 18, 0.18) 38%, rgba(12, 26, 18, 0.76) 100%),
    radial-gradient(110% 80% at 85% 15%, rgba(47, 107, 58, 0.24), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(196, 92, 38, 0.22), transparent 50%);
}
.veil-soft { background: linear-gradient(180deg, rgba(12, 26, 18, 0.24), rgba(12, 26, 18, 0.62)); }
.veil-nature {
  background:
    linear-gradient(180deg, rgba(12, 26, 18, 0.5) 0%, rgba(20, 45, 28, 0.35) 45%, rgba(12, 26, 18, 0.8) 100%),
    radial-gradient(100% 80% at 70% 20%, rgba(212, 160, 23, 0.2), transparent 55%);
}

.frame-nature {
  box-shadow: 0 0 0 1px rgba(107, 143, 60, 0.35), 0 30px 60px -30px rgba(12, 26, 18, 0.5);
}
.hero-title-shadow { text-shadow: 0 8px 26px rgba(0,0,0,.34), 0 2px 10px rgba(0,0,0,.18); }
.hero-copy-shadow { text-shadow: 0 4px 18px rgba(0,0,0,.28); }
.luxury-glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.45);
}

/* =====================================================================
   HEADER / NAVBAR
   ===================================================================== */
.header {
  position: relative;
  z-index: 40;
  background: linear-gradient(180deg, rgba(250,248,240,.98), rgba(243,238,224,.98));
  box-shadow: 0 10px 34px -24px rgba(12,26,18,.28);
}
.topbar {
  border-bottom: 1px solid rgba(212,160,23,.2);
  background: linear-gradient(90deg, rgba(31,77,42,.95), rgba(77,96,78,.88), rgba(31,77,42,.95));
}
.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .5rem 1rem;
  text-align: center;
}
.topbar__rule { display: none; height: 1px; width: 2.5rem; }
.topbar__rule--gold { background: rgba(240,208,120,.45); }
.topbar__rule--sage { background: rgba(168,198,134,.45); }
.topbar__kural { font-size: .8rem; line-height: 1.625; color: rgba(247,244,232,.95); }

.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav__links { display: none; align-items: center; gap: 2rem; }
.nav__toggle { border-radius: .375rem; padding: .5rem; color: var(--color-ink); }
.nav__mobile {
  border-top: 1px solid var(--color-line);
  background: linear-gradient(180deg, rgba(250,248,240,.98), rgba(231,239,219,.96));
  padding: 1rem 1.5rem;
}
.nav__mobile-inner { display: flex; flex-direction: column; gap: .75rem; }
.nav__mobile-link { padding: .25rem 0; font-weight: 700; color: var(--color-ink2); }
.nav__mobile-cta {
  margin-top: .5rem;
  border-radius: 9999px;
  background: var(--color-leaf);
  padding: .75rem 1.25rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; overflow: hidden; }
.hero__inner {
  position: relative;
  margin: 0 auto;
  max-width: var(--container);
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 1.5rem 6rem;
}
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hero__title {
  margin-top: 1.5rem;
  max-width: 64rem;
  font-size: clamp(2.6rem, 6.2vw, 5.9rem);
  font-weight: 600;
  line-height: .95;
  color: var(--color-ivory);
}
.hero__title-em { font-style: italic; }
.hero__copy {
  margin-top: 1.75rem;
  max-width: 48rem;
  font-size: 1.08rem;
  line-height: 1.625;
  color: rgba(247,244,232,.92);
}
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero__play { display: inline-flex; align-items: center; gap: .75rem; color: var(--color-ivory); }
.hero__play-ring {
  position: relative;
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(240,208,120,.6);
}
.hero__play-label { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.hero__search {
  margin-top: 3rem;
  max-width: 56rem;
  border-radius: 1rem;
  border: 1px solid rgba(240,208,120,.25);
  background: rgba(12,26,18,.55);
  padding: .75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero__search-grid { display: grid; gap: .5rem; }
.hero__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: .75rem;
  background: var(--color-leaf);
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: #fff;
}
.hero__search-btn:hover { background: var(--color-leaf-deep); }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(107,143,60,.3);
  border-bottom: 1px solid rgba(107,143,60,.3);
  background: var(--color-ink);
  padding: 1.25rem 0;
}
.marquee__track { display: flex; width: max-content; gap: 2.5rem; white-space: nowrap; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(244,241,228,.9);
}
.marquee__star { color: var(--color-gold); }

/* =====================================================================
   EYEBROW (shared section label)
   ===================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: var(--color-leaf);
}
.eyebrow__line { height: 1px; width: 2rem; background: var(--color-leaf); }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { position: relative; overflow: hidden; background-color: var(--color-ink); padding: 7rem 0; color: var(--color-ivory); }
.about__bg { pointer-events: none; position: absolute; inset: 0; opacity: .18; }
.about__bg-video { height: 100%; width: 100%; object-fit: cover; }
.about__bg-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,26,18,.84), rgba(12,26,18,.9)); }
.about__inner {
  position: relative;
  margin: 0 auto;
  max-width: var(--container);
  display: grid;
  gap: 4rem;
  padding: 0 1.5rem;
}
.about__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.about__img { height: 14rem; width: 100%; border-radius: 1rem; object-fit: cover; }
.about__img--wide { grid-column: span 2; height: 18rem; }
.about__video { position: relative; height: 14rem; overflow: hidden; border-radius: 1rem; }
.about__video-el { height: 100%; width: 100%; object-fit: cover; }
.about__video-caption { position: absolute; bottom: .75rem; left: .75rem; color: var(--color-ivory); }
.about__video-title { font-size: 1.5rem; }
.about__video-sub { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-gold-light); }
.about__title { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.05; color: #fff; }
.about__title-em { font-style: italic; color: var(--color-gold-light); }
.about__p { line-height: 1.625; font-size: 1.02rem; }
.about__p--1 { margin-top: 1.5rem; color: rgba(255,255,255,.85); }
.about__p--2 { margin-top: 1rem; color: rgba(255,255,255,.78); }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { position: relative; overflow: hidden; padding: 5rem 0; }
.stats__inner { position: relative; margin: 0 auto; max-width: var(--container); padding: 0 1.5rem; }
.stats__head { margin-bottom: 3rem; max-width: 42rem; }
.stats__title { margin-top: 1rem; font-size: 1.875rem; font-weight: 600; color: var(--color-ivory); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(240,208,120,.2);
  background: rgba(240,208,120,.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.stat { height: 100%; background: rgba(12,26,18,.55); padding: 2rem 1.5rem; text-align: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.stat__value { font-size: 2.25rem; font-weight: 600; }
.stat__label { margin-top: .5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .25em; color: rgba(247,244,232,.75); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { position: relative; overflow: hidden; background: var(--color-cream); padding: 7rem 0; }
.services__bg { pointer-events: none; position: absolute; inset: 0; opacity: .1; }
.services__bg-video { height: 100%; width: 100%; object-fit: cover; }
.services__inner { position: relative; margin: 0 auto; max-width: var(--container); padding: 0 1.5rem; }
.services__head { max-width: 42rem; }
.services__title { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: 1.05; color: var(--color-ink); }
.services__grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }

/* =====================================================================
   PROPERTIES
   ===================================================================== */
.properties { position: relative; overflow: hidden; background-color: var(--color-ink2); padding: 7rem 0; color: var(--color-ivory); }
.properties__bg { pointer-events: none; position: absolute; inset: 0; opacity: .16; }
.properties__bg-video { height: 100%; width: 100%; object-fit: cover; }
.properties__bg-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,28,.88), rgba(20,38,28,.94)); }
.properties__inner { position: relative; margin: 0 auto; max-width: var(--container); padding: 0 1.5rem; }
.properties__head { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.properties__head-text { max-width: 42rem; }
.properties__title { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: 1.05; color: #fff; }
.properties__filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.properties__grid { margin-top: 3.5rem; display: grid; gap: 2rem; }

/* =====================================================================
   LOCATIONS
   ===================================================================== */
.locations { position: relative; overflow: hidden; background: var(--color-ink); padding: 7rem 0; color: var(--color-ivory); }
.locations__bg { pointer-events: none; position: absolute; inset: 0; opacity: .25; }
.locations__bg-video { height: 100%; width: 100%; object-fit: cover; }
.locations__bg-veil { position: absolute; inset: 0; background: rgba(12,26,18,.75); }
.locations__inner { position: relative; margin: 0 auto; max-width: var(--container); padding: 0 1.5rem; }
.locations__head { max-width: 48rem; }
.locations__title { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: 1.05; color: #fff; }
.locations__grid { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { position: relative; overflow: hidden; background: var(--color-cream); padding: 7rem 0; }
.testimonials__bg { pointer-events: none; position: absolute; inset: 0; opacity: .1; }
.testimonials__bg-video { height: 100%; width: 100%; object-fit: cover; }
.testimonials__inner { position: relative; margin: 0 auto; max-width: var(--container); padding: 0 1.5rem; }
.testimonials__head { max-width: 42rem; }
.testimonials__title { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: 1.05; color: var(--color-ink); }
.testimonials__grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { position: relative; overflow: hidden; padding: 7rem 0; }
.contact__inner { position: relative; margin: 0 auto; max-width: var(--container); display: grid; gap: 3rem; padding: 0 1.5rem; }
.contact__intro { display: flex; flex-direction: column; justify-content: center; }
.contact__title { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: 1.05; color: var(--color-ivory); }
.contact__lead { margin-top: 1.25rem; max-width: 32rem; color: rgba(247,244,232,.85); }
.contact__cards { margin-top: 2rem; display: grid; gap: 1rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { position: relative; overflow: hidden; background: var(--color-ink); color: rgba(247,244,232,.8); }
.footer__bg { pointer-events: none; position: absolute; inset: 0; opacity: .15; }
.footer__bg-video { height: 100%; width: 100%; object-fit: cover; }
.footer__bg-veil { position: absolute; inset: 0; background: rgba(12,26,18,.85); }
.footer__inner { position: relative; margin: 0 auto; max-width: var(--container); padding: 4rem 1.5rem; }
.footer__grid { display: grid; gap: 3rem; }
.footer__about { margin-top: 1.25rem; max-width: 24rem; font-size: .875rem; line-height: 1.625; color: rgba(247,244,232,.7); }
.footer__heading { font-size: 1.125rem; color: var(--color-gold-light); }
.footer__links { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.footer__links a { transition: color .2s ease; }
.footer__links a:hover { color: var(--color-gold-light); }
.footer__connect { margin-top: 1rem; display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.footer__connect-link { transition: color .2s ease; }
.footer__connect-link:hover { color: var(--color-gold-light); }
.footer__social { display: flex; gap: .75rem; padding-top: .5rem; }
.footer__bottom { margin-top: 3rem; border-top: 1px solid rgba(212,160,23,.2); padding-top: 1.5rem; font-size: .75rem; color: rgba(247,244,232,.55); }
