/* ============================================================================
   DEEN DAYAL AFFORDABLE PLOTS
   Sector-30, Jhajjar | Deen Dayal Jan Awas Yojna

   White + Orange professional real-estate layout.
   Structure follows the client's reference design.

   CONTENTS
   VARIABLES / RESET / BASE / TYPOGRAPHY / BUTTONS
   TOPBAR / HEADER / HERO / APPROVAL / PROJECT OVERVIEW
   LOCATION BENEFITS / PROJECT PLAN / AMENITIES / PAYMENT PLAN
   PRICE STRIP / CONTACT / FOOTER / FLOATING CTA / LIGHTBOX / MODAL
   RESPONSIVE
   ========================================================================= */


/* ============================== VARIABLES ============================== */
:root {
  --orange:        #F15A24;
  --orange-dark:   #E84D13;
  --orange-light:  #FFF3EC;
  --green:         #198A3B;
  --green-dark:    #146B30;
  --green-light:   #EAF5EE;
  --black:         #222222;
  --gray-dark:     #444444;
  --gray:          #777777;
  --border:        #DDDDDD;
  --border-soft:   #EEEEEE;
  --bg:            #FFFFFF;
  --bg-tint:       #FAFAFA;

  --font: 'Poppins', 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;

  --container: 1240px;
  --pad: 20px;

  --radius:    6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow:    0 2px 10px rgba(0, 0, 0, .08);
  --shadow-md: 0 6px 22px rgba(0, 0, 0, .10);

  --header-h: 72px;
  --t: .2s ease;
}


/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* --sticky-h is measured by script.js (announcement bar + header). */
  scroll-padding-top: calc(var(--sticky-h, 106px) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }


/* ============================== TYPOGRAPHY ============================== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--black); }

/* Centered orange section heading with the small underline mark */
.heading-orange {
  position: relative;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 30px;
  padding-bottom: 14px;
}
.heading-orange::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 74px; height: 1px;
  background: var(--border);
}
.heading-orange::before {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 9px; height: 9px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

/* Left-aligned variant used inside panels */
.heading-orange--left {
  text-align: left;
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-size: 24px;
}
.heading-orange--left::after { left: 0; transform: none; width: 60px; height: 2px; background: var(--orange); }
.heading-orange--left::before { display: none; }

p + p { margin-top: 12px; }


/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
}

.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); }

.btn--orange-outline { background: #fff; color: var(--orange); border-color: var(--orange); }
.btn--orange-outline:hover { background: var(--orange); color: #fff; }

.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }

.btn--white { background: #fff; color: var(--orange); }
.btn--white:hover { background: var(--orange-light); }

.btn--xs { padding: 7px 14px; font-size: 12px; }
.btn--wide { padding: 12px 28px; }
.btn--block { width: 100%; }


/* ============================== STICKY TOP ============================== */
/* Announcement bar + header stick to the top together. Their combined
   height is measured by script.js into --sticky-h, which drives the
   anchor scroll offset. */
.site-top {
  position: sticky;
  top: 0;
  z-index: 500;
}

/* ============================== TOPBAR ============================== */
.topbar {
  background: var(--orange);
  color: #fff;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 5px;
}
/* Scrolling announcement */
.topbar__marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}
.topbar__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: topbarScroll var(--marquee-duration, 24s) linear infinite;
}
.topbar__msg {
  font-weight: 600;
  white-space: nowrap;
  padding-right: 64px;
}
.topbar__marquee:hover .topbar__track,
.topbar__marquee:focus-within .topbar__track { animation-play-state: paused; }

@keyframes topbarScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  white-space: nowrap;
}
.topbar__phone svg { width: 14px; height: 14px; fill: #fff; }
.topbar__phone a:hover { text-decoration: underline; }


/* ============================== HEADER ============================== */
.header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.header.is-stuck { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

/* Logo — single lockup image (icon + wordmark) */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo__img {
  height: 46px;
  width: auto;
  max-width: 100%;
}

/* Navigation */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: block;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: .2px;
  transition: color var(--t);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--t);
}
.nav__link:hover { color: var(--orange); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--orange); }

.nav__cta-mobile { display: none; }

.header__right { display: flex; align-items: center; gap: 12px; flex: none; }
.header__cta { padding: 10px 18px; font-size: 13px; }

/* Hamburger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform var(--t), opacity var(--t);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 490;
  opacity: 0;
  transition: opacity var(--t);
}
.nav-backdrop.is-visible { opacity: 1; }


/* ============================== HERO ============================== */
.hero { padding: 22px 0 0; }

.hero__layout {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) 165px;
  gap: 12px;
  align-items: stretch;
}

