/* Vheterodoxical — Diseño de Jardines (landscape design studio) — dark emerald */

:root {
  --bg: #0e1614;
  --bg-soft: #182320;
  --bg-card: #1f2b27;
  --ink: #ece4d3;
  --ink-dim: #a8aea4;
  --ink-mute: #6e7570;
  --bone: #ece4d3;
  --bone-dim: #d4caaf;
  --line: rgba(236,228,211,0.14);
  --line-strong: rgba(236,228,211,0.28);
  --emerald: #5e8b6d;
  --emerald-deep: #3d6b4e;
  --gold: #c79d56;
  --terra-soft: #c2825c;
  --font-display: 'Newsreader', 'Georgia', serif;
  --font-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--bone);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 300; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}
.serif-it { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--gold); }

.container { width: min(1280px, 92%); margin: 0 auto; }
.container-narrow { width: min(840px, 90%); margin: 0 auto; }
section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50; padding: 20px 0;
  background: rgba(14, 22, 20, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--bone);
  display: inline-flex; align-items: center; gap: 10px;
}
.logo small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}
.logo-mark {
  width: 32px; height: 32px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}
.nav-links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--ink-dim); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-cta {
  padding: 11px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }
.menu-btn { display: none; background: none; border: 0; color: var(--bone); }

/* Btn */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--bone); }
.btn-line { background: transparent; color: var(--bone); border: 1px solid var(--line-strong); }
.btn-line:hover { background: var(--bone); color: var(--bg); border-color: var(--bone); }
.btn .arrow { display: inline-block; position: relative; width: 22px; height: 1px; background: currentColor; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* HERO — split full-bleed */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.hero-text {
  padding: 140px 60px 60px;
  display: flex; flex-direction: column; justify-content: end;
  background: var(--bg);
}
.hero-text h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 24px 0 22px; }
.hero-text h1 em { font-style: italic; color: var(--gold); }
.hero-text p { color: var(--ink-dim); max-width: 480px; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; }
.hero-img {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,22,20,0.5) 0%, transparent 30%);
}
.hero-num {
  position: absolute;
  bottom: 40px; left: 60px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5rem;
  color: var(--bone);
  opacity: 0.18;
  pointer-events: none;
}

/* Statement */
.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.32;
  color: var(--bone);
  max-width: 900px;
}
.statement em { font-style: italic; color: var(--gold); }

/* Projects grid (asymmetric) */
.projects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.project {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}
.project img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s cubic-bezier(.2,.7,.2,1);
  filter: brightness(0.85);
}
.project:hover img { transform: scale(1.05); filter: brightness(1); }
.project .info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(14,22,20,0.96), transparent);
  color: var(--bone);
}
.project .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project h3 { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--bone); }
.project.a { grid-column: 1/4; aspect-ratio: 4/3; }
.project.b { grid-column: 4/7; aspect-ratio: 4/3; }
.project.c { grid-column: 1/3; aspect-ratio: 1; }
.project.d { grid-column: 3/5; aspect-ratio: 1; }
.project.e { grid-column: 5/7; aspect-ratio: 1; }
.project.f { grid-column: 1/5; aspect-ratio: 16/9; }
.project.g { grid-column: 5/7; aspect-ratio: 1; }

/* Service grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.service-card {
  border: 1px solid var(--line);
  padding: 40px 36px;
  display: flex; gap: 24px;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover { border-color: var(--gold); background: var(--bg-soft); }
.service-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  min-width: 60px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--ink-dim); margin: 0; font-size: 0.94rem; }

/* Styles list */
.styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.style {
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.4s;
}
.style:hover { transform: translateY(-8px); }
.style .pic { aspect-ratio: 4/3; overflow: hidden; }
.style .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.style:hover img { transform: scale(1.06); }
.style .body { padding: 28px; }
.style h3 { font-family: var(--font-display); font-style: italic; }
.style p { color: var(--ink-dim); margin: 12px 0 0; font-size: 0.94rem; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
}
.stats .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 14px;
}

/* Quote */
.quote-block {
  background: var(--bg-soft);
  padding: 100px 60px;
  text-align: center;
  border-radius: 0;
  border: 1px solid var(--line);
}
.quote-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.45;
  color: var(--bone);
  max-width: 820px;
  margin: 0 auto;
}
.quote-block .signature {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 30px;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: brightness(0.92); }
.member h4 { font-family: var(--font-display); font-size: 1.2rem; margin: 16px 0 4px; }
.member .role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }

