/* Apna Ghar — Multi-Project Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --primary-color: #1a365d;
  --secondary-color: #c9a227;
  --accent-color: #e8b86d;
  --hero-overlay: rgba(10, 22, 40, 0.62);
  --heading-color: #0f172a;
  --text-color: #334155;
  --text-muted: #64748b;
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --card-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --premium-gradient: linear-gradient(135deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 55%, var(--secondary-color)) 100%);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'Helvetica', serif;
  --font-body: 'Helvetica', sans-serif;
  --font-accent: 'Helvetica', serif;
  --header-height: 72px;
  --section-pad: clamp(3rem, 6vw, 5.5rem);
  --container: min(1180px, 92vw);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --hero-min-height: 88vh;
  --cta-gradient: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 70%, var(--secondary-color)));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.65;
}
/* overflow-x on body breaks position:sticky — landing pages opt out via .page-sticky-rail */
body:not(.page-sticky-rail) {
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #e2e8f0; }
.section--dark .section-title { color: #fff; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  max-width: 79%;
    padding: 0 30px;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-color);
}
.site-header.is-scrolled .nav-link { color: var(--heading-color); }
.site-header--transparent:not(.is-scrolled) { background: transparent; }
.site-header--transparent:not(.is-scrolled) .nav-link,
.site-header--transparent:not(.is-scrolled) .brand-text,
.site-header--transparent:not(.is-scrolled) .menu-toggle { color: #fff; }
.site-header.is-scrolled .brand-text { color: var(--heading-color); }
.site-header.is-scrolled .menu-toggle { color: var(--heading-color); }
.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading-color);
}
.nav-desktop { display: flex; gap: 1.75rem; align-items: center; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--secondary-color); }
.nav-cta {
  background: var(--secondary-color);
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: var(--transition);
}
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a { color: #fff; font-size: 1.25rem; font-weight: 500; }

/* Hero */
.hero {
  position: relative;
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1.06); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgb(20 28 40 / 80%) 0%, 
  color-mix(in srgb, rgb(20 28 40 / 80%) 85%, #000000) 55%, rgb(0 0 0 / 70%) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-height) + 1.5rem) 2.5rem;
}
.hero--lead { min-height: min(100vh, 920px); }
.hero--lead.hero--fullscreen { min-height: 100vh; }
.hero--lead.hero--minimal { min-height: 78vh; }
.hero--lead.hero--diagonal .hero__overlay {
  background: linear-gradient(135deg, var(--hero-overlay) 52%, transparent 52%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45));
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.hero__main { max-width: 100%; }
.hero__project-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1rem;
}
.hero__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  display: none;
}
.hero__price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.hero__price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent-color);
}
.hero__config {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.hero__highlights {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: none;
}
.hero__highlights li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.hero__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-color);
}
.hero-form {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: var(--card-shadow-lg);
  color: #fff;
  display: none;
}

/* Unified hero info panel (white box in hero banner) */
.hero-info-panel {
  display: block;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  color: var(--primary-color, #0f2747);
  align-self: start;
}
.hero-info-panel .ag-hero-card{
      display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ag-hero-card .hero-onwards{
  font-size: 24px;
    font-weight: 700;
    color: #000;
}
.hero-info-panel__callback {
  margin-bottom: 0.85rem;
}

.hero-info-panel__badge {
  display: inline-block;
  background: var(--secondary-color, #c9a227);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.hero-info-panel__rera {
      display: block;
    font-size: 20px;
    color: #333;
    margin-top: 5px;
}

.hero-info-panel__features {
      background: #0f2747;
    border: 3px dashed rgba(255, 255, 255, .6);
    padding: 18px;
    margin-bottom: 25px;
}

.hero-info-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-info-panel__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.hero-info-panel__list li:last-child {
  margin-bottom: 0;
}

.hero-info-panel__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color, #c9a227);
  font-weight: 700;
}

.hero-info-panel__lead {
  margin: 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.hero-info-panel__price {
  margin: 10px 0;
    font-size: 35px;
    font-weight: 800;
    color: #0b3655;
    line-height: 1;
}

.hero-info-panel__price span {
  font-size: 0.95rem;
  vertical-align: super;
}

.hero-info-panel__onwards {
      font-size: 24px;
    font-weight: 700;
    color: #000;
}

.hero-info-panel .btn--primary.btn--block:last-child {
  margin-bottom: 0;
}
.hero-info-panel .btn--primary{
  display: block;
    width: 100%;
    text-align: center;
     
    text-decoration: none;
    padding: 7px 15px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    transition: .3s;
    cursor: pointer;
}
.hero-form__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.35rem;
}
.hero-form__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.25rem;
  color: #fff;
}
.hero-form__subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.hero-form .form-group label { color: rgba(255,255,255,0.92); }
.hero-form input,
.hero-form select {
  background: rgba(255,255,255,0.95);
  border: 1px solid transparent;
  color: var(--heading-color);
}
.hero-form input:focus,
.hero-form select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color) 25%, transparent);
}
.hero-form__note {
  font-size: 0.72rem;
  text-align: center;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}
