/* Proveedores marketing page. Layered on the shared public shell (public-pages.css).
   Theme: day mode (light) by design, soccer motifs: sunny pitch photography,
   mowed-grass stripes with chalk lines, and a stadium scoreboard for the result.
   One grass-green accent. Shape rule: interactive controls are pills; media,
   panels and the pitch use --pv-radius (16px); chart bars use 12px tops.
   Small labels are sentence case; the hero eyebrow is the only uppercase label. */

@font-face {
  font-family: "Archivo";
  src: url("/pages/assets/vendor/fonts/archivo-variable-5.3.0/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

body.proveedores-page {
  --pv-bg: #f4f7f2;
  --pv-surface: #ffffff;
  --pv-line: #d6e0d6;
  --pv-ink: #0f1d15;
  --pv-muted: #4a5d50;
  --pv-accent: #15803d;
  --pv-accent-hover: #116b33;
  --pv-on-accent: #ffffff;
  --pv-grass: #2f8a3e;
  --pv-grass-2: #389a48;
  --pv-chalk: rgb(255 255 255 / .88);
  --pv-board: #0c2416;
  --pv-board-2: #133522;
  --pv-led: #86efac;
  --pv-radius: 16px;
  --pv-shadow: 0 24px 48px -28px rgb(15 61 33 / .45);
  --pv-ease: cubic-bezier(.16, 1, .3, 1);
  --pv-display: "Archivo", system-ui, sans-serif;

  color: var(--pv-ink);
  background: var(--pv-bg);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pv {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.pv img {
  display: block;
  max-width: 100%;
}

.pv-wrap {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .pv-wrap { padding-inline: 28px; }
}

.pv a:focus-visible,
.pv input:focus-visible {
  outline: 3px solid var(--pv-accent);
  outline-offset: 3px;
}

/* Shared type */

.pv-eyebrow {
  margin: 0 0 16px;
  color: var(--pv-accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.pv-title,
.pv-h2,
.pv-cta__title {
  margin: 0;
  font-family: var(--pv-display);
  font-stretch: 118%;
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.pv-title span,
.pv-h2 span {
  color: var(--pv-accent);
}

.pv-h2 {
  font-size: clamp(2rem, 5.6vw, 3.5rem);
}

/* Actions */

.pv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .25s var(--pv-ease), background-color .25s, color .25s, border-color .25s;
}

.pv-btn:active { transform: translateY(1px) scale(.98); }

.pv-btn--primary {
  color: var(--pv-on-accent);
  background: var(--pv-accent);
  box-shadow: 0 14px 30px -14px rgb(21 128 61 / .6);
}

.pv-btn--primary:hover,
.pv-btn--primary:focus-visible {
  color: var(--pv-on-accent);
  background: var(--pv-accent-hover);
  transform: translateY(-2px);
}

.pv-btn--ghost {
  border: 2px solid var(--pv-ink);
  color: var(--pv-ink);
  background: rgb(255 255 255 / .7);
}

.pv-btn--ghost:hover,
.pv-btn--ghost:focus-visible {
  color: var(--pv-ink);
  background: #fff;
}

.pv-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

.pv-link:hover,
.pv-link:focus-visible { color: #e8ffe9; }

/* Hero: full-bleed sunny pitch, copy over the open sky (top-left). */

.pv-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 760px;
}

.pv-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.pv-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 100%;
  animation: pv-settle 1.6s var(--pv-ease) both;
}

/* Soft daylight lift behind the copy and a fade into the page at the bottom. */
.pv-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 18% 22%, rgb(244 247 242 / .82), rgb(244 247 242 / 0) 70%),
    linear-gradient(180deg, rgb(244 247 242 / 0) 82%, var(--pv-bg) 100%);
}

.pv-hero__copy {
  padding-top: 36px;
  padding-bottom: 48px;
}

.pv-hero__copy > * {
  animation: pv-rise .9s var(--pv-ease) both;
}

.pv-hero__copy > :nth-child(2) { animation-delay: .08s; }
.pv-hero__copy > :nth-child(3) { animation-delay: .16s; }
.pv-hero__copy > :nth-child(4) { animation-delay: .24s; }

.pv-title {
  font-size: clamp(2.5rem, 10vw, 4.4rem);
}

.pv-lead {
  max-width: 34ch;
  margin: 18px 0 26px;
  color: #23352a;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .pv-hero { min-height: min(86dvh, 780px); }
  .pv-hero__media img { object-position: 50% 100%; }
  .pv-hero__copy { padding-top: 88px; }
}

/* Steps: inverted split, photo left, three statements right. */

.pv-steps {
  padding: clamp(56px, 9vw, 112px) 0;
}

.pv-steps__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.pv-steps__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--pv-radius);
  aspect-ratio: 4 / 3;
  box-shadow: var(--pv-shadow);
}

.pv-steps__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.pv-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv-steps__list li {
  padding: 22px 0;
  font-family: var(--pv-display);
  font-size: clamp(1.6rem, 4.6vw, 2.9rem);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.pv-steps__list li + li { border-top: 2px solid var(--pv-line); }
.pv-steps__list li:last-child { color: var(--pv-accent); }

@media (min-width: 900px) {
  .pv-steps__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
  }

  .pv-steps__media { aspect-ratio: 4 / 5; }
}

/* Ladder: the chart sits on a mowed pitch framed by chalk lines. */

.pv-ladder {
  padding: 0 0 clamp(56px, 9vw, 104px);
}

.pv-ladder > .pv-wrap {
  padding-block: clamp(32px, 5vw, 56px);
  border-radius: var(--pv-radius);
  color: #fff;
  background: repeating-linear-gradient(90deg, var(--pv-grass) 0 72px, var(--pv-grass-2) 72px 144px);
  box-shadow: var(--pv-shadow);
  width: calc(100% - 32px);
  max-width: 1148px;
}

/* Chalk touchline and penalty arc. */
.pv-ladder > .pv-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid var(--pv-chalk);
  border-radius: 8px;
  pointer-events: none;
}

