:root {
  --verde-900: #0f3d2e;
  --verde-600: #1f7a54;
  --arena: #f6f1e7;
  --tinta: #1b2420;
  --ambar: #d9902f;
  --borde: #d9d4c7;
  --radio: 14px;
  --blanco: #fffdf8;
  --verde-100: #e7f0e8;
  --sombra: 0 12px 30px rgba(15, 61, 46, .09);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tinta);
  background: var(--arena);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--tinta);
  background:
    linear-gradient(90deg, rgba(15, 61, 46, .025) 1px, transparent 1px),
    var(--arena);
  background-size: 24px 24px;
  line-height: 1.55;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

a {
  color: var(--verde-900);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ambar);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  color: var(--verde-900);
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4.8rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.16rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--blanco);
  background: var(--verde-900);
  border-radius: .5rem;
  transform: translateY(-180%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--verde-900);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--blanco);
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--verde-900);
  border-radius: 50% 50% 50% 12%;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: .2rem;
  color: #526158;
  font-size: .72rem;
}

.header-link {
  display: none;
  color: var(--verde-900);
  font-size: .9rem;
  font-weight: 700;
}

.demo-notice {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .38rem .65rem;
  color: #65400d;
  font-size: .82rem;
  font-weight: 750;
  background: #fff1d7;
  border: 1px solid #e6be79;
  border-radius: 999px;
}

.demo-notice.compact {
  margin: 0;
  font-size: .7rem;
  text-align: center;
}

.hero {
  display: grid;
  gap: 2rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  padding: 2.5rem 1.25rem 1.25rem;
  overflow: hidden;
  background: var(--verde-900);
  border-radius: var(--radio);
}

.hero-copy {
  color: var(--blanco);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: var(--blanco);
}

.eyebrow {
  margin-bottom: .55rem;
  color: var(--verde-600);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero .eyebrow,
.participation .eyebrow {
  color: #a9d4b7;
}

.lead {
  max-width: 37rem;
  margin-bottom: 1.6rem;
  font-size: 1.08rem;
}

.hero-panel {
  align-self: end;
  padding: 1.35rem;
  color: var(--verde-900);
  background: var(--arena);
  border-radius: calc(var(--radio) - 4px);
}

.panel-label {
  margin-bottom: .35rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-number {
  margin: 0;
  color: var(--verde-900);
  font-size: clamp(2.1rem, 11vw, 4rem);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: .95;
}

.hero-detail {
  margin: .65rem 0 0;
  font-size: .9rem;
}

.hero-line {
  height: .4rem;
  margin-top: 1.2rem;
  overflow: hidden;
  background: #d9dfd5;
  border-radius: 99px;
}

.hero-line span {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--ambar);
  border-radius: inherit;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.1rem;
  border: 2px solid transparent;
  border-radius: .55rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease;
}

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

.button-primary {
  color: var(--tinta);
  background: var(--ambar);
}

.button-primary:hover {
  background: #e8a647;
}

.button-secondary {
  color: var(--verde-900);
  background: transparent;
  border-color: var(--verde-900);
}

.button-light {
  width: 100%;
  color: var(--verde-900);
  background: var(--blanco);
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.section {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 43rem;
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  margin-bottom: .85rem;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.reading-card {
  max-width: 50rem;
  padding: 1.4rem;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-left: .45rem solid var(--ambar);
  border-radius: 0 var(--radio) var(--radio) 0;
  box-shadow: var(--sombra);
}

.reading-card p:last-child {
  margin-bottom: 0;
}

.section-contrast {
  width: 100%;
  padding-right: max(1rem, calc((100% - 1040px) / 2));
  padding-left: max(1rem, calc((100% - 1040px) / 2));
  background: var(--verde-100);
}

.two-column {
  display: grid;
  gap: 1.25rem;
}

.large-copy {
  margin: 0;
  font-size: 1.22rem;
}

.callout {
  padding: 1.3rem;
  background: var(--blanco);
  border-radius: var(--radio);
}

.callout h3 {
  margin-bottom: .4rem;
}

.callout p {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: technique;
}

.step-card {
  position: relative;
  min-height: 11rem;
  padding: 1.25rem;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}

.step-card::after {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  width: 2.5rem;
  height: 2px;
  content: "";
  background: var(--ambar);
}

.step-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--ambar);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.step-card h3 {
  margin-bottom: .45rem;
}

.step-card p {
  max-width: 18rem;
  margin-bottom: 0;
}

.benefits-section {
  padding-bottom: 5rem;
}

.benefit-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: var(--borde);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}

.benefit-list li {
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  column-gap: .8rem;
  padding: 1rem;
  background: var(--blanco);
}

.benefit-list span {
  grid-row: span 2;
  color: var(--ambar);
  font-size: .75rem;
  font-weight: 850;
}

.benefit-list strong {
  color: var(--verde-900);
}

.benefit-list p {
  margin: .12rem 0 0;
  font-size: .9rem;
}

.participation {
  display: grid;
  gap: 1.4rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 2rem 1.3rem;
  color: var(--blanco);
  background: var(--verde-900);
  border-radius: var(--radio);
}

.participation h2 {
  margin-bottom: .65rem;
  color: var(--blanco);
}

.participation p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  color: #58655d;
  font-size: .78rem;
  border-top: 1px solid var(--borde);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #58655d;
}