.hero__side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; min-width: 0; }

.landmark {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.landmark img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
}
.landmark figcaption {
  padding: 6px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--black);
  text-align: center;
  border-top: 1px solid var(--border-soft);
  line-height: 1.35;
}

.hero__main {
  border: 3px solid var(--green);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-light);
  min-width: 0;
  display: flex;
}
/* The image keeps its own proportions so nothing is cropped on any side.
   Its height drives the hero row, and the left/right landmark columns
   stretch to match it. max-height only guards against an unusually tall
   replacement image being dropped in later. */
.hero__main img {
  width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}


/* ============================== APPROVAL / TITLE ============================== */
.approval { padding: 20px 0 26px; }
.approval__inner { text-align: center; }

.rera-badge {
  display: inline-block;
  padding: 9px 26px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 14px;
}

.approval__pre { font-size: 15px; color: var(--gray-dark); }

.approval__title {
  font-size: 27px;
  font-weight: 700;
  color: var(--orange);
  margin: 4px 0 4px;
  line-height: 1.35;
}

.approval__sub { font-size: 16px; color: var(--gray-dark); margin-bottom: 16px; }


/* ============================== SECTIONS / PANELS ============================== */
.section { padding: 30px 0; }
.section--tint { background: var(--bg-tint); }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}


/* ============================== PROJECT OVERVIEW ============================== */
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.overview__text p { font-size: 14.5px; color: var(--gray-dark); }

.tick-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.tick-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.overview__doc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  text-align: center;
}
.overview__doc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.overview__doc img {
  width: 100%;
  cursor: zoom-in;
  transition: opacity var(--t);
}
.overview__doc img:hover { opacity: .9; }
.overview__doc-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray);
}


/* ============================== LOCATION BENEFITS ============================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
/* Remove the outer edges of the grid rules */
.benefit:nth-child(5n) { border-right: 0; }
.benefit:nth-last-child(-n+5) { border-bottom: 0; }

.benefit__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(241, 90, 36, .35);
  border-radius: 50%;
  background: var(--orange-light);
}
.benefit__icon svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit__body { display: flex; flex-direction: column; min-width: 0; }
.benefit__body strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
}
.benefit__body span { font-size: 13px; color: var(--gray); }


/* ============================== PROJECT PLAN + LOCATION ============================== */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.plan img { width: 100%; cursor: zoom-in; transition: opacity var(--t); }
.plan img:hover { opacity: .92; }

#location p { font-size: 14.5px; }


/* ============================== AMENITIES ============================== */
.amenities {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.amenity {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 10px 10px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.amenity:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.amenity__media { position: relative; margin-bottom: 26px; }
.amenity__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.amenity__icon {
  position: absolute;
  left: 50%; bottom: -20px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}
.amenity__icon svg {
  width: 19px; height: 19px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.45;
  padding-inline: 4px;
}


/* ============================== PAYMENT PLAN ============================== */
.note {
  font-size: 14px;
  color: var(--black);
  margin-bottom: 14px;
}
.note strong { color: var(--black); font-weight: 600; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.pay-table { min-width: 1080px; }

.pay-table thead th {
  background: var(--orange);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, .3);
  vertical-align: middle;
}
.pay-table thead th:last-child { border-right: 0; }

.pay-table tbody td {
  font-size: 14px;
  color: var(--black);
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
  vertical-align: middle;
}
.pay-table tbody td:last-child { border-right: 0; }
.pay-table tbody tr:hover td { background: var(--orange-light); }

.pay-table__total { font-weight: 700; color: var(--orange); }

.pay-limit {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.pay-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-top: 8px;
}
.pay-terms li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--gray-dark);
}
.pay-terms li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gray-dark);
}


/* ============================== PRICE STRIP ============================== */
.price-strip {
  background: var(--orange-light);
  border-top: 1px solid rgba(241, 90, 36, .25);
  border-bottom: 1px solid rgba(241, 90, 36, .25);
  padding: 18px 0;
}
.price-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}
.price-strip__item { display: flex; flex-direction: column; text-align: center; }
.price-strip__item--mid {
  padding-inline: 34px;
  border-left: 1px solid rgba(241, 90, 36, .3);
  border-right: 1px solid rgba(241, 90, 36, .3);
}
.price-strip__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}
.price-strip__value { font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1.2; }
.price-strip__sub { font-size: 16px; font-weight: 600; color: var(--black); }


/* ============================== CONTACT ============================== */
.contact__brand {
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; }

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 5px;
}
.req { color: var(--orange); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  color: var(--black);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #A5A5A5; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, .12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.err {
  font-size: 12px;
  color: var(--orange-dark);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t), opacity var(--t), margin-top var(--t);
}
.field.has-error .err { max-height: 40px; opacity: 1; margin-top: 5px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--orange); background: var(--orange-light); }

