/* Metricser — home.
   Tokens come from the Figma file (WzcnfrtMDKA63rZWMXs45z, node 7:663).
   The design uses Omnes (commercial, no web license); Nunito (OFL) stands in.
   To switch back, add an @font-face for Omnes and put it first in --font-sans. */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Color */
  --color-bg: #f6f5ea;
  --color-ink: #334b21;
  --color-accent: #7ea53f;
  /* Design accent is 2.6:1 on --color-bg; this shade reaches 3.4:1 (AA for
     large text) while staying visually close. Use for text on light. */
  --color-accent-text: #6a9133;
  --color-on-dark: #f6f5ea;
  --color-sand: #e4e3c6;
  --color-accent-on-dark: #b9d284;
  --color-accent-deep: #4e7a1e;

  /* Type. Sizes scale from phone to the 1920px design values. */
  --font-sans: "Nunito", system-ui, sans-serif;
  --fs-display: clamp(2.75rem, 1.6rem + 4.2vw, 4.75rem); /* 76px @1920 */
  --fs-h2: clamp(2.5rem, 1.4rem + 4vw, 5.25rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem); /* 22px @1920 */
  --fs-body: 1rem;
  --fs-eyebrow: 0.75rem; /* design uses 7.9px; raised to stay legible */
  --tracking-display: -0.05em;

  /* Space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --container: 1380px;
  --radius-pill: 999px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
}

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

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

/* Focus ring needs 3:1 against its background: ink on light surfaces,
   light green on the dark ones. */
:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.case--feature :focus-visible,
.for-you__cta :focus-visible,
.catalog-link:focus-visible,
.intro-video :focus-visible {
  outline-color: var(--color-accent-on-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(var(--space-6), 8vw, 6rem);
}

/* Anchor jumps land below the sticky header instead of under it. */
section[id] {
  scroll-margin-top: 96px;
}

.section--dark {
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-style: italic;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

/* ---------- Shared controls ---------- */

.icon {
  width: 0.875em;
  height: 0.875em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-on-dark);
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: #26391a;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.25rem;
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.link-arrow .icon {
  width: 1em;
  height: 1em;
}

.accent {
  color: var(--color-accent-text);
  font-style: normal;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: 14px;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 72px;
  padding: 0.75rem 0.75rem 0.75rem clamp(1rem, 3vw, 3.25rem);
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 0.16);
}

.site-header__logo img {
  width: clamp(140px, 14vw, 221px);
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-on-dark);
  cursor: pointer;
}

.nav-toggle__icon {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.site-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav__list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

@media (max-width: 1023px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: none;
    padding: var(--space-3);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 16px rgb(0 0 0 / 0.16);
  }

  .nav-toggle[aria-expanded="true"] + .site-nav {
    display: grid;
    gap: var(--space-3);
  }

  .site-nav__list {
    display: grid;
  }

  .site-nav__list a {
    display: block;
    padding-block: 0.75rem;
    font-size: 1.125rem;
  }

  .site-nav .button {
    justify-self: start;
  }
}

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

  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 4.5rem);
  }

  .site-nav__list {
    display: flex;
    gap: clamp(1.5rem, 3.5vw, 4.5rem);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 2rem clamp(var(--space-6), 6vw, 4rem);
}

.hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.hero__copy {
  display: grid;
  gap: var(--space-3);
}

.hero__title {
  max-width: 13ch;
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: var(--tracking-display);
}

.hero__lead {
  max-width: 29em;
  font-size: var(--fs-lead);
  font-style: italic;
  line-height: 1.31;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-1);
}

.hero__chart {
  width: 100%;
  max-width: 582px;
  justify-self: center;
}

@media (min-width: 1280px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 582px);
    gap: var(--space-8);
  }

  .hero__chart {
    margin-top: 0.75rem;
  }
}

/* ---------- Section typography ---------- */

.display {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.section--dark .kicker,
.section--dark .lead {
  color: var(--color-sand);
}

.section--dark .accent {
  color: var(--color-accent-on-dark);
}

.badge {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-on-dark);
  font-size: 0.8125rem;
  font-weight: 800;
}

.link-arrow--small {
  font-size: 1rem;
  font-style: normal;
}

