/* ==========================================================================
   Imarah Builders — Luxury Architectural Portfolio Stylesheet
   Palette: Deep Navy (#0B1D33), Midnight (#071424), Champagne Gold (#C8A45D),
            Warm Ivory (#F7F4ED), Crisp Alabaster (#FFFFFF)
   ========================================================================== */

:root {
  --navy-950: #071424;
  --navy-900: #0B1D33;
  --navy-800: #132B47;
  --navy-700: #1D3B5E;

  --gold-600: #A9833C;
  --gold-500: #C8A45D;
  --gold-400: #DEC07D;
  --gold-200: #EFE0BE;

  --ivory-50: #FCFBF8;
  --ivory-100: #F7F4ED;
  --ivory-200: #ECE6DA;

  --white: #FFFFFF;
  --ink: #122030;
  --ink-muted: #526072;
  --line: #E2DDD2;
  --line-dark: rgba(255, 255, 255, 0.14);

  --status-ready: #1B6B4D;
  --status-ongoing: #B8872F;
  --status-upcoming: #2A4D77;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(7, 20, 36, 0.06);
  --shadow-md: 0 14px 40px rgba(7, 20, 36, 0.1);
  --shadow-lg: 0 28px 70px rgba(7, 20, 36, 0.22);

  --container-max: 1220px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 2000;
}
.skip-link:focus {
  left: 16px;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(7, 20, 36, 0.72) 0%, rgba(7, 20, 36, 0.12) 100%);
}

.site-header.scrolled {
  background: rgba(7, 20, 36, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(200, 164, 93, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-main {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--gold-400);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-only {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 192, 125, 0.65);
  color: var(--gold-200);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.28s var(--ease);
}

.btn-header:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + 56px);
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(7, 20, 36, 0.94) 0%, rgba(11, 29, 51, 0.84) 44%, rgba(11, 29, 51, 0.48) 74%, rgba(7, 20, 36, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 20, 36, 0.45) 0%, rgba(7, 20, 36, 0.08) 40%, rgba(7, 20, 36, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 32px;
  padding-bottom: 64px;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.eyebrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.eyebrow-rule {
  display: inline-block;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, rgba(222, 192, 125, 0.7), rgba(222, 192, 125, 0.08));
}

.hero-title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6.4vw, 82px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
}

.hero-line {
  display: block;
}

.accent-gold {
  color: var(--gold-400);
  font-style: normal;
}

.hero-subtitle {
  margin: 0 0 36px;
  max-width: 54ch;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.72;
  color: rgba(244, 240, 232, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-400);
  background: rgba(11, 29, 51, 0.45);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
}

.btn-gold-outline:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200, 164, 93, 0.28);
}

.btn-gold-outline svg {
  transition: transform 0.25s var(--ease);
}
.btn-gold-outline:hover svg {
  transform: translateX(4px);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.28s var(--ease);
}

.btn-ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(244, 240, 232, 0.78);
}

.hero-badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Bottom Stats Ribbon */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(7, 20, 36, 0.78);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(200, 164, 93, 0.24);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--gold-400);
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.stat-note {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Shared Section Styles & Buttons
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-ivory {
  background: var(--ivory-100);
}

.section-white {
  background: var(--white);
}

.section-navy {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
}

.section-head {
  margin-bottom: 48px;
}

.split-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
  gap: 32px;
}

.center-head {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section-eyebrow.gold {
  color: var(--gold-400);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

.section-title.light {
  color: var(--white);
}

.section-lead {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-muted);
}

.section-lead.light {
  color: rgba(235, 240, 246, 0.78);
  margin-top: 14px;
}

.btn-gold-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-500);
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.26s var(--ease);
}

.btn-gold-solid:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(200, 164, 93, 0.28);
}

.btn-navy-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.26s var(--ease);
}

.btn-navy-solid:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--navy-900);
  background: transparent;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.24s ease;
}

.btn-outline-dark:hover {
  background: var(--ivory-100);
}

