/* ==========================================================================
   Chari Realty Group — Design System
   ========================================================================== */

:root {
  /* Colors — premium palette */
  --brand-orange: #C88720;
  --brand-green: #30b736;

  --navy: #062B3A;
  --navy-2: #0B3A4D;
  --navy-light: #145066;
  --charcoal: #10202B;
  --white: #ffffff;
  --off-white: #F7F5F0;
  --beige: #F7F5F0;
  --gold: var(--brand-orange);
  --gold-light: #D9A24E;
  --gold-dark: #A66E19;
  --grey: #66717A;
  --grey-light: #8a92a0;
  --grey-lighter: #e6e8eb;
  --success: var(--brand-green);

  /* Type */
  --font-head: "Plus Jakarta Sans", "Noto Sans Telugu", "Manrope", sans-serif;
  --font-body: "Inter", "Noto Sans Telugu", sans-serif;
  --text-h1: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  --text-h2: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-h4: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
  --text-label: 0.85rem;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --space-8: 96px;
  --space-9: 120px;

  /* Layout */
  --container: 1240px;
  --container-hero: 1440px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(6, 43, 58, 0.06);
  --shadow-md: 0 12px 40px rgba(6, 43, 58, 0.12);
  --shadow-lg: 0 24px 70px rgba(6, 43, 58, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

section { position: relative; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-light); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 14px; }
.section-head p { color: var(--grey); font-size: 1.05rem; margin-top: 16px; }

.h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.text-grey { color: var(--grey); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px rgba(200,135,32, 0.35); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 14px 36px rgba(200,135,32, 0.45); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-whatsapp { background: #25D366; color: #06341c; }
.btn-whatsapp:hover { background: #35e878; }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 20px 0;
  pointer-events: none;
}
.nav-wrapper {
  pointer-events: all;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 26px;
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease), border-radius 0.3s var(--ease);
  border: 1px solid rgba(6,43,58,0.05);
}
.site-header.scrolled .nav-wrapper { box-shadow: var(--shadow-lg); }

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span { color: var(--gold-dark); }
.logo small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--grey);
  align-self: center;
  margin-left: 2px;
}
.logo-light { color: var(--white); }
.logo-light span { color: var(--gold-light); }
.logo-light small { color: var(--grey-light); }

.logo-img { height: 34px; width: auto; display: block; }
.footer-brand .logo-img { height: 46px; }
@media (max-width: 960px) { .logo-img { height: 30px; } }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold-dark); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-dropdown-toggle svg { transition: transform 0.25s var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(10px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--beige); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 12px 24px; font-size: 0.85rem; }

.lang-toggle {
  display: flex; align-items: center;
  background: var(--beige);
  border-radius: 999px;
  padding: 3px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.lang-toggle span {
  padding: 7px 11px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--grey);
  transition: all 0.2s var(--ease);
}
.lang-toggle[data-active="en"] .lang-en,
.lang-toggle[data-active="te"] .lang-te {
  background: var(--navy);
  color: var(--white);
}
.lang-toggle.lang-toggle-mobile {
  margin: 6px 20px 4px;
  align-self: flex-start;
}

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  pointer-events: all;
  max-width: 1180px;
  margin: 10px auto 0;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 10px 10px 20px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
}
.mobile-panel.open { display: flex; max-height: 480px; opacity: 1; }
.mobile-panel a {
  padding: 15px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--grey-lighter);
}
.mobile-panel a:last-of-type { border-bottom: none; }
.mobile-panel .btn { margin: 14px 16px 4px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-wrapper { padding: 8px 8px 8px 22px; }
  .nav-actions { gap: 8px; }
  .nav-actions .lang-toggle span { padding: 6px 9px; font-size: 0.72rem; }
  .lang-toggle.lang-toggle-mobile { display: none; }
}

/* ---------- Hero v2 (real HTML content + framed photo, no baked-in text) ---------- */
.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;
}
.hero-v2 { padding: var(--space-9) 0 var(--space-8); background: var(--white); }
.hero-v2 .container { max-width: var(--container-hero); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "media" "content";
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "content media";
    gap: var(--space-6);
  }
}
.hero-content { grid-area: content; }
.hero-media-col { grid-area: media; position: relative; }
.hero-v2 h1 { font-size: var(--text-h1); margin-top: var(--space-2); letter-spacing: -0.01em; }
.hero-v2 .hero-subtitle {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gold-dark);
  margin-top: var(--space-2);
}
.hero-v2 .hero-lead { font-size: 1.08rem; color: var(--grey); margin-top: var(--space-3); max-width: 560px; }
.hero-stats-row { display: flex; gap: var(--space-5); flex-wrap: wrap; margin-top: var(--space-4); }
.hero-stats-row .stat-num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--navy); }
.hero-stats-row .stat-label { font-size: 0.85rem; color: var(--grey); margin-top: 2px; }
.hero-v2 .button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: var(--space-4); }
.hero-v2 .check-list { margin-top: var(--space-4); }