.btn--block { width: 100%; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.82rem; }
/* Legacy variant modifiers (overlay / height only — layout handled by .hero--lead) */
.hero--fullscreen:not(.hero--lead) { min-height: 100vh; }
.hero--minimal:not(.hero--lead) { min-height: 70vh; }
.hero--minimal:not(.hero--lead) .hero__overlay { background: linear-gradient(180deg, var(--hero-overlay), transparent 80%); }
.hero__badge {
  display: inline-block;
  background: var(--secondary-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.25rem 0 1.5rem;

}
.hero__stat { text-align: center;
border-radius: 5px;
background-color: #fff;
    padding: 5px;
    width: 130px;
  
  }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent-color);
  display: block;
  font-weight: 700;
}
.hero__stat-label { font-size: 0.8rem;font-weight: 600; color: rgba(6, 1, 1, 0.75); letter-spacing: 0.06em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem;display: none; }
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  /* padding: 0.85rem 1.75rem; */
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn--primary { background: var(--secondary-color); color: #fff; }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--outline { border-color: #b8860b; color: #b8860b; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--primary-color); }
.btn--dark { background: var(--primary-color); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--primary-color); color: var(--primary-color); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-lg);
  border-color: var(--secondary-color);
}
.pricing-card--featured { border-color: var(--secondary-color); background: linear-gradient(180deg, color-mix(in srgb, var(--secondary-color) 8%, #fff), #fff); }
.pricing-card--featured::before {
  content: 'Popular';
  position: absolute;
  top: 1rem; right: -2rem;
  background: var(--secondary-color);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}
.pricing-card__type { font-family: var(--font-display); font-size: 1.35rem; color: var(--heading-color); margin-bottom: 0.25rem; }
.pricing-card__area { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.pricing-card__price { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 1rem; }
.pricing-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.pricing-table th { background: var(--primary-color); color: #fff; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-table tr:hover td { background: var(--bg-alt); }
.pricing-row-cards { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.pricing-row-cards .pricing-card { min-width: 280px; scroll-snap-align: start; flex-shrink: 0; }

/* Floor plans */
.floorplan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.floorplan-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.floorplan-card:hover {
  box-shadow: var(--card-shadow-lg);
  transform: translateY(-4px);
}
.floorplan-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--bg-alt);
  padding: 0.75rem;
  transition: transform 0.4s ease;
}
.floorplan-card:hover img { transform: scale(1.02); }
.floorplan-card__body { padding: 1.25rem; }
.floorplan-card__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--heading-color); }
.floorplan-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }
.floorplan-tab {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}
.floorplan-tab.is-active, .floorplan-tab:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.floorplan-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.floorplan-showcase img { border-radius: var(--radius-md); border: 1px solid var(--border-color); }

/* Amenities */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.amenity-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.amenity-item:hover {
  border-color: var(--secondary-color);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.amenity-item img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 0.75rem; border-radius: var(--radius-sm); }
.amenity-item__icon {
  width: 48px; height: 48px;
  margin: 0 auto 0.75rem;
  background: color-mix(in srgb, var(--primary-color) 10%, transparent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.amenity-item__name { font-size: 0.82rem; font-weight: 600; color: var(--heading-color); }
.amenities-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.amenities-list li {
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.amenities-list li::before { content: '✓'; color: var(--secondary-color); font-weight: 700; }

/* Gallery */
.gallery-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.gallery-slider__track { display: flex; transition: transform 0.5s ease; }
.gallery-slider__slide { min-width: 100%; }
.gallery-slider__slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gallery-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: var(--card-shadow);
}
.gallery-slider__nav--prev { left: 1rem; }
.gallery-slider__nav--next { right: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.gallery-grid__item { overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.gallery-grid__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.gallery-grid__item:hover img { transform: scale(1.05); }
.gallery-grid__item--large { grid-column: span 2; grid-row: span 2; }
.gallery-masonry { columns: 3; column-gap: 0.75rem; }
.gallery-masonry__item { break-inside: avoid; margin-bottom: 0.75rem; border-radius: var(--radius-md); overflow: hidden; }
.gallery-masonry__item img { width: 100%; }
.gallery-carousel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.gallery-carousel__item { min-width: min(85%, 520px); scroll-snap-align: center; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.gallery-carousel__item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.location-list { display: flex; flex-direction: column; gap: 1.5rem; }
.location-group__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
}
.location-group ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  display: flex; justify-content: space-between; gap: 1rem;
}
.location-group ul li span:last-child { color: var(--text-muted); white-space: nowrap; }
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 360px;
  background: var(--bg-alt);
}
.location-map iframe { width: 100%; height: 360px; border: 0; }
.location-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.location-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-alt);
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
}

/* Highlights */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(198px, 1fr)); gap: 1.25rem; }
.highlight-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--secondary-color);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}
.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-lg);
}
.highlight-card__title { font-weight: 700; color: var(--heading-color); margin-bottom: 0.35rem; }
.highlight-card__text { font-size: 0.9rem; color: var(--text-muted); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--heading-color); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--secondary-color); }
.form-group input.is-invalid { border-color: #ef4444; }
.form-error { font-size: 0.78rem; color: #ef4444; display: none; }
.form-group.has-error .form-error { display: block; }
.form--inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.form--dark input, .form--dark select, .form--dark textarea { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }
.form--dark label { color: rgba(255,255,255,0.9); }

/* Accordion / FAQ */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin-inline: auto; }
.accordion-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.accordion-trigger {
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: var(--card-bg);
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--heading-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.accordion-trigger::after { content: '+'; font-size: 1.25rem; color: var(--secondary-color); transition: transform var(--transition); }
.accordion-item.is-open .accordion-trigger::after { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-content__inner { padding: 0 1.5rem 1.15rem; color: var(--text-muted); font-size: 0.95rem; }
.accordion-item.is-open .accordion-content { max-height: 400px; }

/* Testimonials */
.testimonial-slider { position: relative; max-width: 800px; margin-inline: auto; }
.testimonial-slider__track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide {
  min-width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}
.testimonial-slide__quote {
  font-family: var(--font-accent);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--heading-color);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.testimonial-slide__author { font-weight: 700; color: var(--primary-color); }
.testimonial-slide__role { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  padding: 0;
}
.testimonial-dot.is-active { background: var(--secondary-color); width: 24px; border-radius: 4px; }

/* Counter stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: var(--premium-gradient);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--card-shadow-lg);
}
.stat-item { text-align: center; }
.stat-item__value { font-family: var(--font-display); font-size: 2rem; color: var(--accent-color); }
.stat-item__label { font-size: 0.8rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.05em; }

/* Cards */
.card { background: var(--card-bg); border-radius: var(--radius-md); border: 1px solid var(--border-color); overflow: hidden; }
.card--elevated { box-shadow: var(--card-shadow); border: none; }
.card--bordered { border-width: 2px; }
.card__body { padding: 1.5rem; }
.card__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--heading-color); margin-bottom: 0.5rem; }

/* Developer / About */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.25rem; color: #fff; margin-bottom: 0.75rem; }
.footer-links a { display: block; padding: 0.35rem 0; font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.rera-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  margin-top: 0.75rem;
}

/* WhatsApp & Back to top */
.whatsapp-cta {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}
.whatsapp-cta:hover { transform: scale(1.08); }
.whatsapp-cta svg { width: 28px; height: 28px; fill: #fff; }
.back-to-top {
  position: fixed;
  bottom: 4rem;
  right: 1.25rem;
  z-index: 900;
  width: 44px; height: 44px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  font-size: 1.1rem;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* Exit popup */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.exit-popup.is-open { opacity: 1; visibility: visible; }
.exit-popup__dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.exit-popup.is-open .exit-popup__dialog { transform: translateY(0); }
.exit-popup__close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Other Projects Slider */
.section-header--light .section-title { color: #fff; }
.section-header--light .section-desc { color: rgba(255,255,255,0.72); }
.projects-section { background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1220 100%); }
.projects-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.projects-slider__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.projects-slider__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.project-card {
  flex: 0 0 min(300px, 82vw);
  min-width: min(300px, 82vw);
}
.project-card__link {
  display: block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.project-card__link:hover {
  transform: translateY(-6px);
  border-color: var(--secondary-color);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.project-card--current .project-card__link {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 1px var(--secondary-color);
}
.project-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1e293b;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card__link:hover .project-card__image img { transform: scale(1.06); }
.project-card__body { padding: 1.15rem; color: #e2e8f0; }
.project-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.project-card__location {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.project-card__config {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__price {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.projects-slider__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  transition: var(--transition);
}
.projects-slider__nav:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}
.projects-slider__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Layout modifiers per project */
.layout-reverse .hero--split .container,
.layout-reverse .hero__grid { direction: rtl; }
.layout-reverse .hero--split .container > *,
.layout-reverse .hero__grid > * { direction: ltr; }
.font-accent .hero__title, .font-accent .section-title { font-family: var(--font-accent); }
.theme-rounded { --radius-md: 20px; --radius-lg: 28px; }
.theme-sharp { --radius-sm: 0; --radius-md: 0; --radius-lg: 0; }

/* ── Homepage Hub (index.html) ── */
.page-home {
  --primary-color: #0f2747;
  --secondary-color: #c9a227;
  --accent-color: #e8d5a3;
  --hero-overlay: rgba(8, 20, 45, 0.82);
  --heading-color: #0f172a;
}
.hub-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hub-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transform: scale(1.03);
}
.hub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 20, 45, 0.92) 0%, rgba(15, 39, 71, 0.75) 50%, rgba(8, 20, 45, 0.88) 100%);
}
.hub-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-height) + 2.5rem) 0 3.5rem;
}
.hub-hero__inner {
  max-width: 780px;
}
.hub-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.hub-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hub-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}
.hub-hero__stat {
  text-align: left;
}
.hub-hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent-color);
  display: block;
}
.hub-hero__stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}
.hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hub-section {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.hub-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}
.hub-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.hub-filter {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}
.hub-filter:hover,
.hub-filter.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.hub-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hub-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-lg);
  border-color: color-mix(in srgb, var(--secondary-color) 40%, var(--border-color));
}
.hub-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.hub-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.hub-card:hover .hub-card__image img {
  transform: scale(1.06);
}
.hub-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.hub-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hub-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--heading-color);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.hub-card__location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.hub-card__config {
  font-size: 0.8rem;
  color: var(--text-color);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-card__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.hub-card__price span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}
