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

:root {
  --maroon: #6B1A2A;
  --maroon-dark: #4A0F1C;
  --maroon-light: #8C2236;
  --gold: #C9A84C;
  --gold-light: #E8C87A;
  --cream: #FAF7F2;
  --cream-dark: #F0EAE0;
  --white: #FFFFFF;
  --text-dark: #1A0F0F;
  --text-mid: #4A3535;
  --text-light: #7A6060;
  --border: rgba(107, 26, 42, 0.12);
  --shadow: 0 4px 32px rgba(107, 26, 42, 0.10);
  --shadow-lg: 0 12px 60px rgba(107, 26, 42, 0.16);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

nav.scrolled {
  height: 60px;
  background: rgba(250,247,242,0.98);
  box-shadow: 0 2px 20px rgba(107,26,42,0.08);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer;
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--maroon);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.logo-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.logo-text { line-height: 1.1; }
.logo-text .top { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--maroon); letter-spacing: 0.04em; }
.logo-text .sub { font-size: 9px; font-weight: 500; color: var(--text-light); letter-spacing: 0.18em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover, .nav-links a.active { color: var(--maroon); }

.nav-cta {
  background: var(--maroon); color: var(--white) !important;
  padding: 10px 22px; border-radius: 100px;
  font-size: 13px !important; font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--maroon-dark) !important; color: var(--white) !important; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--maroon-dark);
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 5% 80px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(140,34,54,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner { position: relative; z-index: 2; max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 32px;
}

.hero-badge span { font-size: 12px; font-weight: 500; color: var(--gold-light); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 600; color: var(--white);
  line-height: 1.05; margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero h1 em { color: var(--gold); font-style: italic; }

.hero-sub {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.7);
  line-height: 1.7; margin-bottom: 48px; max-width: 480px;
}

.hero-search {
  display: flex; gap: 0;
  background: var(--white); border-radius: 100px;
  padding: 6px 6px 6px 24px;
  max-width: 540px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.hero-search input {
  flex: 1; border: none; outline: none;
  font-family: var(--sans); font-size: 15px;
  color: var(--text-dark); background: transparent;
}

.hero-search input::placeholder { color: var(--text-light); }

.hero-search select {
  border: none; outline: none; border-left: 1px solid var(--border);
  padding: 0 16px; font-family: var(--sans); font-size: 14px;
  color: var(--text-mid); background: transparent; cursor: pointer;
}

.btn-search {
  background: var(--maroon); color: var(--white);
  border: none; cursor: pointer;
  padding: 12px 32px; border-radius: 100px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(107, 26, 42, 0.2);
}

.btn-search:hover {
  background: var(--maroon-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 26, 42, 0.3);
}

.hero-tags { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

.hero-tag {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8); border-radius: 100px;
  padding: 6px 14px; font-size: 12px; font-weight: 400; cursor: pointer;
  transition: all 0.2s;
}

.hero-tag:hover { background: rgba(201,168,76,0.2); border-color: rgba(201,168,76,0.4); color: var(--gold-light); }

.hero-stats {
  position: absolute; right: 5%; bottom: 80px;
  display: flex; flex-direction: column; gap: 20px;
  z-index: 2;
}

.hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 16px 24px;
  text-align: center; backdrop-filter: blur(8px);
}

.hero-stat .num {
  font-family: var(--serif); font-size: 32px; font-weight: 700;
  color: var(--gold); display: block; line-height: 1;
}

.hero-stat .lbl {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; display: block;
}

/* ── SECTIONS ─────────────────────────────────────────── */
section { padding: 100px 5%; }

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

.section-title {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
  font-weight: 600; color: var(--text-dark); line-height: 1.15;
}

.section-title em { color: var(--maroon); font-style: italic; }

.section-sub {
  font-size: 16px; font-weight: 300; color: var(--text-light);
  line-height: 1.7; margin-top: 16px; max-width: 520px;
}

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

/* ── PROPERTY TYPE TABS ───────────────────────────────── */
.types-section { background: var(--white); padding: 60px 5%; }

.types-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 40px;
}

