/* ============================================================
   AGATE REALTORS — Main Stylesheet
   Palette: Obsidian #0D0B08 | Gold #C8A45A | Ivory #FAF7F0
   Fonts: Cormorant Garamond (display) | DM Sans (body)
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --obsidian:     #0D0B08;
  --charcoal:     #1C1812;
  --charcoal-mid: #2A2318;
  --gold:         #C8A45A;
  --gold-light:   #E6C97A;
  --gold-dim:     #8B6F3C;
  --gold-subtle:  rgba(200,164,90,0.12);
  --ivory:        #FAF7F0;
  --cream:        #F2EDE3;
  --warm-white:   #FFFFFF;
  --text-dark:    #1C1812;
  --text-muted:   #6B6355;
  --text-light:   #FAF7F0;
  --text-dimmed:  #A09A8E;
  --border-gold:  rgba(200,164,90,0.25);
  --border-dark:  rgba(200,164,90,0.08);
  --shadow-gold:  0 8px 40px rgba(200,164,90,0.15);
  --shadow-dark:  0 12px 60px rgba(0,0,0,0.5);
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- TYPOGRAPHY SCALE ---------- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3.5vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 500; }
p { font-size: 1rem; line-height: 1.75; color: var(--text-muted); }

/* Gold ornament divider — signature element */
.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  width: 32px;
  background: var(--gold);
  opacity: 0.6;
}
.ornament span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--obsidian);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,164,90,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(250,247,240,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-gold);
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-1px);
}

/* ---------- HEADER / NAV ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(13,11,8,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
#site-header.at-top {
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.site-logo-text {
  display: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ivory);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  color: rgba(250,247,240,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.current {
  color: var(--gold);
}
.nav-menu a:hover::after,
.nav-menu a.current::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ivory);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13,11,8,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  display: block;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-gold);
  width: 80%;
  text-align: center;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80%;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/projects/omaxe-histreet-1.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,11,8,0.92) 0%,
    rgba(28,24,18,0.80) 50%,
    rgba(13,11,8,0.70) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 100px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(250,247,240,0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(28,24,18,0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border-gold);
}
.stat-item {
  padding: 22px 24px;
  border-right: 1px solid var(--border-gold);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.6);
  margin-top: 6px;
  display: block;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SECTION STYLES ---------- */
.section {
  padding: 90px 0;
}
.section-dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.section-dark p { color: var(--text-dimmed); }
.section-ivory { background: var(--ivory); }
.section-cream { background: var(--cream); }

.section-header {
  margin-bottom: 56px;
}
.section-header h2 { color: var(--text-dark); }
.section-dark .section-header h2 { color: var(--ivory); }
.section-header p { max-width: 540px; margin-top: 14px; }

/* ---------- FEATURED PROJECTS CAROUSEL ---------- */
.projects-section { padding: 90px 0; background: var(--charcoal); overflow: hidden; }
.projects-section .section-header h2 { color: var(--ivory); }

.swiper-projects {
  width: 100%;
  padding: 10px 0 50px !important;
  overflow: visible !important;
}
.swiper-projects .swiper-wrapper {
  align-items: stretch;
}

.project-card {
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.project-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-img img {
  transform: scale(1.06);
}
.project-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--obsidian);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.project-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-card-location svg { width: 12px; height: 12px; flex-shrink: 0; }
.project-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 10px;
  line-height: 1.2;
}
.project-card-desc {
  font-size: 0.88rem;
  color: var(--text-dimmed);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.project-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
}
.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.project-meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-meta-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ivory);
}
.project-card-actions {
  display: flex;
  gap: 10px;
}
.project-card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.72rem;
}

.swiper-projects .swiper-pagination { bottom: 10px; }
.swiper-projects .swiper-pagination-bullet {
  background: var(--gold);
  opacity: 0.3;
}
.swiper-projects .swiper-pagination-bullet-active { opacity: 1; }
.swiper-nav-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.swiper-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.swiper-btn:hover { background: var(--gold); color: var(--obsidian); border-color: var(--gold); }

/* ---------- LEAD CAPTURE FORM ---------- */
.lead-form-section {
  background: linear-gradient(135deg, var(--obsidian) 0%, var(--charcoal) 100%);
  padding: 80px 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}