.hub-card .btn {
  width: 100%;
  margin-top: auto;
}
.hub-card.is-hidden {
  display: none;
}
.page-home .site-header.is-scrolled .brand-text,
.page-home .site-header.is-scrolled .nav-link {
  color: var(--heading-color);
}
.page-home .site-header:not(.is-scrolled) .brand-text,
.page-home .site-header:not(.is-scrolled) .nav-link {
  color: #fff;
}
.page-home .site-header:not(.is-scrolled) .menu-toggle {
  color: #fff;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .hero__grid,
  .hero--split .container,
  .hero--asymmetric .container,
  .location-grid,
  .about-grid,
  .floorplan-showcase { grid-template-columns: 1fr; }
  .hero-form,
  .hero-info-panel { max-width: 520px; margin-inline: auto; }
  .hero__main { max-width: none; text-align: center; }
  .hero__location { justify-content: center; }
  .hero__price-row { justify-content: center; }
  .hero__highlights { text-align: left; max-width: 480px; margin-inline: auto; }
  .hero__stats { justify-content: center; }
  .hero__actions { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projects-slider__nav { display: none; }
  .projects-slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .projects-slider__track { transform: none !important; }
  .project-card { scroll-snap-align: start; }
}
@media (max-width: 768px) {
  .hub-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hub-hero__stats { gap: 0.85rem 1.25rem; }
  .hub-hero__actions { justify-content: center; }
  .hub-hero__inner { text-align: center; margin-inline: auto; }
  .hub-hero__subtitle { margin-inline: auto; }
  .nav-desktop { display: none; }
  .menu-toggle { display: block; color: inherit; }
  .hero--lead { min-height: auto; }
  .hero__content { padding-bottom: 2rem; }
  .hero__title { font-size: clamp(1.65rem, 6vw, 2.25rem); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-masonry { columns: 1; grid-template-columns: 1fr; }
  .gallery-grid__item--large { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 1.75rem; }
}
@media (max-width: 480px) {
  .hero-form,
  .hero-info-panel { padding: 1.15rem; }
  .hero__stats { gap: 1rem; }
  .hero__stat-value { font-size: 1.35rem; }
  .pricing-table th, .pricing-table td { padding: 0.75rem; font-size: 0.85rem; }
  .project-card { flex: 0 0 88vw; min-width: 88vw; }
}

/* Section-level Enquire Now CTAs */
.section-enquire-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 0.25rem;
}

.section-enquire-cta {
  min-width: min(100%, 220px);
  padding: 0.75rem 1.75rem;
}

.section--dark .section-enquire-cta,
.projects-section .section-enquire-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.section--dark .section-enquire-cta:hover,
.projects-section .section-enquire-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Mobile Fixed CTA Start */
.ag-premium-mobile-cta{
  display:none;
}

@media(max-width:768px){
  .ag-premium-mobile-cta{
    position:fixed;
    left:10px;
    right:10px;
    bottom:12px;
    z-index:99999;
    display:flex;
    gap:8px;
    padding:8px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(14px);
    border-radius:22px;
    box-shadow:0 10px 35px rgba(0,0,0,.18);
    animation:agFloatBar 2.5s ease-in-out infinite;
  }

  .ag-premium-btn{
    flex:1;
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:58px;
    border-radius:16px;
    color:#fff;
    font-size:11px;
    font-weight:700;
    position:relative;
    overflow:hidden;
  }

  .ag-premium-btn i{
    font-size:18px;
    margin-bottom:4px;
    line-height:1;
  }

  .ag-call{
    background:linear-gradient(135deg,#ff512f,#dd2476);
  }

  .ag-whatsapp{
    background:linear-gradient(135deg,#00b09b,#96c93d);
  }

  .ag-enquire{
    background:linear-gradient(135deg,#396afc,#2948ff);
  }

  .ag-premium-btn::before{
    content:'';
    position:absolute;
    top:-100%;
    left:-50%;
    width:50%;
    height:300%;
    background:rgba(255,255,255,.35);
    transform:rotate(25deg);
    animation:agShine 2.8s linear infinite;
  }

  .has-mobile-fixed-cta .whatsapp-cta,
  .has-mobile-fixed-cta .back-to-top,
  .has-mobile-fixed-cta .wa-live-chat{
    display:none !important;
  }

  body{
    padding-bottom:92px;
  }
}

@keyframes agShine{
  0%{
    left:-60%;
  }
  100%{
    left:150%;
  }
}

@keyframes agFloatBar{
  0%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-3px);
  }
  100%{
    transform:translateY(0);
  }
}
/* Mobile Fixed CTA End */