.type-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; cursor: pointer;
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--cream);
}

.type-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--maroon); transform: scaleY(0);
  transform-origin: bottom; transition: transform 0.3s ease;
  z-index: 0;
}

.type-card:hover::before, .type-card.active::before { transform: scaleY(1); }

.type-card > * { position: relative; z-index: 1; }

.type-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(107,26,42,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: background 0.3s;
}

.type-card:hover .type-icon, .type-card.active .type-icon {
  background: rgba(255,255,255,0.15);
}

.type-icon svg { width: 26px; height: 26px; fill: var(--maroon); transition: fill 0.3s; }
.type-card:hover .type-icon svg, .type-card.active .type-icon svg { fill: var(--gold); }

.type-name {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px; transition: color 0.3s;
}

.type-count {
  font-size: 13px; color: var(--text-light); transition: color 0.3s;
}

.type-card:hover .type-name, .type-card.active .type-name { color: var(--white); }
.type-card:hover .type-count, .type-card.active .type-count { color: rgba(255,255,255,0.6); }

/* ── FEATURED LISTINGS ───────────────────────────────── */
.listings-section { background: var(--cream); }

.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}

.btn-outline {
  border: 1.5px solid var(--maroon); color: var(--maroon);
  padding: 12px 28px; border-radius: 100px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  background: transparent; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none; display: inline-block;
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 26, 42, 0.15);
}

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

.property-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 220px; position: relative; overflow: hidden;
  background: var(--cream-dark);
}

.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--maroon); color: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase;
}

.card-badge.green { background: #1D6B47; }
.card-badge.blue { background: #1A4A7A; }
.card-badge.amber { background: #8C6A1A; }

.card-fav {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}

.card-fav:hover { background: var(--white); }
.card-fav svg { width: 16px; height: 16px; fill: none; stroke: var(--maroon); stroke-width: 1.5; }

.card-body { padding: 20px; }

.card-type {
  font-size: 11px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px;
}

.card-title {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px; line-height: 1.3;
}

.card-loc {
  font-size: 13px; color: var(--text-light);
  display: flex; align-items: center; gap: 4px; margin-bottom: 16px;
}

.card-loc svg { width: 12px; height: 12px; fill: var(--text-light); }

.card-specs {
  display: flex; gap: 16px; margin-bottom: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}

.spec { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.spec svg { width: 13px; height: 13px; fill: var(--text-light); }
.spec strong { color: var(--text-dark); font-weight: 500; }

.card-foot {
  display: flex; justify-content: space-between; align-items: center;
}

.card-price {
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--maroon);
}

.card-price span { font-size: 12px; font-weight: 400; color: var(--text-light); font-family: var(--sans); }

.btn-card {
  background: var(--maroon); color: var(--white);
  border: none; cursor: pointer;
  padding: 10px 22px; border-radius: 100px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-card:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 26, 42, 0.2);
}

/* ── WHY US ───────────────────────────────────────────── */
.why-section { background: var(--maroon-dark); position: relative; overflow: hidden; }

.why-section::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-section .section-title { color: var(--white); }
.why-section .section-sub { color: rgba(255,255,255,0.55); }
.why-section .section-label { color: var(--gold); }

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

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: background 0.3s, border-color 0.3s;
}

.why-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.25);
}

.why-num {
  font-family: var(--serif); font-size: 48px; font-weight: 700;
  color: rgba(201,168,76,0.2); line-height: 1; margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.why-title {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}

.why-text { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testi-section { background: var(--white); }

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}

.testi-card {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--border);
  position: relative;
}

.testi-quote {
  font-family: var(--serif); font-size: 52px; font-weight: 700;
  color: var(--maroon); opacity: 0.15; line-height: 1;
  position: absolute; top: 16px; right: 24px;
}

.testi-text {
  font-size: 15px; font-weight: 300; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 24px; font-style: italic;
}