/* ---------- 01 · El problema ---------- */

.problem__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.problem__copy {
  display: grid;
  gap: var(--space-2);
}

.problem .lead {
  max-width: 21em;
}

.problem .display .accent {
  display: block;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(6px, 1vw, 11px);
  width: min(100%, 422px);
  max-width: 422px;
  justify-self: center;
}

.tiles span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgb(246 245 234 / 0.12);
  border-radius: 10px;
  background: rgb(246 245 234 / 0.08);
}

.tiles .tiles__checked {
  border: 2px solid var(--color-sand);
  background: var(--color-accent-on-dark);
}

.tiles svg {
  width: 40%;
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1024px) {
  .problem__grid {
    grid-template-columns: minmax(0, 1fr) 422px;
  }
}

/* ---------- 02 · Método ---------- */

.method__title {
  max-width: 14em;
}

.method__lead {
  max-width: 28em;
  margin-top: var(--space-4);
}

.method__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: var(--space-6);
}

.steps {
  display: grid;
  gap: var(--space-6) clamp(1.5rem, 3.5vw, 4.4rem);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}

.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  padding: 1.75rem 2rem 2rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 0.16);
}

.steps__item:nth-child(2) {
  background: var(--color-sand);
}

.steps__item:nth-child(3) {
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.steps__number {
  font-size: clamp(5rem, 4rem + 3vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.steps__item:nth-child(3) .steps__number {
  color: var(--color-accent-on-dark);
}

.steps__icon {
  align-self: start;
  margin-top: 0.75rem;
}

.steps__item h3,
.steps__item p {
  grid-column: 1 / -1;
}

.steps__item h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.5rem, 1.25rem + 0.6vw, 1.875rem);
  font-weight: 400;
}

/* Arrow between consecutive cards; points down when stacked, right in a row. */
.steps__item + .steps__item::before {
  content: "→" / "";
  position: absolute;
  top: calc(-1 * var(--space-6));
  left: 50%;
  translate: -50% 0;
  rotate: 90deg;
  font-size: 1.5rem;
  line-height: var(--space-6);
  color: var(--color-ink);
}

.method__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.cycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.cycle__label {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cycle ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cycle li {
  position: relative;
  padding: 0.35em 0.9em;
  border: 1px solid rgb(51 75 33 / 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
}

.cycle li + li {
  margin-left: 2rem;
}

.cycle li + li::before {
  content: "→" / "";
  position: absolute;
  color: var(--color-ink);
  font-weight: 400;
  right: 100%;
  width: 2rem;
  text-align: center;
}

.cycle li:last-child {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-on-dark);
  font-weight: 800;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps__item + .steps__item::before {
    top: 50%;
    left: calc(-1 * clamp(1.5rem, 3.5vw, 4.4rem) / 2);
    translate: -50% -50%;
    rotate: 0deg;
  }
}

/* ---------- 03 · Escenarios ---------- */

.scenarios {
  background: var(--color-sand);
}

.scenarios__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.scenarios__copy {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

.scenarios__title span {
  display: block;
}

.scenarios__title .scenarios__goal {
  color: var(--color-accent-deep);
}

.scenarios .lead {
  max-width: 22em;
}

.link-arrow--plain {
  font-style: normal;
}

.scenarios__figure {
  margin: 0;
}

.scenarios__figure img {
  width: 100%;
  max-width: 703px;
}

.scenarios__figure figcaption {
  margin-top: var(--space-2);
  font-size: 0.8125rem;
}

@media (min-width: 1280px) {
  .scenarios__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 703px);
    gap: var(--space-8);
  }
}

/* ---------- 04 · AIQuiu ---------- */

.aiquiu__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.aiquiu__copy {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

.aiquiu .accent {
  display: block;
}

.aiquiu .lead {
  max-width: 22em;
  margin-top: var(--space-3);
}

.button--large {
  padding: 1.1em 1.9em;
  font-size: 1rem;
  box-shadow: 0 3px 6px rgb(0 0 0 / 0.16);
}

.button--large .icon {
  width: 1.4em;
  height: 1.4em;
  stroke-width: 1.2;
}

/* Hub: stacked list on small screens; on wide screens the four nodes sit in
   the corners of a 2x2 grid with AIQuiu centered over the crossing links. */
.hub {
  position: relative;
  display: grid;
  gap: var(--space-3);
  justify-items: center;
}

.hub__links {
  display: none;
}

.hub__center {
  display: grid;
  place-content: center;
  justify-items: center;
  width: 196px;
  aspect-ratio: 1;
  border: 34px solid var(--color-ink);
  border-radius: 50%;
  background: var(--color-accent-on-dark);
  text-align: center;
}

.hub__center strong {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}

.hub__center span {
  font-size: 0.8125rem;
}

.hub__nodes {
  display: grid;
  gap: var(--space-2);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub__node {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding-inline: 1.75rem;
  border-radius: 20px;
  background: #3e5a2c;
  color: var(--color-on-dark);
  font-size: 1.125rem;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .aiquiu__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 724px);
  }
}

@media (min-width: 640px) {
  .hub {
    display: block;
    width: min(100%, 724px);
    justify-self: center;
  }

  .hub__links {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
    vector-effect: non-scaling-stroke;
  }

  .hub__links path {
    vector-effect: non-scaling-stroke;
  }

  .hub__nodes {
    grid-template-columns: repeat(2, minmax(0, 268px));
    grid-auto-rows: 88px;
    justify-content: space-between;
    row-gap: 290px;
  }

  .hub__center {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }
}

/* ---------- 05 · Auditoría ---------- */

.audit__intro {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  text-align: center;
}

.audit__intro .display .accent {
  display: block;
}

.audit__intro .lead {
  max-width: 27em;
  line-height: 1.7;
}

.audit .kicker {
  margin-bottom: 0;
}

.button--light {
  margin-top: var(--space-1);
  background: var(--color-on-dark);
  color: var(--color-ink);
}

.button--light:hover {
  background: #fff;
}

.audit__cards {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.audit__card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  padding: 1.75rem 1.9rem 1.9rem;
  border: 1px solid rgb(246 245 234 / 0.14);
  border-radius: 20px;
  background: rgb(246 245 234 / 0.06);
}

.audit__number {
  font-size: clamp(3rem, 2.5rem + 1.2vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent-on-dark);
}

.audit__card img {
  margin-top: 0.4rem;
}

.audit__card h3,
.audit__card p {
  grid-column: 1 / -1;
}

.audit__card h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: clamp(1.375rem, 1.2rem + 0.4vw, 1.625rem);
  font-weight: 400;
}

