:root {
  --forest: #123c2d;
  --forest-deep: #09291e;
  --forest-ink: #071f18;
  --green: #2f6b4f;
  --leaf: #79a86b;
  --leaf-soft: #a8c19b;
  --cream: #f4f1e8;
  --sand: #d9c9a3;
  --warm-white: #fcfcf8;
  --charcoal: #1d2923;
  --muted: #647169;
  --line: rgba(29, 41, 35, 0.14);
  --shadow-sm: 0 12px 35px rgba(7, 31, 24, 0.1);
  --shadow-lg: 0 30px 80px rgba(5, 27, 20, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 76px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--sand);
  color: var(--forest-deep);
}

:focus-visible {
  outline: 3px solid #e6c979;
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--warm-white);
  color: var(--forest-deep);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  position: relative;
  padding-block: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(252, 252, 248, 0.8);
  font-size: 0.71rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 1px;
  background: var(--sand);
}

.eyebrow-dark {
  color: var(--green);
}

.eyebrow-dark > span {
  background: var(--green);
}

.section-heading h2,
.project-copy h2,
.follow-copy h2,
.faq-intro h2,
.figures-copy h2,
.closing-inner h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 8vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 21px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--forest);
  color: var(--warm-white);
  box-shadow: 0 12px 28px rgba(18, 60, 45, 0.24);
}

.button-primary:hover {
  background: var(--forest-deep);
  box-shadow: 0 16px 32px rgba(18, 60, 45, 0.3);
}

.button-outline {
  border-color: rgba(18, 60, 45, 0.28);
  color: var(--forest);
}

.button-outline:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--warm-white);
}