.testi-author {
  display: flex; align-items: center; gap: 12px;
}

.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--maroon); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--gold);
}

.testi-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.testi-role { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 20px; }

/* ── CTA ───────────────────────────────────────────────── */
.cta-section {
  background: var(--maroon);
  padding: 80px 5%;
  display: flex; justify-content: space-between; align-items: center;
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; top: -60%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute; top: -20%; right: 5%;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
  pointer-events: none;
}

.cta-text { position: relative; z-index: 2; }
.cta-label { font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.cta-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 46px); font-weight: 600; color: var(--white); line-height: 1.15; }
.cta-title em { color: var(--gold); font-style: italic; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 12px; font-weight: 300; }

.cta-actions { display: flex; gap: 14px; position: relative; z-index: 2; }

.btn-primary {
  background: var(--maroon) !important;
  color: var(--white) !important;
  border: none !important;
  cursor: pointer;
  padding: 16px 36px !important;
  border-radius: 100px !important;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(107, 26, 42, 0.25) !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.btn-primary:hover {
  background: var(--maroon-light) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(107, 26, 42, 0.35) !important;
}

.btn-gold {
  background: var(--gold) !important;
  color: var(--maroon-dark) !important;
  border: none !important;
  cursor: pointer;
  padding: 16px 36px !important;
  border-radius: 100px !important;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3) !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.btn-gold:hover {
  background: var(--gold-light) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4) !important;
}

.btn-ghost {
  background: transparent !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  cursor: pointer;
  padding: 16px 32px !important;
  border-radius: 100px !important;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease !important;
  white-space: nowrap;
  text-decoration: none !important;
  display: inline-block !important;
}

.btn-ghost:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: rgba(255,255,255,0.05) !important;
  transform: translateY(-2px) !important;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--text-dark); padding: 70px 5% 36px;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 60px;
}

.footer-brand .logo-text .top { color: var(--white); }
.footer-brand .logo-text .sub { color: rgba(255,255,255,0.35); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 20px; max-width: 280px; }

.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 12px; font-weight: 600;
}

.social-btn:hover { background: var(--maroon); border-color: var(--maroon); color: var(--white); }

.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: 0.05em; margin-bottom: 20px; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-contact strong { color: rgba(255,255,255,0.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center;
}

.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── LISTINGS PAGE ───────────────────────────────────── */
.listings-hero {
  background: var(--maroon-dark); padding: 120px 5% 70px;
  position: relative; overflow: hidden;
}

.listings-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 60%);
}

.listings-hero h1 {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 60px);
  font-weight: 600; color: var(--white);
  position: relative; z-index: 1; margin-bottom: 12px;
}

.listings-hero p { font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300; position: relative; z-index: 1; }

.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 20px 5%; position: sticky; top: 72px; z-index: 50;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}

.filter-bar select, .filter-bar input[type="text"] {
  border: 1.5px solid var(--border); border-radius: 100px;
  padding: 9px 18px; font-family: var(--sans); font-size: 13px;
  color: var(--text-dark); background: var(--cream);
  outline: none; cursor: pointer; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}

.filter-bar select:focus, .filter-bar input[type="text"]:focus { border-color: var(--maroon); }

.filter-label { font-size: 12px; font-weight: 600; color: var(--text-light); letter-spacing: 0.05em; }

.filter-sep { width: 1px; height: 28px; background: var(--border); }

.filter-count { font-size: 13px; color: var(--text-light); margin-left: auto; }

.listings-main { padding: 48px 5%; }

.listings-main .listings-grid { grid-template-columns: repeat(3, 1fr); }

