/* ── RESET & BASE ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #2A3028;
  background: #F4F6F2;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  --beige:      #ECF0EB;
  --beige-mid:  #DDE4DC;
  --beige-dark: #C8D4C6;
  --gold:       #6B8F71;
  --gold-light: #9BB89F;
  --white:      #FFFFFF;
  --dark:       #1A2835;
  --text:       #2A3028;
  --text-soft:  #717B6F;
  --max:        1100px;
}

/* ── NAV ──────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244,246,242,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-mid);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.04em;
}
.nav-logo span { color: var(--gold); }
.nav-logo-tag { font-family: 'Inter', sans-serif; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); margin-left: 9px; font-style: normal; vertical-align: middle; opacity: 0.75; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-soft);
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
}
.nav-wa {
  background: var(--gold); color: var(--white);
  padding: 9px 22px; border-radius: 2px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; transition: background 0.2s; white-space: nowrap;
}
.nav-wa:hover { background: #567560; color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text); transition: 0.3s; }

/* ── PAGE WRAPPER ─────────────────────────────────────────────────────── */
.page-wrap { padding-top: 68px; }

/* ── PAGE HERO (inner pages) ──────────────────────────────────────────── */
.page-hero {
  background: var(--beige);
  padding: 72px 40px 56px;
  text-align: center;
  border-bottom: 1px solid var(--beige-mid);
}
.page-hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.2;
}
.page-hero p {
  margin-top: 16px; font-size: 0.95rem; color: var(--text-soft);
  max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.9;
}

/* ── SECTION UTILS ────────────────────────────────────────────────────── */
.section { padding: 80px 40px; }
.section-sm { padding: 56px 40px; }
.section-dark { background: var(--dark); color: var(--white); }
.section-beige { background: var(--beige); }
.section-white { background: var(--white); }
.container { max-width: var(--max); margin: 0 auto; }
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.3;
  margin-bottom: 48px;
}
.section-title.centered { text-align: center; }
.section-title.light { color: var(--white); }
.section-eyebrow.light { color: var(--gold-light); }

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 2px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; transition: all 0.2s; cursor: pointer;
  border: none; font-family: 'Inter', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #567560; color: var(--white); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1EB854; color: var(--white); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.3); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ── PROJECT CARDS ────────────────────────────────────────────────────── */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--beige-mid); background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.project-thumb {
  height: 210px; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb-placeholder {
  font-size: 0.75rem; color: var(--text-soft);
  letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 20px;
}
.tag {
  position: absolute; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.tag-district { top: 12px; left: 12px; background: var(--dark); color: var(--white); }
.tag-status { top: 12px; right: 12px; color: var(--white); }
.tag-preview { background: var(--gold); }
.tag-selling { background: #4A7C59; }
.tag-new { background: #C0392B; }
.project-info { padding: 22px; }
.project-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 600; margin-bottom: 4px;
}
.project-loc { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 16px; }
.project-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 0.75rem; color: var(--text-soft);
  border-top: 1px solid var(--beige-mid); padding-top: 14px; margin-bottom: 16px;
}
.project-meta span strong { display: block; color: var(--text); font-weight: 600; font-size: 0.82rem; }
.project-meta span { font-weight: 500; color: var(--text); }
.project-meta .meta-label { font-size: 0.67rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-soft); opacity: 0.7; display: block; margin-top: 1px; }
.project-cta {
  display: block; text-align: center; padding: 10px;
  background: var(--beige); border-radius: 2px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); transition: all 0.2s;
}
.project-cta:hover { background: var(--gold); color: var(--white); }

/* ── New-style project cards (batch 2+) ── */
.card-header { padding: 22px 20px 16px; background: linear-gradient(135deg, var(--beige) 0%, var(--beige-mid) 100%); min-height: 118px; display: flex; flex-direction: column; justify-content: flex-end; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.card-tags .tag { position: static; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }
.tag-status { background: #4A7C59; color: white; }
.tag-district { background: var(--dark); color: white; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.card-sub { font-size: 0.76rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 0; }
.card-desc { font-size: 0.8rem; color: var(--text-soft); line-height: 1.75; padding: 12px 20px 0; font-style: italic; }
.card-facts { padding: 14px 20px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--beige-mid); margin-top: 14px; }
.cf { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.75rem; }
.cf-l { color: var(--text-soft); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.67rem; }
.cf-v { font-weight: 600; color: var(--text); text-align: right; }
.card-link { display: block; text-align: center; padding: 11px; margin: 0 20px 20px; background: var(--beige); border-radius: 2px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); transition: all 0.2s; }
.card-link:hover { background: var(--gold); color: white; }

/* ── FILTER BAR ───────────────────────────────────────────────────────── */
.filter-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid var(--beige-dark);
  background: var(--white); font-size: 0.76rem;
  font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: all 0.2s; color: var(--text-soft);
  font-family: 'Inter', sans-serif;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--gold); border-color: var(--gold); color: var(--white);
}

/* ── TESTIMONIAL CARDS ────────────────────────────────────────────────── */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 32px 28px;
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; line-height: 1; color: var(--gold-light); margin-bottom: 8px;
}
.testimonial-text {
  font-size: 0.9rem; line-height: 1.9;
  color: rgba(255,255,255,0.8); margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
.testimonial-role { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 3px; }
.stars { color: var(--gold-light); font-size: 0.8rem; margin-bottom: 12px; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer {
  background: var(--dark); color: rgba(255,255,255,0.45);
  padding: 48px 40px 32px; text-align: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--white); margin-bottom: 20px;
}
.footer-logo span { color: var(--gold-light); }
.footer-nav {
  display: flex; justify-content: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.footer-nav a {
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 28px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.footer-social a:hover { border-color: var(--gold-light); }
.footer-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.55); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0 0 20px; }
.footer-legal { font-size: 0.68rem; line-height: 1.9; }

/* ── WHATSAPP FLOAT ───────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35); transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ── MOBILE ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-wa { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 24px; }
  .section-sm { padding: 40px 24px; }
  .page-hero { padding: 56px 24px 40px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
}