/* Encuesta */
.survey-shell {
  width: min(680px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.survey-intro {
  max-width: 39rem;
  margin-bottom: 1.7rem;
}

.survey-intro h1 {
  margin-bottom: .8rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.survey-intro p:last-child {
  margin-bottom: 0;
}

.survey-card,
.thanks-card {
  padding: 1.25rem;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
  color: #526158;
  font-size: .83rem;
  font-weight: 750;
}

.progress-track {
  height: .5rem;
  overflow: hidden;
  background: #e3e1d9;
  border-radius: 99px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--verde-600);
  border-radius: inherit;
  transition: width .22s ease;
}

.question-area {
  min-width: 0;
  margin: 2rem 0 0;
  padding: 0;
  border: 0;
}

.question-area[disabled] {
  opacity: .7;
}

.question-area legend {
  width: 100%;
  margin-bottom: 1.25rem;
  color: var(--verde-900);
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  font-weight: 780;
  line-height: 1.25;
}

.required-note {
  margin: - .6rem 0 1rem;
  color: #526158;
  font-size: .85rem;
}

.choice-list {
  display: grid;
  gap: .7rem;
}

.choice-option {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 3.75rem;
  padding: .75rem 1rem;
  background: #fffefa;
  border: 1px solid var(--borde);
  border-radius: .7rem;
}

.choice-option:has(input:checked) {
  background: var(--verde-100);
  border-color: var(--verde-600);
  box-shadow: inset 0 0 0 1px var(--verde-600);
}

.choice-option input {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  accent-color: var(--verde-600);
}

.choice-option span {
  font-weight: 650;
  line-height: 1.3;
}

.scale-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .45rem;
}

.scale-option {
  display: grid;
  min-height: 3.6rem;
  place-items: center;
  color: var(--verde-900);
  font-weight: 800;
  background: #fffefa;
  border: 1px solid var(--borde);
  border-radius: .6rem;
}

.scale-option:has(input:checked) {
  color: var(--blanco);
  background: var(--verde-600);
  border-color: var(--verde-600);
}

.scale-option input {
  position: absolute;
  opacity: 0;
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .55rem;
  color: #526158;
  font-size: .78rem;
}

.text-answer {
  display: block;
  width: 100%;
  min-height: 9rem;
  padding: .9rem;
  color: var(--tinta);
  background: #fffefa;
  border: 1px solid var(--borde);
  border-radius: .65rem;
  resize: vertical;
}

.text-answer::placeholder {
  color: #778179;
}

.form-error {
  margin: 1rem 0 0;
  padding: .75rem .9rem;
  color: #7b2118;
  background: #fff0ed;
  border-left: 4px solid #bb402e;
  border-radius: .3rem;
}

.survey-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: .7rem;
  margin-top: 1.6rem;
}

.survey-actions .button {
  width: 100%;
}

.thanks-card {
  text-align: left;
}

.thanks-card h1 {
  font-size: clamp(2rem, 8vw, 3.3rem);
}

.thanks-card .button {
  margin-top: .5rem;
}

@media (min-width: 620px) {
  .site-header,
  .hero,
  .section,
  .participation,
  .site-footer {
    width: min(1160px, calc(100% - 3rem));
  }

  .header-link {
    display: inline;
  }

  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(230px, .7fr);
    align-items: end;
    padding: 4rem;
  }

  .two-column {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
  }

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

  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .participation {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.5rem 3rem;
  }

  .button-light {
    width: auto;
  }

  .survey-card,
  .thanks-card {
    padding: 2rem;
  }

  .survey-actions {
    flex-direction: row;
    justify-content: space-between;
  }

  .survey-actions .button {
    width: auto;
    min-width: 9rem;
  }

  .survey-actions .button-primary {
    margin-left: auto;
  }
}

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

  .benefit-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .benefit-list li {
    grid-template-columns: 1fr;
  }

  .benefit-list span {
    grid-row: auto;
    margin-bottom: .45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body > * {
    display: none !important;
  }
}
