:root {
  --cream: #F7F3EE;
  --cream-dark: #EDE6DC;
  --sage: #6B7F63;
  --sage-dark: #4A5A44;
  --sage-light: #A3B59A;
  --terracotta: #C17F59;
  --terracotta-dark: #A36645;
  --forest: #2C3828;
  --ink: #2A2A26;
  --muted: #6B6560;
  --white: #FFFcf8;
  --gold: #C9A96E;
  --shadow: 0 20px 50px rgba(44, 56, 40, 0.08);
  --shadow-lg: 0 30px 80px rgba(44, 56, 40, 0.12);
}

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

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 127, 99, 0.12);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(44,56,40,0.08); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--forest);
}
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; background: #F7F3EE; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 450;
  letter-spacing: 0.02em;
}
.nav-links a { color: var(--forest); opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.nav-links a:hover { opacity: 1; color: var(--terracotta); }

.nav-cta {
  background: var(--sage-dark);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--forest); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--forest);
  display: block;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(193,127,89,0.08), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(107,127,99,0.1), transparent 60%);
  pointer-events: none;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--forest);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-dark); color: var(--white); }
.btn-primary:hover { background: var(--forest); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1px solid rgba(74,90,68,0.3);
}
.btn-ghost:hover { border-color: var(--sage-dark); background: rgba(107,127,99,0.08); }
.btn-whatsapp { background: #128C7E; color: white; }
.btn-whatsapp:hover { background: #075E54; }

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-meta div { font-size: 0.82rem; color: var(--muted); }
.hero-meta strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--forest);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}
.hero-visual .main-img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px 28px 80px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 230px;
}
.hero-badge small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }
.hero-badge p { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--forest); line-height: 1.35; margin-top: 4px; }

/* SECTIONS */
section { padding: 96px 0; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 18px;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 640px; }

/* ABOUT */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-photo {
  border-radius: 24px;
  height: 620px;
  width: 100%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: var(--shadow);
}
.about p { margin-bottom: 16px; color: var(--ink); }
.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.cred {
  background: var(--cream);
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 3px solid var(--sage);
}
.cred strong { display: block; font-size: 0.92rem; color: var(--forest); }
.cred span { font-size: 0.8rem; color: var(--muted); }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107,127,99,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(107,127,99,0.12);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 10px;
}
.card p { font-size: 0.95rem; color: var(--muted); }
.card ul { margin-top: 14px; padding-left: 18px; color: var(--ink); font-size: 0.9rem; }
.card li { margin-bottom: 6px; }

/* RESEARCH */
.research { background: var(--forest); color: var(--cream); }
.research h2, .research .section-label { color: var(--cream); }
.research .section-label { color: var(--gold); }
.research .lede { color: rgba(247,243,238,0.75); }
.pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.pub {
  background: rgba(255,252,248,0.06);
  border: 1px solid rgba(255,252,248,0.1);
  padding: 22px 24px;
  border-radius: 16px;
}
.pub h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.pub .meta { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.04em; }

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-top: 20px;
}
.why-photo {
  border-radius: 24px;
  height: 520px;
  width: 100%;
  object-fit: cover;
  object-position: center 60%;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 14px;
  margin-top: 44px;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(transparent, rgba(44,56,40,0.72));
  color: #FFFcf8;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.g1 { grid-column: 1; grid-row: 1 / 3; }
.g1 img { object-position: center 15%; }
.g2 img { object-position: center 40%; }
.g3 img { object-position: center 35%; }
.g4 img { object-position: center 55%; }
.g5 img { object-position: center 50%; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.stat {
  background: var(--white);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}
.stat b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--sage-dark);
  display: block;
}
.stat span { font-size: 0.8rem; color: var(--muted); }

/* MARKET */
.market {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.m-card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.m-card b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 6px;
}
.m-card p { font-size: 0.88rem; color: var(--muted); }

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 36px;
}
.contact-card {
  background: var(--white);
  padding: 36px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
form { display: grid; gap: 14px; }
label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(74,90,68,0.2);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--sage-light);
  border-color: var(--sage);
}
.contact-info p { margin-bottom: 10px; }
.contact-info a { color: var(--sage-dark); font-weight: 500; }
.contact-info a:hover { color: var(--terracotta); }

/* FOOTER */
footer {
  background: var(--forest);
  color: rgba(247,243,238,0.8);
  padding: 48px 0 28px;
  font-size: 0.88rem;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.foot-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--cream);
}
.copyright { border-top: 1px solid rgba(255,252,248,0.1); padding-top: 18px; font-size: 0.78rem; opacity: 0.7; }

/* MOBILE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--cream);
    padding: 20px 6%;
    border-bottom: 1px solid rgba(107,127,99,0.15);
  }
  .hamburger { display: flex; }
  .hero, .about-grid, .why-grid, .contact-wrap, .pub-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-visual .main-img { height: 420px; }
  .hero-badge { left: 16px; bottom: 16px; }
  .services-grid, .market-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .about-photo, .why-photo { height: 380px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .g1 { grid-column: 1 / 3; grid-row: 1; }
}