/* Page sub-hero */
.page-hero {
  padding: 180px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 18ch; margin: 22px auto 18px; }
.page-hero p { color: var(--ink-dim); max-width: 600px; margin: 0 auto; font-size: 1.04rem; }

/* Project detail */
.pd-hero {
  height: 80vh; min-height: 540px;
  background-size: cover; background-position: center;
  position: relative;
  margin-top: 80px;
}
.pd-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,22,20,0.2), rgba(14,22,20,0.5));
}
.pd-hero-cap {
  position: absolute;
  bottom: 60px; left: 60px;
  color: var(--bone);
  z-index: 1;
}
.pd-spec {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}
.pd-spec dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.pd-spec dd { margin: 0; font-family: var(--font-display); font-size: 1.4rem; color: var(--bone); }
.pd-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  padding: 50px 0;
}
.pd-body p { color: var(--ink-dim); font-size: 1.04rem; margin: 0 0 16px; }
.pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.pd-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pd-gallery .full { grid-column: 1 / -1; aspect-ratio: 16/9; }

/* CTA */
.cta-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 100px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--ink-dim); max-width: 580px; margin: 0 auto 30px; }

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex; flex-direction: column; gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 12px 14px;
  font-family: inherit; font-size: 0.98rem;
  outline: none; transition: border-color 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.checkbox-row { display: flex; align-items: start; gap: 12px; font-size: 0.88rem; color: var(--ink-dim); line-height: 1.5; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.checkbox-row a { color: var(--gold); text-decoration: underline; }

/* Map */
.map-wide {
  width: 100%; height: 480px;
  border: 1px solid var(--line);
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7);
}
.map-wide iframe { width: 100%; height: 100%; border: 0; }

/* Cookie */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 760px; margin: 0 auto;
  background: var(--bone); color: var(--bg);
  padding: 18px 22px;
  display: flex; gap: 18px; align-items: center;
  z-index: 60;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.in { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.88rem; flex: 1; }
.cookie-banner a { color: var(--emerald-deep); text-decoration: underline; }
.cookie-banner .btns { display: flex; gap: 8px; }
.cookie-banner button { padding: 9px 16px; font-family: inherit; font-size: 0.85rem; border: 0; }
.cookie-banner .accept { background: var(--bg); color: var(--bone); }
.cookie-banner .deny { background: transparent; color: var(--bg); border: 1px solid rgba(14,22,20,0.4); }

/* Legal */
.legal {
  background: var(--bg-card);
  padding: 60px 56px;
  border: 1px solid var(--line);
  max-width: 880px;
  margin: 0 auto;
}
.legal h2 { margin: 40px 0 14px; font-size: 1.5rem; font-style: italic; color: var(--gold); }
.legal h3 { margin: 24px 0 10px; font-size: 1.1rem; color: var(--bone); }
.legal p { color: var(--ink-dim); margin: 0 0 14px; }
.legal ul, .legal ol { color: var(--ink-dim); padding-left: 22px; }
.legal ul li, .legal ol li { margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.92rem; }
.legal th { text-align: left; padding: 10px 12px; background: var(--bg); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); }
.legal td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.legal-meta { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.legal a { color: var(--gold); text-decoration: underline; }

/* Footer */
footer { padding: 80px 0 36px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.foot-top h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-dim); font-size: 0.92rem; }
.foot-top a:hover { color: var(--bone); }
.foot-logo { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--bone); display: inline-flex; align-items: center; gap: 10px; }
.foot-intro { color: var(--ink-dim); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; max-width: 360px; margin-top: 18px; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; color: var(--bone); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.socials svg { width: 16px; height: 16px; }
.foot-bottom { margin-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; }
.foot-bottom a:hover { color: var(--gold); }

/* Animation */
.fade { opacity: 1; transform: none; transition: opacity 1s, transform 1s; }
.js .fade { opacity: 0; transform: translateY(36px); }
.js .fade.in, .fade.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }

/* Curtain */
.curtain { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: grid; place-items: center; pointer-events: none; }
.curtain-logo { width: 50px; height: 50px; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }

/* Mobile */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-text { padding: 130px 30px 60px; }
  .hero-img { height: 60vh; }
  .projects { grid-template-columns: 1fr; }
  .project.a, .project.b, .project.c, .project.d, .project.e, .project.f, .project.g { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .services-grid, .team, .styles { grid-template-columns: 1fr; }
  .styles { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pd-spec { grid-template-columns: 1fr 1fr; }
  .pd-body { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .legal { padding: 30px 22px; }
}