.hero-portrait-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-portrait-frame.ratio-home  { aspect-ratio: 591 / 910; }
.hero-portrait-frame.ratio-about { aspect-ratio: 647 / 866; }
.hero-portrait-frame.ratio-why   { aspect-ratio: 460 / 475; }
.hero-portrait-frame.ratio-nri   { aspect-ratio: 430 / 720; }

/* Shared by every .page-hero banner (about, gallery, contact, project pages, etc.) */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,28,40,0.72) 0%, rgba(6,28,40,0.55) 35%, rgba(6,28,40,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 780px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }

/* Page hero (interior pages, shorter) */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero-plain { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--charcoal) 100%); }
.page-hero .hero-inner { padding-top: 160px; padding-bottom: 70px; max-width: 760px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--white); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 18px; font-family: var(--font-head); font-weight: 600; }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs .sep { opacity: 0.6; }
.breadcrumbs .current { color: var(--gold-light); }

/* ---------- Stats ---------- */
.stats-section { background: var(--navy); color: var(--white); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.stat-item { text-align: center; border-left: 1px solid rgba(255,255,255,0.12); padding: 0 12px; }
.stat-item:first-child { border-left: none; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; gap: 2px;
}
.stat-label { margin-top: 8px; font-size: 0.92rem; color: rgba(255,255,255,0.78); font-family: var(--font-head); font-weight: 600; }
.stats-note { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 30px; }

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat-item:nth-child(odd) { border-left: none; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .stat-item:nth-child(3n+1) { border-left: none; }
}

/* ---------- Sections generic ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-beige { background: var(--beige); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.78); }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

.why-editorial-grid { align-items: flex-start; }
.why-statement h2 { margin-top: var(--space-2); }
.why-list { display: flex; flex-direction: column; }
.why-list-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--grey-lighter);
}
.why-list-item:first-child { padding-top: 0; }
.why-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-list-item .icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--beige), #fff);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}
.why-list-item h3 { font-size: var(--text-h4); }
.why-list-item p { margin-top: 6px; color: var(--grey); }

.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }

.media-frame-portrait-half { max-width: 50%; margin: 0 auto; }
@media (max-width: 900px) {
  .media-frame-portrait-half { max-width: 75%; }
}

/* Portrait treatment — premium founder-photo frame, extends .media-frame */
.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(6,43,58,0.14);
  transition: transform 0.7s var(--ease);
}
.portrait-frame:hover img { transform: scale(1.05); }
.portrait-frame::after {
  content: "";
  position: absolute;
  bottom: var(--space-3); left: calc(-1 * var(--space-2));
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  z-index: -1;
}

.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--charcoal); }
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-dark); }

/* Floating badge on image */
.floating-badge {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.floating-badge .num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--gold-dark); }
.floating-badge .lbl { font-size: 0.8rem; color: var(--grey); max-width: 120px; }
@media (max-width: 640px) { .floating-badge { right: 10px; bottom: -20px; padding: 16px 18px; } }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: repeat(2, 1fr); } }

/* Project card */
.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-lighter);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.project-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .thumb img { transform: scale(1.08); }
.status-badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}
.status-badge.ongoing { background: var(--gold-dark); }
.status-badge.upcoming { background: var(--navy); }
.status-badge.completed { background: var(--success); }
.project-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card .meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--grey); font-weight: 500; flex-wrap: wrap; }
.project-card .meta span { display: flex; align-items: center; gap: 5px; }
.project-card h3 { font-size: 1.25rem; }
.project-card p { color: var(--grey); font-size: 0.94rem; flex: 1; }
.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  transition: gap 0.3s var(--ease);
}
.project-card:hover .card-link { gap: 10px; }

/* Icon card (why choose us / features) */
.icon-card {
  background: var(--white);
  border: 1px solid var(--grey-lighter);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.icon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.icon-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--beige), #fff);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.icon-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.icon-card p { color: var(--grey); font-size: 0.93rem; }

/* dark variant of icon card */
.icon-card.on-navy { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.icon-card.on-navy h3 { color: var(--white); }
.icon-card.on-navy .icon-wrap { background: rgba(255,255,255,0.08); }

/* Location card */
.location-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/3.4;
  color: var(--white);
}
.location-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.location-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,43,58,0) 30%, rgba(6,43,58,0.88) 100%); }
.location-card:hover img { transform: scale(1.08); }
.location-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px;
}
.location-card .label h4 { color: var(--white); font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; }
.location-card .label span { font-size: 0.76rem; color: var(--gold-light); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-lighter);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.testimonial-card .stars { color: var(--gold); display: flex; gap: 3px; }
.testimonial-card p.quote { color: var(--charcoal); font-size: 1rem; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.avatar-ring {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--gold-dark);
}
.testimonial-person .name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.testimonial-person .loc { font-size: 0.8rem; color: var(--grey); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--grey-lighter);
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--grey);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.masonry {
  columns: 4 220px;
  column-gap: 20px;
}
.masonry .g-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.masonry .g-item img { width: 100%; display: block; transition: transform 0.5s var(--ease); }
.masonry .g-item:hover img { transform: scale(1.06); }
.masonry .g-item .g-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(6,43,58,0.85), transparent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.masonry .g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) { .masonry { columns: 2 220px; } }
@media (max-width: 500px) { .masonry { columns: 1; } }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6, 13, 26, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--white); font-family: var(--font-head); font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--off-white);
  color: var(--charcoal);
  border: 1px solid rgba(200,135,32,0.25);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 560px; }
