@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --ink: #0d0d0d;
  --bone: #f5f2ee;
  --stone: #9e9589;
  --gold: #b8965a;
  --gold-light: #d4b07a;
  --warm-white: #faf8f5;
  --dark: #1a1814;
  --border: rgba(158,149,137,0.25);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--warm-white) !important;
  padding: 10px 22px !important;
  border-radius: 2px;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold) !important; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: all .3s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 80px;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1rem; color: var(--stone); line-height: 1.7;
  max-width: 420px; margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero-right:hover img { transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.15) 0%, transparent 60%);
}

.hero-stats {
  position: absolute; bottom: 40px; left: 40px;
  display: flex; gap: 2px; z-index: 2;
}
.stat-pill {
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-left: 2px solid var(--gold);
}
.stat-pill strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300;
  color: var(--ink); line-height: 1;
}
.stat-pill span { font-size: 0.72rem; letter-spacing: 0.05em; color: var(--stone); text-transform: uppercase; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer; border: none;
  transition: all .25s;
}
.btn-dark {
  background: var(--ink); color: var(--warm-white);
}
.btn-dark:hover { background: var(--dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-gold {
  background: var(--gold); color: var(--warm-white);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  background: transparent; color: var(--warm-white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.section-label::before, .section-label::after {
  content: ''; display: block; width: 24px; height: 1px; background: var(--gold);
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; color: var(--ink); line-height: 1.1;
}
.section-header p {
  font-size: 1rem; color: var(--stone); margin-top: 16px;
  max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ─── SECTIONS ─── */
section { padding: 100px 80px; }
section.dark {
  background: var(--dark); color: var(--warm-white);
}
section.dark .section-header h2 { color: var(--warm-white); }
section.dark p { color: rgba(250,248,245,0.65); }

/* ─── PROJECT CARDS ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2px;
}
.project-card {
  position: relative; overflow: hidden;
  background: var(--bone);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.project-card-img {
  aspect-ratio: 4/3; overflow: hidden;
}
.project-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }

.project-card-body { padding: 32px; }
.project-badge {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 1px;
  margin-bottom: 16px; font-weight: 500;
}
.badge-active { background: rgba(184,150,90,0.12); color: var(--gold); border: 1px solid var(--gold); }
.badge-delivered { background: rgba(13,13,13,0.06); color: var(--stone); border: 1px solid var(--border); }

.project-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400; margin-bottom: 8px;
}
.project-card-meta {
  font-size: 0.82rem; color: var(--stone); margin-bottom: 24px; line-height: 1.5;
}
.project-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.project-card-location {
  font-size: 0.78rem; color: var(--stone); display: flex; align-items: center; gap: 6px;
}
.project-card-location svg { width: 14px; height: 14px; }
.project-card-arrow {
  width: 36px; height: 36px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--stone); transition: all .25s;
}
.project-card:hover .project-card-arrow {
  background: var(--ink); border-color: var(--ink); color: var(--warm-white);
}

/* ─── PROCESS STEPS ─── */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 64px;
}
.step {
  padding: 40px; border-left: 1px solid var(--border);
  position: relative;
}
.step:first-child { border-left: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300; color: var(--gold);
  opacity: 0.3; line-height: 1; margin-bottom: 16px;
}
.step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; margin-bottom: 12px;
}
.step p { font-size: 0.88rem; color: var(--stone); line-height: 1.6; }

/* ─── CONTACT FORM ─── */
.form-group { margin-bottom: 20px; }
label {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 8px; font-weight: 500;
}
input, select, textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bone); border: 1px solid var(--border);
  border-radius: 2px; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; color: var(--ink);
  transition: border-color .2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  color: rgba(250,248,245,0.6);
  padding: 60px 80px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--warm-white); margin-bottom: 16px;
}
.footer-brand-name span { color: var(--gold); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-white); margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem; color: rgba(250,248,245,0.5);
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(250,248,245,0.4); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--warm-white); }

/* ─── WHATSAPP FAB ─── */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-fab svg { width: 26px; height: 26px; fill: white; }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  padding-left: 80px; padding-right: 80px;
  background: var(--bone);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--stone); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--border); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.05; color: var(--ink);
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 1rem; color: var(--stone); margin-top: 20px;
  max-width: 560px; line-height: 1.7;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .nav-links.open a { padding: 14px 24px; }
  .nav-burger { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 24px; }
  section { padding: 60px 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 24px 60px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}