.button-light {
  background: var(--warm-white);
  color: var(--forest-deep);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.button-light:hover {
  background: var(--cream);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--warm-white);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  background: rgba(252, 252, 248, 0.94);
  box-shadow: 0 8px 30px rgba(7, 31, 24, 0.09);
  color: var(--forest-deep);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(252, 252, 248, 0.28);
  border-radius: 50%;
  color: var(--sand);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.brand-mark .brand-vein {
  fill: none;
  stroke: var(--forest-deep);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.is-scrolled .brand-mark,
.menu-visible .brand-mark {
  border-color: rgba(18, 60, 45, 0.18);
  color: var(--green);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-copy small {
  margin-top: 3px;
  opacity: 0.68;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.menu-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(252, 252, 248, 0.28);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.is-scrolled .menu-toggle,
.menu-visible .menu-toggle {
  border-color: rgba(18, 60, 45, 0.18);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  z-index: 999;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 20px 40px;
  transform: translateX(102%);
  background: var(--warm-white);
  color: var(--forest-deep);
  transition: transform 230ms ease;
}

.site-nav.is-open {
  transform: translateX(0);
}

.site-nav > a {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.2;
}

.site-nav .nav-cta {
  width: 100%;
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  background: var(--forest);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 900px;
  overflow: hidden;
  align-items: stretch;
  color: var(--warm-white);
  background: var(--forest-deep);
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 60% center;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(5, 31, 23, 0.5) 0%, rgba(5, 31, 23, 0.1) 22%, rgba(5, 31, 23, 0.58) 100%),
    linear-gradient(90deg, rgba(4, 27, 20, 0.94) 0%, rgba(7, 36, 27, 0.8) 43%, rgba(6, 28, 22, 0.2) 78%, rgba(5, 24, 19, 0.15) 100%);
}

.hero-grid {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  padding-top: 122px;
  padding-bottom: 115px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 13vw, 6.9rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  margin-top: 8px;
  color: var(--sand);
  font-weight: inherit;
}

.hero-lead {
  max-width: 580px;
  margin: 25px 0 0;
  color: rgba(252, 252, 248, 0.78);
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.62;
}

.search-panel {
  width: 100%;
  max-width: 660px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(252, 252, 248, 0.96);
  box-shadow: var(--shadow-lg);
  color: var(--charcoal);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.search-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.search-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(47, 107, 79, 0.1);
  color: var(--green);
}

.search-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-kicker {
  margin: 0 0 1px;
  color: var(--green);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.search-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tree-search label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 750;
}

.search-row {
  display: grid;
  gap: 10px;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 21px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  min-height: 55px;
  border: 1px solid rgba(29, 41, 35, 0.2);
  border-radius: 10px;
  padding: 13px 14px 13px 46px;
  background: var(--warm-white);
  color: var(--forest-deep);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  outline: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-wrap input::placeholder {
  color: #8f9993;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.input-wrap input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 107, 79, 0.11);
}

.input-wrap input[aria-invalid="true"] {
  border-color: #a6463d;
  box-shadow: 0 0 0 4px rgba(166, 70, 61, 0.09);
}

.search-submit {
  width: 100%;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--warm-white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.search-submit.is-loading .spinner {
  display: block;
}

.search-submit:disabled {
  cursor: wait;
  opacity: 0.8;
}

.field-hint,
.field-error {
  margin: 8px 0 0;
  font-size: 0.69rem;
  line-height: 1.5;
}

.field-hint {
  color: #6c7871;
}

.field-error {
  color: #8e332d;
  font-weight: 650;
}

.offline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: #68736d;
}

.offline-note svg {
  flex: 0 0 19px;
  width: 19px;
  margin-top: 1px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.offline-note p {
  margin: 0;
  font-size: 0.69rem;
  line-height: 1.5;
}

.offline-note strong {
  color: var(--charcoal);
}

.search-result {
  margin-top: 15px;
  border-radius: 14px;
  padding: 17px;
  animation: result-in 240ms ease both;
}

.search-result.is-found {
  border: 1px solid rgba(47, 107, 79, 0.2);
  background: rgba(121, 168, 107, 0.12);
}

.search-result.is-empty,
.search-result.is-error {
  border: 1px solid rgba(166, 70, 61, 0.17);
  background: rgba(166, 70, 61, 0.07);
}

.result-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-status-icon {
  display: grid;
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--warm-white);
}

.is-empty .result-status-icon,
.is-error .result-status-icon {
  background: #8e4b43;
}

.result-status-icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.result-head strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.2;
}

.result-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.69rem;
}

.result-message {
  margin: 12px 0 0;
  color: #5d6862;
  font-size: 0.78rem;
  line-height: 1.55;
}

.result-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.result-actions .button {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 0.75rem;
}

.result-actions .button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  max-width: 740px;
  margin-top: 24px;
  color: rgba(252, 252, 248, 0.7);
  font-size: 0.69rem;
  font-weight: 600;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(217, 201, 163, 0.15);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 28px;
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(252, 252, 248, 0.68);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

/* Encontraste */
.found-section {
  overflow: hidden;
  background: var(--cream);
}

.found-section::before {
  position: absolute;
  top: -160px;
  right: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(47, 107, 79, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(47, 107, 79, 0.025), 0 0 0 90px rgba(47, 107, 79, 0.02);
  content: "";
}

.section-heading-split {
  display: grid;
  gap: 22px;
}

.section-heading-split p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  display: grid;
  gap: 0;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  min-height: 225px;
  border-top: 1px solid rgba(29, 41, 35, 0.16);
  padding: 34px 0 34px 76px;
}

.step:last-child {
  border-bottom: 1px solid rgba(29, 41, 35, 0.16);
}

.step-number {
  position: absolute;
  top: 36px;
  left: 0;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid rgba(47, 107, 79, 0.22);
  border-radius: 50%;
  color: var(--green);
}

.step-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.step h3 {
  margin: 0 0 9px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.step p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Proyecto */
.project-section {
  background: var(--warm-white);
}

.project-layout {
  display: grid;
  gap: 58px;
}

.project-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 54% 46%, rgba(121, 168, 107, 0.2), transparent 30%),
    linear-gradient(145deg, var(--forest) 0%, var(--forest-deep) 100%);
  box-shadow: var(--shadow-lg);
}

.project-visual::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(252, 252, 248, 0.7) 0.8px, transparent 0.8px);
  background-size: 19px 19px;
  content: "";
}

.tree-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 290px;
  height: 290px;
  transform: translate(-50%, -57%);
}

.tree-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(217, 201, 163, 0.42);
  border-radius: 47% 53% 46% 54% / 52% 43% 57% 48%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.tree-rings span:nth-child(1) { width: 100%; height: 100%; }