.load-more {
  text-align: center; margin-top: 56px;
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-d1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-d2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-d3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-d4 { animation-delay: 0.4s; opacity: 0; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 960px) {
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .cta-section { flex-direction: column; gap: 36px; }
}

@media (max-width: 600px) {
  .types-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr !important; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-search { flex-direction: column; border-radius: var(--radius); padding: 12px; }
  .hero-search input, .hero-search select { border: none; padding: 8px 4px; }
  .cta-actions { flex-direction: column; }
}

/* ── PROPERTY DETAIL PAGE ────────────────────────────── */
.detail-hero {
  background: var(--maroon-dark); padding: 100px 5% 0;
  position: relative; overflow: hidden;
}
.detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.07) 0%, transparent 55%);
}
.detail-breadcrumb {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 24px;
}
.detail-breadcrumb span { cursor: pointer; transition: color 0.2s; }
.detail-breadcrumb span:hover { color: var(--gold); }
.detail-breadcrumb .sep { opacity: 0.3; }
.detail-breadcrumb .current { color: rgba(255,255,255,0.7); cursor: default; }

.detail-header {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 20px; padding-bottom: 40px;
}
.detail-header-left { max-width: 680px; }
.detail-type-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px;
}
.detail-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 52px);
  font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 12px;
}
.detail-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: rgba(255,255,255,0.55);
}
.detail-location svg { width: 14px; height: 14px; fill: var(--gold); }
.detail-header-right { text-align: right; }
.detail-price {
  font-family: var(--serif); font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700; color: var(--gold); line-height: 1;
}
.detail-price-unit { font-size: 13px; color: rgba(255,255,255,0.4); font-family: var(--sans); font-weight: 300; margin-top: 4px; }
.detail-status-badge {
  display: inline-block; margin-top: 12px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px;
}

/* gallery */
.detail-gallery {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: 280px 180px; gap: 6px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden;
}
.gallery-main {
  grid-row: 1 / 3;
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-thumb {
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-main .card-img-placeholder,
.gallery-thumb .card-img-placeholder {
  width: 100%; height: 100%; border-radius: 0;
}
.gallery-main:hover .card-img-placeholder,
.gallery-thumb:hover .card-img-placeholder { filter: brightness(1.1); }
.gallery-overlay {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(0,0,0,0.6); color: var(--white);
  font-size: 12px; font-weight: 500; padding: 6px 14px;
  border-radius: 100px; backdrop-filter: blur(4px);
  pointer-events: none;
}

/* detail body */
.detail-body {
  padding: 56px 5%; display: grid;
  grid-template-columns: 1fr 360px; gap: 40px; align-items: start;
}
.detail-main {}
.detail-sidebar {}

/* specs bar */
.detail-specs-bar {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 40px;
}
.detail-spec {
  flex: 1; min-width: 100px; padding: 20px 24px;
  border-right: 1px solid var(--border); text-align: center;
}
.detail-spec:last-child { border-right: none; }
.detail-spec .ds-icon { font-size: 18px; margin-bottom: 6px; }
.detail-spec .ds-val { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--maroon); display: block; }
.detail-spec .ds-lbl { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; display: block; }

/* description */
.detail-section-title {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 16px;
}
.detail-desc {
  font-size: 15px; color: var(--text-mid); line-height: 1.85;
  font-weight: 300; margin-bottom: 36px;
}

/* features */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 36px;
}
.feature-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-mid);
}
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(107,26,42,0.08); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-check svg { width: 11px; height: 11px; stroke: var(--maroon); stroke-width: 2.5; fill: none; }

/* docs */
.docs-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px;
}
.doc-tag {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 18px;
  font-size: 13px; color: var(--text-mid); display: flex; align-items: center; gap: 8px;
}
.doc-tag svg { width: 15px; height: 15px; fill: var(--maroon); }

/* map placeholder */
.map-placeholder {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 40px;
  height: 220px; background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-size: 14px; color: var(--text-light);
}
.map-placeholder svg { width: 28px; height: 28px; fill: var(--maroon); opacity: 0.3; }

