:root {
  color-scheme: light;
  --ink: #20201d;
  --muted: #6f6d65;
  --line: #ddd8ce;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --forest: #244638;
  --moss: #6c7f52;
  --clay: #b85f35;
  --gold: #c9933b;
  --shadow: 0 22px 70px rgba(32, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 24, 19, 0.78), rgba(15, 24, 19, 0));
}

.brand,
.nav,
.hero-actions,
.closing-stats,
.tabs,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 253, 248, 0.34);
  background: rgba(15, 24, 19, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
}

.header-cta {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 144px clamp(20px, 7vw, 96px) 92px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -1;
  background: var(--forest);
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(19, 28, 23, 0.82), rgba(19, 28, 23, 0.3) 56%, rgba(19, 28, 23, 0.65)),
    linear-gradient(0deg, rgba(19, 28, 23, 0.82), rgba(19, 28, 23, 0) 55%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-content {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy {
  max-width: 580px;
  margin-inline: auto;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(19px, 2.5vw, 28px);
  line-height: 1.28;
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button.primary {
  color: var(--white);
  background: var(--clay);
}

.button.secondary {
  border: 1px solid currentColor;
  color: inherit;
  background: rgba(255, 253, 248, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics article {
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.metrics span,
.location-card span,
.demand-grid span,
.result span,
.closing-stats span,
.footer {
  color: var(--muted);
  font-size: 14px;
}

.tabs {
  position: sticky;
  z-index: 4;
  top: 0;
  justify-content: center;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.tabs a {
  min-width: 160px;
  padding: 18px 28px;
  text-align: center;
  background: var(--paper);
  font-weight: 800;
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 7vw, 96px);
}

.split {
  display: grid;
  max-width: 1060px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: center;
}

.copy-stack {
  max-width: 860px;
  margin-inline: auto;
  color: #3f3e39;
  font-size: 18px;
  line-height: 1.72;
}

.location-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.location-card {
  padding: clamp(24px, 4vw, 46px);
  background: var(--forest);
  color: var(--white);
}

.location-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 3vw, 36px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.demand {
  background: var(--white);
}

.demand-grid,
.steps-grid,
.reasons-grid,
.finance-grid,
.business-grid {
  display: grid;
  gap: 18px;
}

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

.business-model {
  background: var(--white);
}

.business-grid {
  grid-template-columns: repeat(4, 1fr);
}

.demand-grid article,
.steps-grid article,
.reasons-grid article,
.finance-grid article,
.business-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.business-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--clay);
  border-radius: 50%;
  font-size: 16px;
}

.business-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.business-grid article,
.steps-grid article,
.reasons-grid article,
.finance-grid article,
.demand-grid article {
  text-align: center;
}

.business-grid strong,
.steps-grid span {
  margin-inline: auto;
}

.vaca-muerta {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  background: #1f2f27;
  color: var(--white);
}

.vaca-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.vaca-image img {
  height: min(56vw, 520px);
  min-height: 340px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.demand-grid strong {
  display: block;
  margin: 18px 0;
  color: var(--clay);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.9;
}

.finance {
  background: var(--white);
}

.finance-grid article {
  background: var(--paper);
}

.finance-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.finance-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--forest);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.note {
  max-width: 860px;
  margin: 34px auto 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.steps-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-weight: 800;
}

.simulator {
  background: #e7e0d3;
}

.simulator-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding: clamp(26px, 5vw, 58px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.simulator-intro {
  grid-column: 1 / -1;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.simulator-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.calculator {
  display: grid;
  gap: 22px;
}

.calculator label,
.result {
  display: grid;
  gap: 10px;
}

.calculator input[type="number"] {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 28px;
  font-weight: 800;
  outline: 0;
}

.money-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.money-field span {
  color: var(--muted);
  font-weight: 800;
}

.calculator input[type="range"] {
  accent-color: var(--clay);
}

.calculator small {
  color: var(--muted);
}

.result {
  padding: 24px;
  background: var(--forest);
  color: var(--white);
}

.result strong {
  font-size: clamp(28px, 4vw, 42px);
}

.chart-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  background: #f5f6f4;
}

.chart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.chart-head h3 {
  max-width: 360px;
  color: #4d4d4a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.chart-head p {
  margin: 0;
  color: #4d4d4a;
  text-align: right;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}

.chart-head strong {
  display: block;
}

.chart-plot {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  min-height: 360px;
}

.chart-axis {
  position: relative;
  display: grid;
  align-content: stretch;
  color: #3f4746;
  font-weight: 700;
}

.axis-line {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 14px;
  transform: translateY(50%);
}

.axis-line::after {
  content: "";
  width: 14px;
  height: 1px;
  background: #d7d7d4;
}

.chart-bars {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(8px, 1.4vw, 17px);
  min-width: 0;
  padding-top: 8px;
  border-bottom: 2px solid #ddddda;
  background-image: linear-gradient(to top, #ddddda 1px, transparent 1px);
  background-size: 100% 25%;
}

.bar-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 5px;
  height: 100%;
  min-width: 0;
}

.bar {
  min-height: 8px;
  border-radius: 999px 999px 0 0;
}

.bar.garabi {
  background: #244638;
}

.bar.traditional {
  background: #d9783d;
}

.chart-years {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  color: #39403f;
  font-weight: 800;
}

.year-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(8px, 1.4vw, 17px);
  text-align: center;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: #4d4d4a;
  font-size: 16px;
  font-weight: 700;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-legend i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.legend-garabi {
  background: #244638;
}

.legend-traditional {
  background: #d9783d;
}

.chart-note {
  margin: 0;
  color: #555550;
  font-size: 15px;
  line-height: 1.7;
}

.video-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--forest);
  color: var(--white);
}

.video-block p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.78);
  font-size: 18px;
  line-height: 1.6;
}

.image-mosaic {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 14px;
}

.image-mosaic img {
  height: 420px;
  object-fit: cover;
  background: var(--paper);
}

.image-mosaic img:first-child {
  padding: 22px;
  object-fit: contain;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
  padding-top: 0;
  background: var(--forest);
}

.gallery-strip img {
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
}

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

.reasons-grid article {
  background: var(--white);
}

.documents {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--white);
}