.lead-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lead-form-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ivory);
  margin-bottom: 16px;
  line-height: 1.15;
}
.lead-form-text p { color: var(--text-dimmed); margin-bottom: 24px; }
.lead-form-perks { display: flex; flex-direction: column; gap: 12px; }
.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(250,247,240,0.8);
  font-size: 0.9rem;
}
.perk-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.lead-form {
  background: rgba(250,247,240,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}
.lead-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(250,247,240,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control::placeholder { color: rgba(250,247,240,0.35); }
.form-control:focus {
  border-color: var(--gold);
  background: rgba(200,164,90,0.06);
}
.form-control option { background: var(--charcoal); color: var(--ivory); }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; padding: 16px; font-size: 0.8rem; }
.form-note { font-size: 0.75rem; color: var(--text-dimmed); margin-top: 10px; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ---------- WHY CHOOSE US ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: var(--warm-white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.4rem;
}
.feature-card h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section { background: var(--charcoal); padding: 90px 0; }
.testimonials-section .section-header h2 { color: var(--ivory); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 16px;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 0.95rem;
  color: rgba(250,247,240,0.8);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-rating {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ivory);
  display: block;
}
.testimonial-location {
  font-size: 0.75rem;
  color: var(--text-dimmed);
  margin-top: 2px;
  display: block;
}

/* ---------- ALL PROJECTS LISTING (page-projects.php) ---------- */
.projects-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.project-listing-card {
  background: var(--warm-white);
  border: 1px solid #E8E0D4;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.project-listing-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.project-listing-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.project-listing-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-listing-card:hover .project-listing-img img { transform: scale(1.06); }
.project-listing-body { padding: 24px; }
.project-listing-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.project-listing-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.project-listing-loc {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.project-listing-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-dim);
  font-weight: 600;
  margin-bottom: 16px;
}
.project-listing-actions {
  display: flex;
  gap: 10px;
}
.project-listing-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 12px;
  font-size: 0.72rem;
}

/* ---------- SINGLE PROJECT PAGE ---------- */
.project-hero {
  min-height: 55vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--obsidian);
}
.project-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.project-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,11,8,0.95) 0%, rgba(13,11,8,0.4) 60%, transparent 100%);
}
.project-hero-content {
  position: relative; z-index: 2;
  padding: 50px 0 40px;
  width: 100%;
}
.project-hero-breadcrumb {
  font-size: 0.78rem;
  color: rgba(250,247,240,0.5);
  margin-bottom: 16px;
}
.project-hero-breadcrumb a { color: var(--gold); }
.project-hero-breadcrumb a:hover { text-decoration: underline; }
.project-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 12px;
}
.project-hero-sub {
  font-size: 1rem;
  color: rgba(250,247,240,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hero-badge {
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-badge-gold { background: var(--gold); color: var(--obsidian); }
.hero-badge-outline { border: 1px solid rgba(250,247,240,0.4); color: var(--ivory); }

/* Gallery */
.gallery-section { padding: 60px 0; }
.gallery-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--charcoal);
  aspect-ratio: 16/8;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity 0.3s;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-thumb:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--ivory);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ivory);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  user-select: none;
  padding: 10px 20px;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* Project details layout */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}
.project-details-main {}
.project-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}
.overview-item {
  background: var(--warm-white);
  padding: 20px 22px;
}
.overview-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.overview-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.project-highlights { margin-bottom: 36px; }
.project-highlights h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--text-dark);
}
.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.highlight-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.project-description h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.project-description p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Sticky sidebar form */
.project-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-form {
  background: var(--charcoal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.sidebar-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 6px;
}
.sidebar-form p { font-size: 0.83rem; color: var(--text-dimmed); margin-bottom: 22px; }
.sidebar-form .form-group { margin-bottom: 12px; }
.sidebar-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--charcoal);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
}
.sidebar-cta-buttons .btn { justify-content: center; }

/* ---------- MAP SECTION ---------- */
.map-section { padding: 0; }
.map-section iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}
.map-office-info {
  background: var(--charcoal);
  padding: 40px 0;
  border-top: 1px solid var(--border-gold);
}
.map-office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.office-info-icon {
  width: 44px; height: 44px;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.office-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.office-info-value {
  font-size: 0.95rem;
  color: var(--ivory);
  line-height: 1.5;
}

/* ---------- FINAL CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--obsidian) 0%, var(--charcoal-mid) 100%);
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,164,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ivory);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.05rem;
  color: var(--text-dimmed);
  max-width: 520px;
  margin: 0 auto 40px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- ABOUT PAGE ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 90px 0;
}
.about-intro-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-intro-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-intro-img::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 70%; height: 70%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}
.about-intro-content .section-label { margin-bottom: 12px; }
.about-intro-content h2 { color: var(--text-dark); margin-bottom: 20px; line-height: 1.15; }
.about-intro-content p { color: var(--text-muted); margin-bottom: 14px; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid #E8E0D4;
}
.about-value-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.about-value-text h4 { font-size: 0.9rem; color: var(--text-dark); margin-bottom: 3px; }
.about-value-text p { font-size: 0.8rem; margin: 0; }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 60px 0;
}
.blog-card {
  background: var(--warm-white);
  border: 1px solid #E8E0D4;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 0.72rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.blog-read-more:hover { gap: 10px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: var(--charcoal);
  padding: 130px 0 60px;
  border-bottom: 1px solid var(--border-gold);
}
.page-hero h1 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}
.page-hero p {
  color: var(--text-dimmed);
  margin-top: 10px;
  font-size: 1rem;
  max-width: 500px;
}

/* ---------- FLOATING BUTTONS ---------- */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-wa { background: #25D366; }
.float-btn-call { background: var(--gold); }
.float-btn svg { width: 24px; height: 24px; fill: white; }
.float-label {
  position: absolute;
  right: 64px;
  background: var(--obsidian);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-btn-wrap:hover .float-label { opacity: 1; }
.float-btn-wrap { position: relative; display: flex; align-items: center; }

/* ---------- FOOTER ---------- */
#site-footer {
  background: var(--obsidian);
  border-top: 1px solid var(--border-gold);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding: 70px 0 50px;
}
.footer-brand-logo { height: 55px; margin-bottom: 16px; object-fit: contain; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-dimmed);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dimmed);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-dimmed);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.25s;
}
.footer-links a::before { content: '→'; opacity: 0; transition: opacity 0.25s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-icon { color: var(--gold); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { font-size: 0.88rem; color: var(--text-dimmed); line-height: 1.55; }
.footer-contact-text a { color: var(--text-dimmed); }
.footer-contact-text a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border-gold);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dimmed); }
.footer-bottom a { color: var(--gold); }
.rera-note {
  font-size: 0.72rem;
  color: var(--text-dimmed);
  background: var(--charcoal);
  padding: 14px 0;
  text-align: center;
  border-top: 1px solid var(--border-dark);
}

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 120px 20px; }
.error-404 .error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.3;
}
.error-404 h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 14px; }
.error-404 p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- UTILITIES ---------- */
.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- ADMIN BAR PUSH ---------- */
.admin-bar #site-header { top: 32px; }