/* sidebar */
.agent-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  position: sticky; top: 90px;
}
.agent-card-header {
  background: var(--maroon-dark); padding: 28px 24px; text-align: center;
}
.agent-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(201,168,76,0.2); border: 2px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--gold);
  margin: 0 auto 12px;
}
.agent-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--white); }
.agent-role { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; }
.agent-card-body { padding: 24px; }
.inquiry-label { font-size: 11px; font-weight: 600; color: var(--text-light); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.inquiry-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-family: var(--sans); font-size: 14px;
  color: var(--text-dark); background: var(--cream); outline: none;
  transition: border-color 0.2s; margin-bottom: 10px; display: block;
}
.inquiry-input:focus { border-color: var(--maroon); }
textarea.inquiry-input { min-height: 90px; resize: vertical; }
.btn-full {
  width: 100%; background: var(--maroon); color: var(--white);
  border: none; cursor: pointer; padding: 14px;
  border-radius: var(--radius); font-family: var(--sans);
  font-size: 14px; font-weight: 500; transition: background 0.2s; margin-top: 4px;
}
.btn-full:hover { background: var(--maroon-dark); }
.btn-full-ghost {
  width: 100%; background: transparent; color: var(--maroon);
  border: 1.5px solid var(--maroon); cursor: pointer; padding: 12px;
  border-radius: var(--radius); font-family: var(--sans);
  font-size: 14px; font-weight: 500; transition: all 0.2s; margin-top: 8px;
}
.btn-full-ghost:hover { background: var(--maroon); color: var(--white); }
.agent-contacts { border-top: 1px solid var(--border); padding: 16px 24px; }
.agent-contact-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-mid); margin-bottom: 10px;
}
.agent-contact-row svg { width: 15px; height: 15px; fill: var(--maroon); }

/* similar */
.similar-section { padding: 60px 5%; background: var(--cream); }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }

/* ── ABOUT PAGE ───────────────────────────────────────── */
.about-hero {
  background: var(--maroon-dark); padding: 140px 5% 100px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(201,168,76,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.about-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.about-hero-text { position: relative; z-index: 2; }
.about-hero-text h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 64px);
  font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.about-hero-text h1 em { color: var(--gold); font-style: italic; }
.about-hero-text p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.8; font-weight: 300; }
.about-hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-stat-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.about-stat-card .num {
  font-family: var(--serif); font-size: 44px; font-weight: 700;
  color: var(--gold); line-height: 1; display: block;
}
.about-stat-card .lbl { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; display: block; }

/* story section */
.story-section { padding: 100px 5%; background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 480px; position: relative;
}
.story-visual-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, #a03045 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 40px;
}
.story-big-year {
  font-family: var(--serif); font-size: 120px; font-weight: 700;
  color: rgba(201,168,76,0.15); line-height: 1;
  position: absolute; bottom: -20px; right: -10px;
}
.story-emblem {
  width: 80px; height: 80px; background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
}
.story-emblem svg { width: 40px; height: 40px; fill: var(--gold); }
.story-visual-text { text-align: center; position: relative; z-index: 2; }
.story-visual-text h3 { font-family: var(--serif); font-size: 28px; color: var(--white); font-weight: 600; }
.story-visual-text p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.6; }
.story-text h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 600; color: var(--text-dark); line-height: 1.2; margin-bottom: 24px; }
.story-text h2 em { color: var(--maroon); font-style: italic; }
.story-text p { font-size: 15px; color: var(--text-mid); line-height: 1.85; font-weight: 300; margin-bottom: 20px; }
.story-divider { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 28px; }

/* values */
.values-section { padding: 100px 5%; background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.value-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 36px 28px;
  transition: all 0.3s ease;
}
.value-card:hover { border-color: var(--maroon); transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(107,26,42,0.07); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 26px; height: 26px; fill: var(--maroon); }
.value-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.value-text { font-size: 14px; color: var(--text-light); line-height: 1.75; font-weight: 300; }