.doc-list {
  display: grid;
  gap: 12px;
}

.doc-list a {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}

.faq-layout {
  display: grid;
  gap: 12px;
}

.search,
details {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
}

.search {
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
}

summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.closing {
  display: grid;
  gap: 28px;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 7vw, 96px);
  background: #1f2f27;
  color: var(--white);
}

.closing h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.closing-stats {
  flex-wrap: wrap;
  gap: 12px;
}

.closing-stats span {
  padding: 14px 18px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  color: rgba(255, 253, 248, 0.78);
}

.closing-stats strong {
  color: var(--white);
}

.footer {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 7vw, 96px);
  background: #17231d;
  color: rgba(255, 253, 248, 0.7);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
  }

  .metrics,
  .location-band,
  .demand-grid,
  .finance-grid,
  .business-grid,
  .steps-grid,
  .reasons-grid,
  .split,
  .simulator-panel,
  .video-block,
  .documents,
  .vaca-muerta,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .tabs {
    overflow-x: auto;
    justify-content: start;
  }

  .tabs a {
    min-width: 132px;
    padding-inline: 20px;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .image-mosaic img {
    height: 300px;
  }

  .gallery-strip {
    padding-top: 58px;
  }

  .vaca-image img {
    height: 340px;
  }

  .chart-head {
    display: grid;
    text-align: center;
  }

  .chart-head h3 {
    max-width: none;
    margin-bottom: 0;
  }

  .chart-head p {
    text-align: center;
  }

  .chart-plot {
    grid-template-columns: 64px 1fr;
    min-height: 300px;
  }

  .chart-years {
    grid-template-columns: 64px 1fr;
  }

  .chart-bars,
  .year-track {
    gap: 7px;
  }

  .chart-legend {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  .section {
    padding-block: 58px;
  }

  .metrics article,
  .demand-grid article,
  .business-grid article,
  .finance-grid article,
  .steps-grid article,
  .reasons-grid article {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .copy-stack,
  .vaca-copy p:not(.eyebrow),
  .simulator-intro p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.65;
  }

  .chart-card {
    padding: 16px;
  }

  .chart-plot {
    grid-template-columns: 54px 1fr;
    min-height: 260px;
  }

  .chart-years {
    grid-template-columns: 54px 1fr;
    font-size: 12px;
  }

  .axis-line {
    font-size: 12px;
    gap: 6px;
  }

  .chart-bars,
  .year-track {
    gap: 4px;
  }

  .bar-pair {
    gap: 2px;
  }

  .chart-legend,
  .chart-note {
    font-size: 13px;
  }
}