.tree-rings span:nth-child(2) { width: 80%; height: 76%; transform: translate(-50%, -50%) rotate(12deg); }
.tree-rings span:nth-child(3) { width: 59%; height: 62%; transform: translate(-50%, -50%) rotate(-14deg); }
.tree-rings span:nth-child(4) { width: 39%; height: 42%; transform: translate(-50%, -50%) rotate(8deg); }
.tree-rings span:nth-child(5) { width: 18%; height: 21%; transform: translate(-50%, -50%) rotate(-4deg); }

.tree-rings i {
  position: absolute;
  top: 51%;
  left: 51%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--sand);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(217, 201, 163, 0.13);
}

.coordinate-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid rgba(252, 252, 248, 0.13);
  border-radius: 12px;
  padding: 14px 15px;
  background: rgba(4, 28, 20, 0.72);
  color: var(--warm-white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.coordinate-tag span {
  color: var(--sand);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.coordinate-tag strong {
  font-size: 0.69rem;
  font-weight: 650;
}

.project-copy h2 {
  max-width: 700px;
}

.project-intro {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.capability-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.capability-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-list span {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.capability-list strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.capability-list small {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Trazabilidad */
.trace-section {
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--warm-white);
}

.trace-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    radial-gradient(circle at 85% 10%, rgba(121, 168, 107, 0.2), transparent 30%),
    radial-gradient(circle at 20% 85%, rgba(217, 201, 163, 0.11), transparent 34%);
}

.trace-pattern::after {
  position: absolute;
  top: -25%;
  right: -12%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(217, 201, 163, 0.13);
  border-radius: 42% 58% 50% 50%;
  box-shadow: 0 0 0 70px rgba(217, 201, 163, 0.035), 0 0 0 150px rgba(217, 201, 163, 0.025), 0 0 0 235px rgba(217, 201, 163, 0.016);
  content: "";
}

.trace-heading {
  position: relative;
  max-width: 780px;
}

.trace-heading p:last-child {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(252, 252, 248, 0.64);
}

.trace-line {
  position: relative;
  display: grid;
  gap: 0;
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
}

.trace-line::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 14px;
  width: 1px;
  background: linear-gradient(var(--sand), rgba(217, 201, 163, 0.15));
  content: "";
}

.trace-line li {
  position: relative;
  display: grid;
  min-height: 70px;
  align-items: center;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 11px 0;
}

.trace-line span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(217, 201, 163, 0.5);
  border-radius: 50%;
  background: var(--forest-deep);
  color: var(--sand);
  font-size: 0.51rem;
  font-weight: 800;
}

.trace-line strong {
  color: rgba(252, 252, 248, 0.84);
  font-size: 0.82rem;
  font-weight: 650;
}

/* Indicadores */
.figures-section {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.figures-layout {
  display: grid;
  gap: 35px;
}

.figures-copy h2 {
  max-width: 720px;
}

.figures-note {
  border-left: 1px solid rgba(47, 107, 79, 0.25);
  padding-left: 24px;
}

.figures-note > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.verified-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0 0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.verified-note svg {
  flex: 0 0 20px;
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

/* Seguimiento */
.follow-section {
  overflow: hidden;
  background: var(--warm-white);
}

.follow-layout {
  display: grid;
  gap: 60px;
}

.follow-copy p:not(.eyebrow) {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 29px;
  border-bottom: 1px solid rgba(47, 107, 79, 0.35);
  padding-bottom: 5px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 750;
}

.text-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.follow-visual {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 60% 43%, rgba(121, 168, 107, 0.15), transparent 40%),
    var(--cream);
}

.follow-visual::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.32;
  background-image: radial-gradient(rgba(47, 107, 79, 0.32) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(47, 107, 79, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(47, 107, 79, 0.1);
  content: "";
}

.orbit-one {
  width: 320px;
  height: 320px;
}

.orbit-one::after {
  top: 35px;
  right: 44px;
}

.orbit-two {
  width: 410px;
  height: 410px;
}

.orbit-two::after {
  bottom: 65px;
  left: 28px;
}

.data-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.63);
  background: rgba(252, 252, 248, 0.9);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.data-card-main {
  top: 50%;
  left: 50%;
  width: 220px;
  min-height: 310px;
  border-radius: 22px;
  padding: 19px;
  transform: translate(-50%, -50%);
}

.data-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--green);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.data-card-top i,
.data-card-mini i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(121, 168, 107, 0.12);
}