/* ==========================================================================
   Projects Portfolio Section
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-pill:hover {
  border-color: var(--navy-900);
}

.filter-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.status-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-chip:hover {
  color: var(--navy-900);
}

.status-chip.active {
  background: var(--ivory-200);
  border-color: rgba(200, 164, 93, 0.55);
  color: var(--navy-900);
}

.filter-count {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 164, 93, 0.55);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.status-badge.status-ready {
  background: var(--status-ready);
}
.status-badge.status-ongoing {
  background: var(--status-ongoing);
  color: var(--navy-950);
}
.status-badge.status-upcoming {
  background: var(--status-upcoming);
}

.category-badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(7, 20, 36, 0.72);
  backdrop-filter: blur(6px);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-600);
  margin: 0 0 6px;
}

.project-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
}

.project-summary {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  padding: 14px 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.spec-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.spec-val {
  display: block;
  font-weight: 600;
  color: var(--navy-900);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
}

.project-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

.btn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 6px 0;
  color: var(--gold-600);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, gap 0.2s ease;
}

.btn-card-link:hover {
  color: var(--navy-900);
  gap: 10px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.5;
  background: var(--navy-900);
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-crest-card {
  position: absolute;
  right: -24px;
  bottom: 28px;
  background: var(--ivory-50);
  border: 1px solid rgba(200, 164, 93, 0.45);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 285px;
}

.about-crest-card img {
  width: 78px;
  height: auto;
  flex-shrink: 0;
}

.about-crest-meta strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.1;
  color: var(--navy-900);
}

.about-crest-meta span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy-900);
  margin: 20px 0 18px;
}

.about-paragraphs p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pillar-card {
  padding: 18px;
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
}

.pillar-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-900);
}

.pillar-card p {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Services & Joint Venture Section (Deep Navy Band)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(222, 192, 125, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(200, 164, 93, 0.14);
  border: 1px solid rgba(200, 164, 93, 0.36);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(235, 240, 246, 0.76);
  line-height: 1.65;
}

.jv-banner {
  margin-top: 48px;
  padding: 36px 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(110deg, rgba(200, 164, 93, 0.16) 0%, rgba(19, 43, 71, 0.72) 60%);
  border: 1px solid rgba(222, 192, 125, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.jv-copy {
  max-width: 680px;
}

.jv-copy h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--white);
}

.jv-copy p {
  margin: 0;
  color: rgba(244, 240, 232, 0.8);
  font-size: 15px;
}

.jv-action {
  flex-shrink: 0;
}

/* ==========================================================================
   4-Step Process Section
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
}

.process-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
}

.process-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--ivory-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 0.7;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.testimonial-text {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink);
}

.testimonial-author {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--navy-900);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 20px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.contact-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.contact-value {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
}

a.contact-value:hover {
  color: var(--gold-400);
}

.map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--gold-400);
  font-weight: 600;
}

.map-link:hover {
  text-decoration: underline;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.social-links {
  display: inline-flex;
  gap: 10px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.24s ease;
}

.social-btn:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(200, 164, 93, 0.12);
}

.contact-form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy-900);
}

.form-intro {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D3CEC2;
  border-radius: var(--radius-sm);
  background: var(--ivory-50);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.18);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}

.form-feedback.success {
  color: var(--status-ready);
}

.form-feedback.error {
  color: #B42318;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(235, 240, 246, 0.78);
  border-top: 1px solid rgba(200, 164, 93, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  padding: 68px 24px 52px;
}

.footer-logo {
  width: 175px;
  height: auto;
  margin-bottom: 18px;
}

.footer-tagline {
  margin: 0;
  max-width: 30ch;
  font-size: 14.5px;
  color: rgba(235, 240, 246, 0.68);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13.5px;
  color: rgba(235, 240, 246, 0.56);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.admin-link {
  color: rgba(222, 192, 125, 0.72);
  font-weight: 600;
  transition: color 0.2s ease;
}

.admin-link:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   Project Details Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 20, 36, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(18, 32, 48, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--navy-900);
  color: var(--white);
}

.modal-media {
  position: relative;
  min-height: 360px;
  background: var(--navy-900);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-media-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.modal-body {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}

.modal-location {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.modal-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.1;
  color: var(--navy-900);
}

.modal-summary {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--ink-muted);
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--ivory-100);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.modal-features-block h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-900);
}

.modal-features-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.modal-features-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.2px;
  color: var(--ink);
}

.modal-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 700;
}

.modal-legal {
  padding: 10px 14px;
  background: rgba(27, 107, 77, 0.08);
  border-left: 3px solid var(--status-ready);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--status-ready);
  margin-bottom: 22px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   Floating WhatsApp Concierge
   ========================================================================== */
.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: #1B6B4D;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(7, 20, 36, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.floating-wa:hover {
  background: #15593F;
  transform: translateY(-3px);
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-layout,
  .contact-layout,
  .split-head,
  .modal-dialog {
    grid-template-columns: 1fr;
  }
  .about-crest-card {
    right: 16px;
    bottom: 16px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 12px;
  }
  .stat-item:first-child {
    padding-left: 12px;
  }
  .jv-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 20, 36, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border-bottom: 1px solid rgba(200, 164, 93, 0.25);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s var(--ease), opacity 0.28s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-only {
    display: inline-flex;
    margin-top: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    background: var(--gold-500);
    color: var(--navy-950);
    font-weight: 700;
  }
  .btn-header {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }
  .projects-grid,
  .services-grid,
  .process-grid,
  .pillars-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 26px 20px;
  }
  .modal-body {
    padding: 24px 20px;
  }
  .floating-wa-label {
    display: none;
  }
  .floating-wa {
    padding: 14px;
  }
}