.pv-ladder > .pv-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: clamp(80px, 12vw, 150px);
  height: clamp(160px, 24vw, 300px);
  border: 3px solid var(--pv-chalk);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  transform: translateY(-50%);
  opacity: .55;
  pointer-events: none;
}

.pv-ladder__head,
.pv-ladder__bars,
.pv-ladder__axis {
  position: relative;
  z-index: 1;
  margin-inline: clamp(12px, 3vw, 32px);
}

.pv-ladder__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: end;
  justify-content: space-between;
  padding-top: 12px;
}

.pv-ladder .pv-h2 { max-width: 11ch; color: #fff; }
.pv-ladder .pv-h2 span { color: #dcfce7; }

.pv-ladder__max {
  margin: 0;
  color: #fff;
  font-family: var(--pv-display);
  font-size: clamp(4.5rem, 16vw, 10rem);
  font-stretch: 125%;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: .8;
}

.pv-ladder__bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 18px);
  align-items: end;
  height: clamp(220px, 34vw, 320px);
  margin-top: clamp(28px, 5vw, 48px);
  margin-bottom: 0;
  padding: 0;
  border-bottom: 3px solid var(--pv-chalk);
  list-style: none;
}

.pv-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.pv-bar__fill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  height: var(--h);
  padding-top: 14px;
  border-radius: 12px 12px 0 0;
  color: var(--pv-ink);
  background: rgb(255 255 255 / .82);
  transform-origin: bottom;
  transition: transform 1s var(--pv-ease);
}

.pv-bar--top .pv-bar__fill {
  background: #fff;
  box-shadow: 0 -12px 30px -12px rgb(0 0 0 / .35);
}