/* team */
.team-section { padding: 100px 5%; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.team-card {
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar-lg {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--maroon); border: 3px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--gold);
}
.team-photo-bg-1 { background: linear-gradient(135deg, #2a4a3a, #4a7a5a); }
.team-photo-bg-2 { background: linear-gradient(135deg, #2a2a4a, #4a3a6a); }
.team-photo-bg-3 { background: linear-gradient(135deg, #4a2a2a, #7a3a4a); }
.team-info { padding: 20px 20px 24px; }
.team-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--text-light); line-height: 1.65; font-weight: 300; }

/* milestones */
.milestones-section { padding: 100px 5%; background: var(--maroon-dark); position: relative; overflow: hidden; }
.milestones-section::before {
  content: ''; position: absolute;
  top: -200px; left: -200px; width: 700px; height: 700px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06); pointer-events: none;
}
.milestones-section .section-title { color: var(--white); }
.milestones-section .section-label { color: var(--gold); }
.timeline { margin-top: 56px; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(201,168,76,0.2); transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 40px 1fr;
  gap: 24px; align-items: center; margin-bottom: 48px;
}
.timeline-item:nth-child(odd) .tl-text { text-align: right; grid-column: 1; }
.timeline-item:nth-child(odd) .tl-empty { grid-column: 3; }
.timeline-item:nth-child(even) .tl-empty { grid-column: 1; }
.timeline-item:nth-child(even) .tl-text { text-align: left; grid-column: 3; }
.tl-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--maroon); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 12px; font-weight: 700; color: var(--gold);
  z-index: 1; position: relative; grid-column: 2;
}
.tl-year { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.tl-title { font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.tl-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; font-weight: 300; }

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-hero {
  background: var(--maroon-dark); padding: 140px 5% 80px;
  position: relative; overflow: hidden;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 55%);
}
.contact-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.contact-hero-inner { position: relative; z-index: 2; max-width: 600px; }
.contact-hero-inner h1 {
  font-family: var(--serif); font-size: clamp(38px, 5vw, 60px);
  font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.contact-hero-inner h1 em { color: var(--gold); font-style: italic; }
.contact-hero-inner p { font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.75; }

.contact-body { padding: 80px 5%; display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }

/* contact form */
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 44px;
}
.form-title { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--text-light); margin-bottom: 32px; font-weight: 300; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-mid); letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.form-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; font-family: var(--sans); font-size: 14px;
  color: var(--text-dark); background: var(--cream); outline: none;
  transition: border-color 0.2s; display: block;
}
.form-input:focus { border-color: var(--maroon); background: var(--white); }
textarea.form-input { min-height: 130px; resize: vertical; }
select.form-input { cursor: pointer; -webkit-appearance: none; appearance: none; }
.form-submit {
  background: var(--maroon); color: var(--white);
  border: none; cursor: pointer; padding: 15px 40px;
  border-radius: var(--radius); font-family: var(--sans);
  font-size: 15px; font-weight: 500; transition: all 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.form-submit:hover { background: var(--maroon-dark); transform: translateY(-1px); }
.form-submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* contact sidebar */
.contact-info-card {
  background: var(--maroon-dark); border-radius: var(--radius-lg);
  padding: 36px; margin-bottom: 20px; position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1); pointer-events: none;
}
.contact-info-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 28px; position: relative; z-index: 1; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 17px; height: 17px; fill: var(--gold); }
.contact-info-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-val { font-size: 14px; color: var(--white); font-weight: 400; line-height: 1.5; }

.contact-hours-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 28px; margin-bottom: 20px;
}
.hours-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 18px; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-mid); margin-bottom: 10px; }
.hours-row .day { color: var(--text-light); }
.hours-row .time { font-weight: 500; }
.hours-row .open { color: #1D6B47; }

.contact-whatsapp-btn {
  width: 100%; background: #25D366; color: var(--white);
  border: none; cursor: pointer; padding: 15px;
  border-radius: var(--radius-lg); font-family: var(--sans);
  font-size: 15px; font-weight: 500; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-whatsapp-btn:hover { background: #1ebe59; }
.contact-whatsapp-btn svg { width: 20px; height: 20px; fill: var(--white); }

.contact-map {
  margin-top: 60px; padding: 0 5% 80px;
}
.contact-map h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--text-dark); margin-bottom: 24px; }
.map-embed {
  width: 100%; height: 360px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  background: var(--cream-dark); display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 12px;
  color: var(--text-light); font-size: 15px;
}
.map-embed svg { width: 40px; height: 40px; fill: var(--maroon); opacity: 0.25; }
.map-embed a { color: var(--maroon); font-weight: 500; }

/* ── CARD PLACEHOLDER IMAGES ─────────────────────────── */
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}