.form__privacy { font-size: 12px; color: var(--gray); margin-top: 10px; }

.form__status {
  margin-top: 12px;
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: var(--radius);
  font-size: 14px;
  transition: max-height var(--t), padding var(--t), opacity var(--t);
}
.form__status.is-visible { max-height: 200px; padding: 12px 14px; opacity: 1; }
.form__status.is-success { background: var(--green-light); border: 1px solid var(--green); color: var(--green-dark); }
.form__status.is-error   { background: var(--orange-light); border: 1px solid var(--orange); color: var(--orange-dark); }
.form__status strong { display: block; margin-bottom: 2px; }

/* Contact info column */
.contact__info { display: grid; gap: 18px; }
.contact__block { display: flex; gap: 12px; align-items: flex-start; }
.contact__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange-light);
  border: 1px solid rgba(241, 90, 36, .3);
}
.contact__ico svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__block h3 { font-size: 14px; font-weight: 600; color: var(--black); }
.contact__block p { font-size: 14px; color: var(--gray-dark); word-break: break-word; }
.contact__block a:hover { color: var(--orange); }


/* ============================== FOOTER ============================== */
.footer { background: var(--orange); color: #fff; margin-top: 30px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr;
  gap: 30px;
  padding-block: 34px 28px;
}

.footer__brand { display: flex; flex-direction: column; line-height: 1.15; margin-bottom: 10px; }
.footer__brand strong { font-size: 22px; font-weight: 700; }
.footer__brand em { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .7px; }

.footer__scheme { font-size: 14px; font-weight: 600; }
.footer__rera { font-size: 12.5px; margin-top: 8px; opacity: .9; }

.footer__title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.footer__links { display: grid; gap: 7px; font-size: 14px; }
.footer__links a { transition: opacity var(--t), transform var(--t); display: inline-block; word-break: break-word; }
.footer__links a:hover { opacity: .75; transform: translateX(3px); }

.footer__addr { font-size: 14px; margin-bottom: 14px; }

.footer__bottom {
  background: var(--orange-dark);
  padding: 14px 0 16px;
  text-align: center;
}
.footer__legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 14px; font-weight: 600; }
.footer__legal a:hover { text-decoration: underline; }
.footer__copy { font-size: 13px; margin-top: 6px; }
.footer__disclaimer { font-size: 11.5px; margin-top: 6px; opacity: .85; max-width: 900px; margin-inline: auto; }


/* ============================== FLOATING CTA ============================== */
.float-cta {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 30px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), filter var(--t);
}
.float-cta__btn svg { width: 16px; height: 16px; fill: #fff; flex: none; }
.float-cta__btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.float-cta__btn--call { background: var(--orange); }
.float-cta__btn--wa { background: #25D366; }

.to-top {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 400;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--black);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background-color var(--t);
}
.to-top svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange); }


/* ============================== LIGHTBOX ============================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 56px 20px;
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  transition: opacity var(--t);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.lightbox__fig img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
}
.lightbox__fig figcaption { color: #fff; font-size: 13px; text-align: center; }

.lightbox__close {
  position: absolute;
  top: 14px; right: 18px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  transition: background-color var(--t);
}
.lightbox__close:hover { background: var(--orange); }


/* ============================== POLICY MODAL ============================== */
.modal {
  position: fixed; inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity var(--t);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }

.modal__box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-md);
}
.modal__title { font-size: 20px; color: var(--orange); margin-bottom: 14px; padding-right: 34px; }
.modal__body { font-size: 14px; color: var(--gray-dark); }
.modal__body p + p { margin-top: 10px; }
.modal__close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}
.modal__close:hover { background: var(--orange); color: #fff; }


/* ============================================================================
   RESPONSIVE
   ========================================================================= */

/* ---------- 1280px ---------- */
@media (max-width: 1280px) {
  .nav__link { padding: 8px 8px; font-size: 12.5px; }
  .hero__layout { grid-template-columns: 150px minmax(0, 1fr) 150px; }
}

/* ---------- 1100px : nav collapses to hamburger ---------- */
@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 495;
    width: min(300px, 84vw);
    height: 100dvh;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px 22px;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 40px; }
  .nav__link { padding: 12px 12px; font-size: 14px; border-bottom: 1px solid var(--border-soft); }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--orange-light); }

  .nav__cta-mobile { display: inline-flex; width: 100%; }
  .header__cta { display: none; }
  .burger { display: block; }

  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit:nth-child(5n) { border-right: 1px solid var(--border-soft); }
  .benefit:nth-child(3n) { border-right: 0; }
  .benefit:nth-last-child(-n+5) { border-bottom: 1px solid var(--border-soft); }
  .benefit:nth-last-child(-n+1) { border-bottom: 0; }

  .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
  .overview { grid-template-columns: 1fr; gap: 24px; }
  .overview__doc { max-width: 460px; margin-inline: auto; }

  .hero__layout { grid-template-columns: 135px minmax(0, 1fr) 135px; gap: 10px; }

  .approval__title { font-size: 24px; }
}