.audit__card p {
  color: var(--color-sand);
  font-size: 1.0625rem;
}

.audit__disclaimer {
  margin-top: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgb(246 245 234 / 0.2);
  color: var(--color-sand);
  font-size: 0.8125rem;
}

.audit__closing {
  display: grid;
  gap: var(--space-1);
  max-width: 44rem;
  margin: var(--space-4) auto 0;
  text-align: center;
}

.audit__closing h2 {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem);
  font-weight: 800;
}

.audit__closing p {
  color: var(--color-sand);
  font-size: var(--fs-lead);
  line-height: 1.2;
}

@media (min-width: 900px) {
  .audit__cards {
    grid-template-columns: repeat(3, 1fr);
    padding-inline: 2.5rem;
  }

  .audit__disclaimer {
    padding-inline: 2.5rem;
  }
}

/* ---------- 06 · Experiencia ---------- */

.experience {
  background: var(--color-sand);
}

.experience__inner {
  max-width: 1203px;
}

.experience__intro {
  display: grid;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgb(51 75 33 / 0.6);
}

.experience__intro h2 {
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.375rem);
  font-weight: 900;
  line-height: 1.2;
  color: #1b2a12;
}

.experience__intro h2 em {
  display: block;
  font-weight: 300;
  color: var(--color-accent-deep);
}

.experience__intro > p {
  font-size: var(--fs-lead);
  line-height: 1.3;
}

.cases {
  display: grid;
  gap: var(--space-4) clamp(1.5rem, 3vw, 3.75rem);
  margin-top: var(--space-6);
}

.case {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 24px;
}

.case h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.case__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  justify-self: start;
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
}