.cta-band p { color: var(--grey); margin-top: 14px; max-width: 480px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-outline-light { border-color: var(--navy); color: var(--navy); }
.cta-band .btn-outline-light:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cta-band .eyebrow.on-dark { color: var(--gold-dark); }
@media (max-width: 860px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 50px 30px; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 42px;
  border: 1px solid var(--grey-lighter);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--grey-lighter);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--grey-light); margin-top: 14px; }
.form-success {
  display: none;
  background: #eef7f1;
  border: 1px solid #c7e6d3;
  color: var(--success);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--grey-lighter);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}
.faq-question .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--beige); display: flex; align-items: center; justify-content: center; position: relative; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.faq-question .plus::before, .faq-question .plus::after { content: ""; position: absolute; background: var(--gold-dark); transition: transform 0.3s var(--ease); }
.faq-question .plus::before { width: 12px; height: 2px; }
.faq-question .plus::after { width: 2px; height: 12px; }
.faq-item.open .faq-question .plus { background: var(--navy); }
.faq-item.open .faq-question .plus::before, .faq-item.open .faq-question .plus::after { background: var(--white); }
.faq-item.open .faq-question .plus::after { transform: scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p { padding: 0 4px 24px; color: var(--grey); max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 90px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 18px; font-size: 0.9rem; max-width: 320px; line-height: 1.7; }
.footer-brand p.footer-tagline { font-family: var(--font-head); font-weight: 600; color: var(--gold-light); letter-spacing: 0.02em; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.social-icons { display: flex; gap: 10px; margin-top: 24px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 24px 30px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.footer-bottom .disclaimer { max-width: 640px; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; color: #06341c; }
.fab-projects { background: var(--gold); color: var(--navy); }
.fab-call { background: var(--navy); color: var(--white); display: none; }
@media (max-width: 760px) { .fab-call { display: flex; } .fab { width: 52px; height: 52px; } }

/* ---------- Utility animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

/* ---------- Misc pages: 404, legal ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 46px; margin-bottom: 16px; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 26px; margin-bottom: 10px; font-size: 1.1rem; }
.legal-content h4 { margin-top: 18px; margin-bottom: 8px; font-size: 0.95rem; }
.legal-content p, .legal-content li { color: var(--grey); margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-updated { color: var(--grey-light); font-size: 0.85rem; margin-bottom: 40px; }

.glossary-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 8px; padding: 0; list-style: none; }
.glossary-toc li { margin: 0; }
.glossary-toc a { display: block; padding: 10px 14px; background: var(--beige); border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 600; color: var(--navy); transition: all 0.25s var(--ease); }
.glossary-toc a:hover { background: var(--gold); }
@media (max-width: 760px) { .glossary-toc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .glossary-toc { grid-template-columns: 1fr; } }

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
}
.error-page .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); color: var(--beige); line-height: 1; -webkit-text-stroke: 2px var(--gold); color: transparent; }

/* ---------- Project detail specific ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--grey-lighter); }
.spec-table td { padding: 16px 10px; font-size: 0.95rem; }
.spec-table td:first-child { color: var(--grey); font-weight: 600; width: 40%; }
.spec-table td:last-child { color: var(--navy); font-weight: 600; }

.highlight-pill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .highlight-pill-grid { grid-template-columns: 1fr; } }
.highlight-pill { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--beige); border-radius: var(--radius-sm); }
.highlight-pill svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.highlight-pill strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 0.95rem; margin-bottom: 3px; }
.highlight-pill span { font-size: 0.85rem; color: var(--grey); }

.amenity-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.amenity-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: 1.5px solid var(--grey-lighter);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.amenity-chip svg { color: var(--gold-dark); }

.disclaimer-box {
  background: var(--beige);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 20px;
}

.project-quicknav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--grey-lighter);
  border-radius: 999px;
  padding: 6px;
  z-index: 40;
  margin-bottom: 50px;
}
.project-quicknav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--grey);
  transition: all 0.3s var(--ease);
}
.project-quicknav a:hover, .project-quicknav a.active { background: var(--navy); color: var(--white); }
@media (max-width: 900px) { .project-quicknav { overflow-x: auto; flex-wrap: nowrap; position: static; } }

.investor-tag-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.investor-tag { padding: 8px 16px; border-radius: 999px; background: var(--beige); font-size: 0.82rem; font-weight: 600; color: var(--navy); }

/* Breadcrumb schema visible list on interior content (secondary, below hero, light) */
.mini-breadcrumbs { padding: 20px 0 0; font-size: 0.82rem; color: var(--grey); }
.mini-breadcrumbs a:hover { color: var(--gold-dark); }