/* ---------- 900px : hero cards move below the image ---------- */
@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "main main main"
      "l    l    l"
      "r    r    r";
    gap: 10px;
  }
  .hero__main { grid-area: main; }
  .hero__side--left  { grid-area: l; }
  .hero__side--right { grid-area: r; }
  .hero__side {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .landmark img { aspect-ratio: 4 / 3; flex: none; }
  .hero__main img { max-height: none; }

  .two-col { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- 768px : tablet ---------- */
@media (max-width: 768px) {
  body { font-size: 14.5px; }

  .topbar { font-size: 12px; }
  .topbar__inner { flex-direction: column; align-items: center; gap: 2px; text-align: center; padding-block: 6px; }
  .topbar__marquee { width: 100%; flex: none; }

  .heading-orange { font-size: 22px; }
  .heading-orange--left { font-size: 20px; }

  .section { padding: 24px 0; }
  .panel { padding: 18px; }

  .approval__title { font-size: 21px; }
  .rera-badge { font-size: 13px; padding: 8px 16px; }

  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit:nth-child(3n) { border-right: 1px solid var(--border-soft); }
  .benefit:nth-child(2n) { border-right: 0; }
  .benefit:nth-last-child(-n+2) { border-bottom: 0; }

  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .tick-list { grid-template-columns: 1fr; }

  .price-strip__inner { gap: 18px; }
  .price-strip__item--mid { padding-inline: 18px; }

  .footer__grid { padding-block: 26px 22px; gap: 24px; }
}

/* ---------- 600px : mobile ---------- */
@media (max-width: 600px) {
  :root { --pad: 14px; --header-h: 62px; }

  .logo__img { height: 38px; }

  .hero { padding-top: 14px; }
  .hero__layout {
    grid-template-areas: "main" "l" "r";
    grid-template-columns: 1fr;
  }
  .hero__main { border-width: 2px; }
  .landmark figcaption { font-size: 10.5px; padding: 5px 4px; }

  .approval { padding: 16px 0 20px; }
  .approval__title { font-size: 18px; }
  .approval__sub { font-size: 14px; }

  .price-strip__inner { flex-direction: column; gap: 14px; }
  .price-strip__item--mid {
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid rgba(241, 90, 36, .3);
    width: 100%;
  }
  .price-strip__value { font-size: 24px; }

  .form__row { grid-template-columns: 1fr; gap: 0; }

  .pay-limit { font-size: 15px; }
  .pay-terms { gap: 4px 24px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { gap: 8px; font-size: 13px; }

  /* Floating CTA becomes a two-up bar so it never covers content */
  .float-cta {
    left: 12px; right: 12px; bottom: 12px;
    flex-direction: row;
  }
  .float-cta__btn { flex: 1; justify-content: center; height: 46px; }
  .to-top { left: auto; right: 12px; bottom: 68px; }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
  .hero__side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenity h3 { font-size: 12px; }
  .heading-orange { font-size: 20px; }
  .approval__title { font-size: 17px; }
  .contact__brand { font-size: 16px; }
}

/* ---------- 390px / 375px / 360px ---------- */
@media (max-width: 400px) {
  :root { --pad: 12px; }
  .logo__img { height: 31px; }
  .burger { width: 38px; height: 38px; }

  .rera-badge { font-size: 12px; padding: 7px 12px; }
  .approval__title { font-size: 16px; }

  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: 0 !important; }
  .benefit:not(:last-child) { border-bottom: 1px solid var(--border-soft); }

  .amenities { grid-template-columns: 1fr; }
  .amenity__media img { aspect-ratio: 16 / 9; }

  .float-cta__btn { font-size: 12.5px; padding: 0 10px; gap: 6px; }
  .float-cta__btn svg { width: 17px; height: 17px; }
}


/* ============================== MOTION / PRINT ============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  /* Stop the announcement mid-scroll rather than snapping it out of view */
  .topbar__track { animation: none !important; transform: none !important; }
}

@media print {
  .topbar, .header, .float-cta, .to-top, .lightbox, .modal { display: none !important; }
  body { color: #000; }
  .panel { border-color: #999; box-shadow: none; }
}