.img-ph-1 { background: linear-gradient(135deg, #2d4a2a 0%, #4a7a3a 100%); }
.img-ph-2 { background: linear-gradient(135deg, #2a2d4a 0%, #3a4a7a 100%); }
.img-ph-3 { background: linear-gradient(135deg, #4a2a2a 0%, #7a3a3a 100%); }
.img-ph-4 { background: linear-gradient(135deg, #4a3a2a 0%, #7a6a3a 100%); }
.img-ph-5 { background: linear-gradient(135deg, #2a4a4a 0%, #3a7a7a 100%); }
.img-ph-6 { background: linear-gradient(135deg, #3a2a4a 0%, #6a3a7a 100%); }

.ph-label {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  text-align: center;
  font-family: var(--serif); font-size: 15px; color: rgba(255,255,255,0.7);
  font-style: italic;
}


/* ── MOBILE TOGGLE ──────────────────────────────────── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  transition: all 0.3s ease;
}

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

/* ── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 72px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.mobile-close {
  background: none;
  border: none;
  color: var(--maroon);
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}

.mobile-menu-inner a {
  font-family: var(--serif); font-size: 28px; font-weight: 600;
  color: var(--text-dark); text-decoration: none;
}

.mobile-menu-inner a.active { color: var(--maroon); }

.mobile-sep { width: 40px; height: 1px; background: var(--border); }

.nav-cta-mobile {
  background: var(--maroon); color: var(--white) !important;
  padding: 12px 36px; border-radius: 100px;
  font-family: var(--sans) !important; font-size: 16px !important;
}

body.no-scroll { overflow: hidden; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

.logo-footer {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.logo-footer:hover {
  opacity: 1;
}

.nav-logo img {
  display: block;
}

/* ── ADDITIONAL MOBILE RESPONSIVENESS ─────────────────── */
@media (max-width: 960px) {
  .about-hero { grid-template-columns: 1fr; padding-top: 120px; text-align: center; }
  .about-hero-stats { margin-top: 30px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-visual { height: 320px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  
  .timeline::before { left: 20px; transform: none; }
  .timeline-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .timeline-item:nth-child(odd) .tl-text, 
  .timeline-item:nth-child(even) .tl-text { text-align: left; grid-column: 2; }
  .timeline-item:nth-child(odd) .tl-empty,
  .timeline-item:nth-child(even) .tl-empty { display: none; }
  .tl-dot { grid-column: 1 !important; }
  
  .contact-body { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .contact-sidebar { order: -1; }
  
  .detail-body { grid-template-columns: 1fr; gap: 40px; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .gallery-main { grid-row: 1; }
  .gallery-thumb { display: none; }
  
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .about-hero-stats { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .contact-info-card { padding: 24px; }
  .contact-info-card::before { display: none; }
  
  .detail-specs-bar { flex-direction: column; }
  .detail-spec { border-right: none; border-bottom: 1px solid var(--border); }
  .detail-spec:last-child { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
  
  .similar-grid { grid-template-columns: 1fr; }
}

/* ── VIDEO COMPONENTS ─────────────────────────────────── */
.video-section {
  padding: 100px 5%;
  background: var(--maroon-dark);
  position: relative;
  overflow: hidden;
}

.video-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  width: 100%;
  min-height: 300px;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.video-overlay-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  max-width: 400px;
  pointer-events: none;
}

.video-overlay-text h3 {
  font-family: var(--serif);
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}

.video-overlay-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .video-overlay-text {
    position: static;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    max-width: 100%;
    text-align: center;
  }
  .video-container {
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: auto;
  }
}