.data-tree {
  display: grid;
  height: 190px;
  place-items: center;
  color: var(--green);
}

.data-tree svg {
  width: 130px;
  fill: rgba(121, 168, 107, 0.17);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.data-code {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.data-code span,
.data-card-mini span {
  display: block;
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.data-code strong {
  display: block;
  margin-top: 5px;
  color: var(--forest);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
}

.data-card-mini {
  width: 120px;
  border-radius: 14px;
  padding: 14px;
}

.data-card-mini strong {
  display: block;
  margin-top: 4px;
  color: var(--forest);
  font-size: 0.72rem;
}

.data-card-mini i {
  position: absolute;
  top: 14px;
  right: 14px;
}

.data-card-mini.one {
  top: 14%;
  right: 4%;
  transform: rotate(3deg);
}

.data-card-mini.two {
  bottom: 11%;
  left: 3%;
  transform: rotate(-3deg);
}

/* Preguntas */
.faq-section {
  background: var(--cream);
}

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

.faq-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin: 25px 0 0;
  color: var(--muted);
}

.faq-intro .button {
  margin-top: 28px;
}

.faq-list {
  border-top: 1px solid rgba(29, 41, 35, 0.18);
}

.faq-list details {
  border-bottom: 1px solid rgba(29, 41, 35, 0.18);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 46px 20px 0;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
  border: 1px solid rgba(47, 107, 79, 0.26);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--green);
  content: "";
  transition: transform 170ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 620px;
  margin: -4px 46px 0 0;
  padding: 0 0 25px;
  color: var(--muted);
  font-size: 0.87rem;
}

/* Cierre y footer */
.closing-section {
  position: relative;
  overflow: hidden;
  padding-block: 90px;
  background: linear-gradient(135deg, var(--green), var(--forest-deep));
  color: var(--warm-white);
}

.closing-rings {
  position: absolute;
  top: 50%;
  right: -130px;
  width: 380px;
  height: 380px;
  transform: translateY(-50%);
  border: 1px solid rgba(217, 201, 163, 0.17);
  border-radius: 47% 53% 43% 57%;
  box-shadow: 0 0 0 55px rgba(217, 201, 163, 0.04), 0 0 0 115px rgba(217, 201, 163, 0.026);
}

.closing-inner {
  position: relative;
  max-width: 780px;
  text-align: left;
}

.closing-inner p:not(.eyebrow) {
  max-width: 550px;
  margin: 25px 0 0;
  color: rgba(252, 252, 248, 0.7);
}

.closing-inner .button {
  margin-top: 28px;
}

.site-footer {
  padding: 64px 0 22px;
  background: var(--forest-ink);
  color: var(--warm-white);
}

.footer-main {
  display: grid;
  gap: 28px;
  padding-bottom: 45px;
}

.brand-footer .brand-mark {
  border-color: rgba(252, 252, 248, 0.16);
}

.footer-main > p {
  max-width: 430px;
  margin: 0;
  color: rgba(252, 252, 248, 0.52);
  font-size: 0.8rem;
}

.footer-main nav {
  display: grid;
  gap: 11px;
}

.footer-main nav a {
  color: rgba(252, 252, 248, 0.72);
  font-size: 0.75rem;
  transition: color 160ms ease;
}

.footer-main nav a:hover {
  color: var(--sand);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid rgba(252, 252, 248, 0.1);
  padding-top: 20px;
  color: rgba(252, 252, 248, 0.38);
  font-size: 0.62rem;
}

.footer-bottom p {
  margin: 0;
}

/* Animaciones progresivas */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 580px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-submit {
    width: auto;
    min-width: 155px;
  }

  .result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof {
    gap: 12px 27px;
  }

  .data-card-mini.one { right: 10%; }
  .data-card-mini.two { left: 8%; }
}