.case__link:hover {
  text-decoration: underline;
}

.case__link--large {
  font-size: 1.5rem;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  padding: 0.35rem 1rem;
  border: 1px solid rgb(246 245 234 / 0.12);
  border-radius: var(--radius-pill);
  background: rgb(246 245 234 / 0.08);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Dark feature card: public communication. */
.case--feature {
  background: linear-gradient(160deg, #1f2e17, #0e1909);
  color: #fff;
}

.case--feature h3 {
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
}

.case--feature h3 span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.55em;
  color: var(--color-accent-on-dark);
}

.case__art {
  width: 182px;
  justify-self: center;
  margin-block: var(--space-4);
}

.case--feature .case__text {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.2;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.75rem;
  margin: var(--space-2) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid rgb(51 75 33 / 0.15);
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
}

.stats dt {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats dd {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.stats--boxed {
  padding: 0;
  border: 0;
}

.stats--boxed div {
  padding: 1rem 1.1rem;
  border: 1px solid rgb(246 245 234 / 0.12);
  border-radius: 12px;
  background: rgb(246 245 234 / 0.05);
}

.stats__accent {
  color: var(--color-accent-on-dark);
}

/* Light cards: sector examples. */
.case--light {
  grid-template-columns: 1fr auto;
  border: 2px solid #fff;
  background: linear-gradient(160deg, #f6f5ea, #ecebdc);
  color: #1b2a12;
}

.case--light > * {
  grid-column: 1 / -1;
}

.case__sector {
  grid-column: 1;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case--light h3 {
  grid-column: 1;
}

.case__badge {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 102px;
  align-self: start;
}

.case__badge--shield {
  width: 42px;
  margin-right: 1.5rem;
}

.case--light .case__text {
  grid-column: 1;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #3b4a33;
}

.meter {
  display: grid;
  gap: 0.4rem;
}

.meter__label {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
}

.meter__track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgb(51 75 33 / 0.12);
  overflow: hidden;
}

.meter__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-on-dark));
}

.meter__value {
  justify-self: end;
  font-size: 0.75rem;
  font-weight: 800;
}

.catalog-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-pill);
  background: #1b2a12;
  color: #fff;
  font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.875rem);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.catalog-link__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #1b2a12;
  font-size: 1.1rem;
}

@media (min-width: 900px) {
  .experience__intro {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-8);
  }

  .cases {
    grid-template-columns: 567fr 578fr;
  }

  .case--feature {
    grid-row: span 2;
  }

}

/* Meter fill widths; kept as classes because inline styles are disallowed. */
.fill-85 { width: 85%; }

/* ---------- 07 · Tres formas de trabajar ---------- */

.ways__inner {
  max-width: 1203px;
}

.ways__title {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 900;
}

.ways__lead {
  font-size: 1.125rem;
}

.ways__grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.way {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.4rem 1.4rem 1.6rem;
  border: 2px solid rgb(51 75 33 / 0.12);
  background: #fff;
}

.way--featured {
  border-color: var(--color-accent);
}

.way__badge {
  position: absolute;
  top: -2px;
  right: 12px;
  padding: 0.3rem 0.9rem;
  background: var(--color-accent-deep);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.way__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.way__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgb(126 165 63 / 0.15);
  color: var(--color-accent-deep);
}

.way--featured .way__icon {
  background: var(--color-ink);
  color: var(--color-accent-on-dark);
}

.way__icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.way__number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent-deep);
}

.way h3 {
  font-size: 1.375rem;
  font-weight: 700;
}

.way p {
  max-width: 22em;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.way__link,
.ways__compare {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  justify-self: start;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-accent-deep);
  text-decoration: none;
}

.ways__compare {
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-ink);
}

.way__link:hover,
.ways__compare:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .ways__grid {
    grid-template-columns: repeat(3, minmax(0, 306px));
    justify-content: center;
  }

  .ways__compare {
    margin-left: max(0px, calc((100% - 3 * 306px - 2 * var(--space-4)) / 2));
  }
}

/* ---------- 08 · Para ti ---------- */

.for-you {
  background: var(--color-sand);
}