/* =============================================
   RESPONSIVE — MOBILE & TABLET
   ============================================= */

@media (max-width: 1024px) {
  .project-detail-layout { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .lead-form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .map-office-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border-gold); border-top: 1px solid var(--border-gold); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border-gold); border-right: none; }

  .highlights-list { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .project-overview-grid { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 50px 0 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .projects-listing-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .sidebar-form, .sidebar-cta-buttons { margin-bottom: 16px; }
}

@media (max-width: 480px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .float-btns { bottom: 20px; right: 16px; }
  .section { padding: 60px 0; }
  .lead-form { padding: 24px 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   PATCH v2 — Mobile fixes, logo name, responsive grids
   ============================================================ */

/* --- Logo name next to logo image --- */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-logo-name {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.site-logo-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ivory);
    line-height: 1.1;
    letter-spacing: 0.02em;
}
.site-logo-tagline {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    font-style: italic;
    line-height: 1;
}

/* --- Responsive utility grids --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.grid-2-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.grid-4-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Process steps responsive --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 0;
}
.process-step {
    padding: 32px 20px;
    text-align: center;
    border-right: 1px solid var(--border-gold);
}
.process-step:last-child { border-right: none; }
.process-step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 8px;
}
.process-step h4 {
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.82rem;
    color: var(--text-dimmed);
    margin: 0;
}

/* --- About teaser pillars grid --- */
.about-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}
.about-pillar {
    padding: 18px 16px;
    background: var(--cream);
    border: 1px solid #E8E0D4;
    border-radius: 6px;
}
.about-pillar h4 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.about-pillar p { font-size: 0.78rem; margin: 0; }

/* Mission/Vision grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 22px;
}
.value-card {
    background: var(--warm-white);
    border: 1px solid #E8E0D4;
    border-radius: 8px;
    padding: 26px 22px;
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 12px 0 8px;
}
.value-card p { font-size: 0.88rem; line-height: 1.75; }

/* About page intro grid */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 80px 0;
}

/* Contact page grid */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (PATCH)
   ============================================================ */
@media (max-width: 1024px) {
    .grid-2, .grid-2-center, .mission-grid, .about-page-grid,
    .contact-page-grid, .grid-contact { grid-template-columns: 1fr; gap: 36px; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid var(--border-gold); }
    .process-step:nth-child(odd) { border-right: 1px solid var(--border-gold); }
    .process-step:last-child { border-bottom: none; border-right: none; }
}

@media (max-width: 768px) {
    /* Logo — hide tagline on very small nav */
    .site-logo-tagline { display: none; }
    .site-logo-title { font-size: 0.95rem; }

    /* Grids → single column */
    .grid-2, .grid-2-center, .grid-4-pillars, .grid-3,
    .mission-grid, .about-page-grid, .contact-page-grid,
    .grid-contact, .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .process-steps { grid-template-columns: 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid var(--border-gold); }
    .process-step:last-child { border-bottom: none; }

    /* Sections padding */
    .section { padding: 52px 0; }
    .page-hero { padding: 110px 0 44px; }

    /* About page: hide the image on mobile (optional – show founder name still) */
    .about-intro { grid-template-columns: 1fr; gap: 32px; }

    /* Project listing grid */
    .projects-listing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .site-logo img { width: 38px; height: 38px; }
    .site-logo-title { font-size: 0.88rem; }
    .nav-inner { height: 68px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; text-align: center; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-buttons .btn { justify-content: center; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 1.6rem; }
    .stat-item { padding: 16px 12px; }
}