.pv-bar__badge {
  font-family: var(--pv-display);
  font-size: clamp(1rem, 3.4vw, 1.8rem);
  font-stretch: 112%;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

.pv-bar__earn {
  color: var(--pv-accent);
  font-size: clamp(.72rem, 2.2vw, .95rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pv-bar__min {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.pv-ladder__axis {
  margin-top: 44px;
  margin-bottom: 8px;
  color: #e7f7ea;
  font-size: .9rem;
  text-align: center;
}

/* Below-the-fold bars grow in once scrolled into view (set by proveedores.js). */
.pv-ladder.pv-armed .pv-bar__fill { transform: scaleY(.04); }
.pv-ladder.pv-armed.is-in .pv-bar__fill { transform: none; }
.pv-ladder.pv-armed.is-in .pv-bar:nth-child(2) .pv-bar__fill { transition-delay: .08s; }
.pv-ladder.pv-armed.is-in .pv-bar:nth-child(3) .pv-bar__fill { transition-delay: .16s; }
.pv-ladder.pv-armed.is-in .pv-bar:nth-child(4) .pv-bar__fill { transition-delay: .24s; }
.pv-ladder.pv-armed.is-in .pv-bar:nth-child(5) .pv-bar__fill { transition-delay: .32s; }

/* Calculator */

.pv-calc {
  padding: 0 0 clamp(56px, 9vw, 112px);
  scroll-margin-top: 72px;
}

.pv-calc__panel {
  display: grid;
  gap: 32px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  background: var(--pv-surface);
  box-shadow: var(--pv-shadow);
}

@media (min-width: 900px) {
  .pv-calc__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 56px;
    align-items: center;
  }
  .pv-calc__panel > .pv-h2,
  .pv-calc__panel > .pv-fine,
  .pv-calc__panel > .pv-note { grid-column: 1 / -1; }
}

.pv-calc__input {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pv-calc__input label {
  color: var(--pv-muted);
  font-weight: 700;
}

.pv-calc__input input {
  width: 6.5ch;
  min-height: 56px;
  padding: 0 12px;
  border: 2px solid #b9c8bc;
  border-radius: 999px;
  color: var(--pv-ink);
  background: var(--pv-bg);
  font-family: var(--pv-display);
  font-size: 1.8rem;
  font-stretch: 112%;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.pv-range {
  --fill: 40%;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.pv-range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pv-accent) var(--fill), #dbe5dc var(--fill));
}

.pv-range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pv-accent) var(--fill), #dbe5dc var(--fill));
}

.pv-range::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -10px;
  border: 5px solid var(--pv-accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 14px rgb(15 61 33 / .3);
  appearance: none;
}

.pv-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 5px solid var(--pv-accent);
  border-radius: 50%;
  background: #fff;
}

.pv-range__ticks {
  position: relative;
  height: 22px;
  margin: 6px 15px 0;
  color: var(--pv-muted);
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pv-range__ticks span {
  position: absolute;
  left: var(--at);
  transform: translateX(-50%);
}

/* Result: a stadium scoreboard, the page's one deliberate material switch. */
.pv-result {
  padding: clamp(18px, 3.5vw, 28px);
  border: 4px solid #1d4a2f;
  border-radius: var(--pv-radius);
  color: #d9f5e1;
  background:
    radial-gradient(circle at 1px 1px, rgb(255 255 255 / .05) 1px, transparent 1.5px) 0 0 / 6px 6px,
    var(--pv-board);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .06), var(--pv-shadow);
  text-align: center;
}

.pv-result__label {
  margin: 0;
  color: #a7d8b6;
  font-weight: 750;
}

.pv-result__win {
  margin: 6px 0 0;
  padding: 10px 0;
  border-radius: 10px;
  color: var(--pv-led);
  background: #071a0f;
  font-family: var(--pv-display);
  font-size: clamp(3.6rem, 14vw, 6rem);
  font-stretch: 120%;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: 1;
  text-shadow: 0 0 18px rgb(134 239 172 / .35);
}

.pv-result__nudge {
  min-height: 1.5em;
  margin: 14px 0 16px;
  color: #e4f6e9;
  font-weight: 700;
  text-wrap: balance;
}

.pv-result__nudge strong { color: var(--pv-led); }

.pv-result__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.pv-result__rows div {
  padding: 10px;
  border-radius: 10px;
  background: var(--pv-board-2);
}

.pv-result__rows dt {
  color: #a7d8b6;
  font-size: .9rem;
  font-weight: 750;
}

.pv-result__rows dd {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.pv-fine,
.pv-note {
  margin: 0;
  color: var(--pv-muted);
  font-size: .85rem;
}

.pv-note { font-size: 1.05rem; }

/* Closing call to action: the headline sits in the pitch's center circle. */

.pv-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(110px, 16vw, 170px) 0;
  color: #fff;
  text-align: center;
}

.pv-cta__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.pv-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgb(8 40 20 / .5), rgb(8 40 20 / .2) 60%);
}

.pv-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.pv-cta__title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  text-shadow: 0 2px 24px rgb(0 0 0 / .25);
}

.pv-cta__title span { color: #dcfce7; }

.pv-cta .pv-btn--primary {
  color: var(--pv-accent);
  background: #fff;
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / .45);
}

.pv-cta .pv-btn--primary:hover,
.pv-cta .pv-btn--primary:focus-visible {
  color: var(--pv-accent-hover);
  background: #f0fdf4;
}

@keyframes pv-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes pv-settle {
  from { transform: scale(1.05); }
  to { transform: none; }
}

@media (max-width: 575.98px) {
  body.proveedores-page { padding-top: 62px; }
  .pv-actions .pv-btn { flex: 1 1 auto; }
  .pv-bar__fill { padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pv *,
  .pv *::before,
  .pv *::after {
    animation: none !important;
    transition: none !important;
  }
  .pv-ladder.pv-armed .pv-bar__fill { transform: none; }
}