.for-you__inner {
  display: grid;
  gap: var(--space-3);
  max-width: 1040px;
}

.kicker--icon::before {
  width: 28px;
  height: 28px;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23334b21' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 11h3M16 11h3M9 17c3 2.5 7 2.5 10 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.audiences {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audiences a {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.5rem 3rem 1.5rem 1.25rem;
  border: 2px solid rgb(246 245 234 / 0.9);
  background: #e9e8cd;
  text-decoration: none;
}

.audiences a::after {
  content: "↗" / "";
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.25rem;
}

.audiences a:hover {
  background: #f1f0dc;
}

.audiences strong {
  font-size: 0.9375rem;
  font-weight: 800;
}

.audiences span {
  max-width: 17em;
  font-size: 0.75rem;
  line-height: 1.5;
}

.for-you__cta {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 1.75rem 1.9rem;
  border-radius: 14px;
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.for-you__cta p {
  font-size: 1.25rem;
  font-weight: 300;
}

.for-you__cta strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
}

.button--accent {
  justify-self: start;
  padding: 0.5em 1.6em;
  border-radius: 6px;
  background: var(--color-accent-on-dark);
  color: var(--color-ink);
  font-size: 0.8125rem;
  font-weight: 800;
}

.button--accent:hover {
  background: #cde3a2;
}

@media (min-width: 640px) {
  .audiences {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .for-you__inner {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.4rem;
  }

  .for-you__inner > .kicker,
  .audiences {
    grid-column: 1 / -1;
  }

  /* The CTA shares the last audience row, so both are placed explicitly. */
  .audiences {
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-row: 2 / span 3;
  }

  .for-you__cta {
    grid-column: 2 / -1;
    grid-row: 4;
  }
}

/* ---------- Cierre y footer ---------- */

.closing {
  padding-bottom: var(--space-4);
  background: var(--color-sand);
}

.closing__inner {
  display: grid;
  gap: var(--space-3);
  max-width: 976px;
  padding-top: var(--space-4);
  border-top: 1px solid rgb(51 75 33 / 0.12);
}

.closing h2 {
  max-width: 11em;
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
}

.site-footer {
  padding-bottom: var(--space-4);
  background: var(--color-sand);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-4);
  max-width: 976px;
  padding-top: var(--space-3);
  border-top: 1px solid rgb(51 75 33 / 0.15);
}

.site-footer__brand {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.site-footer__brand img {
  width: 175px;
}

.site-footer__brand p {
  max-width: 17em;
  font-size: 0.9375rem;
}

.site-footer__col h2 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:not(.button) {
  text-decoration: none;
}

.site-footer a:not(.button):hover {
  text-decoration: underline;
}

.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 2px solid rgb(51 75 33 / 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 0.16);
}

.site-footer__hello {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}

.site-footer__email {
  font-weight: 800;
}

.site-footer__contact p:not(.site-footer__hello) {
  font-size: 0.75rem;
}

.site-footer__button {
  justify-content: center;
  margin-top: 0.5rem;
  border-radius: 6px;
  font-size: 1.375rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgb(51 75 33 / 0.15);
  font-size: 0.75rem;
}

.site-footer__legal ul {
  display: flex;
  gap: 1.5rem;
}

.site-footer__motto {
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1.1fr 0.7fr 1fr 1.1fr;
  }
}

/* ---------- Video de bienvenida ---------- */

.intro-video {
  width: min(100% - 2 * var(--gutter), 1100px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  overflow: visible;
}

.intro-video::backdrop {
  background: rgb(27 42 18 / 0.75);
}

.intro-video__frame {
  display: grid;
  gap: 0.75rem;
}

.intro-video video {
  width: 100%;
  max-height: calc(100dvh - 7rem);
  object-fit: contain;
  border-radius: 20px;
  background: var(--color-sand);
}

.intro-video__actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
}

.intro-video__unmute,
.intro-video__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-on-dark);
  color: var(--color-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.intro-video__unmute {
  padding-inline: 1.25rem;
}

.intro-video__close {
  width: 44px;
}

.intro-video__close svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- 404 ---------- */

.not-found__inner {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  min-height: 70vh;
  align-content: center;
}