@media (min-width: 760px) {
  :root {
    --header-height: 84px;
  }

  .section {
    padding-block: 112px;
  }

  .hero {
    min-height: 960px;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .search-panel {
    padding: 25px;
  }

  .section-heading-split {
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
    align-items: end;
  }

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

  .step {
    min-height: 330px;
    border-top: 1px solid rgba(29, 41, 35, 0.16);
    border-right: 1px solid rgba(29, 41, 35, 0.16);
    padding: 95px 32px 36px;
  }

  .step:first-child {
    border-left: 1px solid rgba(29, 41, 35, 0.16);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step-number {
    top: 25px;
    left: 28px;
  }

  .project-visual {
    min-height: 560px;
  }

  .tree-rings {
    width: 410px;
    height: 410px;
  }

  .trace-line {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .trace-line::before {
    top: 24px;
    right: 7%;
    bottom: auto;
    left: 7%;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--sand), rgba(217, 201, 163, 0.15));
  }

  .trace-line li {
    min-height: 130px;
    align-content: start;
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 9px 7px 0;
    text-align: center;
  }

  .trace-line span {
    width: 32px;
    height: 32px;
  }

  .trace-line strong {
    max-width: 100px;
    font-size: 0.7rem;
  }

  .figures-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }

  .follow-visual {
    min-height: 550px;
  }

  .data-card-main {
    width: 255px;
    min-height: 350px;
  }

  .data-tree {
    height: 225px;
  }

  .orbit-one { width: 400px; height: 400px; }
  .orbit-two { width: 510px; height: 510px; }

  .data-card-mini.one { right: 13%; }
  .data-card-mini.two { left: 12%; }

  .closing-section {
    padding-block: 120px;
  }

  .footer-main {
    grid-template-columns: 1fr 1.2fr 0.8fr;
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1020px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    padding: 0;
    transform: none;
    background: transparent;
    color: inherit;
    transition: none;
  }

  .site-nav > a {
    border: 0;
    padding: 7px 0;
    font-family: var(--font-sans);
    font-size: 0.69rem;
    font-weight: 650;
  }

  .site-nav > a:not(.nav-cta) {
    position: relative;
  }

  .site-nav > a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }

  .site-nav > a:not(.nav-cta):hover::after {
    transform: scaleX(1);
  }

  .site-nav .nav-cta {
    width: auto;
    margin: 0 0 0 3px;
    border: 1px solid rgba(252, 252, 248, 0.35);
    padding: 10px 16px;
    background: rgba(252, 252, 248, 0.08);
    color: inherit;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  }

  .site-nav .nav-cta:hover {
    border-color: var(--warm-white);
    background: var(--warm-white);
    color: var(--forest-deep);
  }

  .is-scrolled .site-nav .nav-cta {
    border-color: var(--forest);
    background: var(--forest);
    color: var(--warm-white);
  }

  .hero {
    min-height: 940px;
  }

  .hero-inner {
    align-content: center;
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero h1 {
    max-width: 820px;
  }

  .search-panel {
    max-width: 720px;
    margin-top: 38px;
  }

  .scroll-cue {
    right: 42px;
    display: flex;
  }

  .project-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 88px;
  }

  .project-visual {
    min-height: 650px;
  }

  .tree-rings {
    width: 450px;
    height: 450px;
  }

  .capability-list {
    margin-top: 44px;
  }

  .follow-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 80px;
  }

  .follow-visual {
    min-height: 660px;
  }

  .data-card-mini.one { right: 14%; }
  .data-card-mini.two { left: 14%; }

  .faq-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 100px;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    align-self: start;
  }

  .closing-inner {
    margin-inline: auto;
    text-align: center;
  }

  .closing-inner .eyebrow {
    justify-content: center;
  }

  .closing-inner p:not(.eyebrow) {
    margin-inline: auto;
  }
}

@media (min-width: 1280px) {
  .hero-image {
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 31, 23, 0.45) 0%, rgba(5, 31, 23, 0.06) 28%, rgba(5, 31, 23, 0.55) 100%),
      linear-gradient(90deg, rgba(4, 27, 20, 0.96) 0%, rgba(7, 36, 27, 0.76) 43%, rgba(6, 28, 22, 0.11) 74%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
