@font-face {
  font-family: "Rubik Local";
  src: url("/consejoagroalimentariooferta/assets/rubik-latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Rubik Local";
  src: url("/consejoagroalimentariooferta/assets/rubik-latin-500-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Rubik Local";
  src: url("/consejoagroalimentariooferta/assets/rubik-latin-600-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Rubik Local";
  src: url("/consejoagroalimentariooferta/assets/rubik-latin-700-normal.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --navy: #212951;
  --navy-900: #2b3564;
  --navy-800: #364174;
  --navy-deep: #131a3a;
  --ink: #1a2140;
  --slate: #5b6684;
  --orange: #ed6f3b;
  --orange-deep: #d95c27;
  --orange-pale: #fce8df;
  --orange-soft: #ffb08e;
  --sage: #6f9c7d;
  --sage-deep: #45694f;
  --sage-pale: #e6f2ea;
  --sage-mist: #b6dbc1;
  --cream: #fbfaf6;
  --cream-deep: #f4f1e9;
  --white: #ffffff;
  --line: #d9dde8;
  --danger: #b62927;
  --container: 77rem;
  --gutter: clamp(1.1rem, 4vw, 3.4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1.5rem 4rem rgb(33 41 81 / 18%);
  --shadow-soft: 0 0.9rem 2.5rem rgb(33 41 81 / 10%);
  --shadow-deep: 0 2.2rem 5rem rgb(4 8 28 / 45%);
  --header-height: 5.5rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  background:
    radial-gradient(circle at 6% 21%, rgb(111 156 125 / 9%), transparent 24rem),
    var(--cream);
  color: var(--ink);
  font-family: "Rubik Local", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1.01;
  text-wrap: balance;
}

svg path,
svg rect,
svg circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:focus-visible {
  outline: 0.2rem solid var(--orange);
  outline-offset: 0.22rem;
}

::selection {
  background: var(--orange);
  color: var(--navy);
}

.layout {
  margin-inline: auto;
  max-width: var(--container);
  padding-inline: var(--gutter);
  width: 100%;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--orange);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  left: 1rem;
  padding: 0.78rem 1rem;
  position: fixed;
  top: -5rem;
  transition: top 180ms ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(33 41 81 / 10%);
  height: var(--header-height);
  position: sticky;
  top: 0;
  transition: height 260ms var(--ease), box-shadow 260ms ease;
  z-index: 20;
}

.site-header.is-compact {
  --header-height: 4.5rem;
  box-shadow: 0 0.6rem 1.8rem rgb(33 41 81 / 9%);
}

.site-header__inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--container);
  padding-inline: var(--gutter);
}

.co-brand {
  align-items: center;
  display: flex;
  gap: clamp(0.58rem, 1.4vw, 1rem);
  min-width: 0;
}

.co-brand__abu,
.co-brand__consejo {
  height: 3.9rem;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transition: height 260ms var(--ease);
  width: clamp(8.5rem, 16vw, 11.7rem);
}

.site-header.is-compact .co-brand__abu,
.site-header.is-compact .co-brand__consejo {
  height: 3.2rem;
}

.co-brand__divider {
  background: var(--line);
  height: 2.45rem;
  width: 1px;
}

.co-brand__consejo {
  /* Vector logo without margins: no scale compensation needed. */
  padding-block: 0.15rem;
}

/* ---------- Buttons ---------- */

.header-cta,
.button {
  align-items: center;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.82rem;
  justify-content: center;
  letter-spacing: 0.09em;
  min-height: 3.2rem;
  text-transform: uppercase;
  transition:
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem clamp(0.8rem, 2.15vw, 1.45rem);
}

.header-cta svg,
.button svg,
.text-link svg {
  height: 1.1rem;
  flex: 0 0 auto;
  transition: transform 180ms var(--ease);
  width: 1.1rem;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--orange);
  color: var(--navy);
  transform: translateY(-0.1rem);
}

.header-cta:hover svg,
.button:hover svg,
.text-link:hover svg {
  transform: translateX(0.18rem);
}

.button {
  border: 1px solid transparent;
  padding: 0.82rem 1.05rem 0.82rem 1.25rem;
}

.button--orange {
  background: var(--orange);
  color: var(--navy);
}

.button--orange:hover,
.button--orange:focus-visible {
  background: #ff9369;
  box-shadow: 0 0.8rem 1.8rem rgb(237 111 59 / 23%);
  transform: translateY(-0.13rem);
}

.button--navy {
  background: var(--navy);
  color: var(--white);
}

.button--navy:hover,
.button--navy:focus-visible {
  background: var(--orange);
  color: var(--navy);
  transform: translateY(-0.13rem);
}

.button--ghost {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 42%);
  color: var(--white);
}

.button--ghost svg path {
  fill: currentColor;
  stroke: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  transform: translateY(-0.13rem);
}

.button--pulse {
  animation: cta-pulse 3.2s ease-in-out infinite;
}

/* ---------- Ribbon ---------- */

.campaign-ribbon {
  align-items: center;
  background: var(--orange);
  color: var(--navy);
  display: flex;
  min-height: 2.6rem;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.campaign-ribbon__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.campaign-ribbon__track {
  align-items: center;
  animation: campaign-marquee 46s linear infinite;
  display: flex;
  font-size: 0.66rem;
  font-weight: 700;
  gap: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  width: max-content;
}

.campaign-ribbon__track i {
  background: currentColor;
  border-radius: 100%;
  display: block;
  height: 0.35rem;
  opacity: 0.7;
  width: 0.35rem;
}

.campaign-ribbon.is-paused .campaign-ribbon__track,
html.motion-paused .campaign-ribbon__track {
  animation-play-state: paused;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(circle at 18% 12%, rgb(111 156 125 / 30%), transparent 30rem),
    linear-gradient(127deg, var(--navy-deep) 0%, var(--navy) 55%, #2e4371 100%);
  color: var(--white);
  isolation: isolate;
  overflow: clip;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  opacity: 0.26;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero__field {
  inset: 0 0 auto 0;
  height: min(62rem, 100%);
  overflow: hidden;
  position: absolute;
  z-index: -3;
}

.hero__field::after {
  background:
    linear-gradient(180deg, rgb(33 41 81 / 55%) 0%, rgb(33 41 81 / 72%) 55%, var(--navy) 100%),
    linear-gradient(90deg, rgb(19 26 58 / 80%), rgb(19 26 58 / 20%) 60%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero__field img {
  animation: hero-drift 28s ease-in-out infinite alternate;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform-origin: 60% 40%;
  width: 100%;
}

.hero__wash {
  background: radial-gradient(ellipse at 78% 18%, rgb(237 111 59 / 22%), transparent 34%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.hero__layout {
  align-items: start;
  display: grid;
  gap: clamp(1.8rem, 3.2vw, 2.8rem) clamp(1.8rem, 3.4vw, 3.2rem);
  grid-template-columns: minmax(0, 1.38fr) minmax(21rem, 0.82fr);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  padding-top: clamp(2rem, 3.6vw, 3rem);
}

/* En escritorio el escenario se disuelve en la cuadrícula del hero:
   copia y video a la izquierda, formulario a la derecha desde el primer pantallazo. */
.hero__stage {
  display: contents;
}

.hero__copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 46rem;
}

.hero__layout > .hero__stage > .video-stage {
  grid-column: 1;
  grid-row: 2;
}

.hero__layout > .hero__stage > .form-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.eyebrow {
  align-items: center;
  color: var(--orange-deep);
  display: flex;
  font-size: 0.69rem;
  font-weight: 700;
  gap: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  display: block;
  flex: 0 0 auto;
  height: 0.16rem;
  width: 1.7rem;
}

.eyebrow--light {
  color: var(--orange-soft);
}

.eyebrow__mark {
  border: 1px solid currentColor;
  border-radius: 50%;
  height: 0.54rem;
  position: relative;
  width: 0.54rem;
}

.eyebrow__mark::after {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 0.2rem;
  inset: 0;
  margin: auto;
  position: absolute;
  width: 0.2rem;
}

.hero .eyebrow {
  color: var(--orange-soft);
  margin-bottom: 1.2rem;
}

.hero .eyebrow::before {
  display: none;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.2vw, 4.9rem);
  max-width: 14ch;
}

.hero__lead {
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6;
  margin-top: clamp(1rem, 2vw, 1.4rem);
  max-width: 40rem;
}

.hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  margin-top: 1.6rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}

.hero__trust-item {
  align-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  color: rgb(255 255 255 / 86%);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 500;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  padding: 0.5rem 0.8rem 0.5rem 0.65rem;
}

.hero__trust-item svg {
  color: var(--sage-mist);
  flex: 0 0 auto;
  height: 1.05rem;
  width: 1.05rem;
}

.hero__trust-item strong {
  color: var(--white);
  font-weight: 700;
  margin-right: 0.3rem;
}

.hero__trust-item--rvoe {
  background: rgb(237 111 59 / 16%);
  border-color: rgb(255 176 142 / 55%);
}

.hero__trust-item--rvoe svg {
  color: var(--orange-soft);
}

/* ---------- Video stage + form ---------- */

.video-stage {
  min-width: 0;
  position: relative;
}

.video-stage__frame {
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  box-shadow: var(--shadow-deep);
  isolation: isolate;
  outline: 1px solid rgb(255 255 255 / 24%);
  overflow: hidden;
  position: relative;
}

.video-stage__frame::before {
  background: var(--orange);
  content: "";
  height: 0.45rem;
  left: 0;
  position: absolute;
  top: 0;
  width: 7.2rem;
  z-index: 4;
}

.video-stage__teaser,
.video-stage__full {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.video-stage__teaser {
  filter: saturate(0.94);
  transition: opacity 500ms ease;
}

.video-stage.is-playing .video-stage__teaser {
  opacity: 0;
  pointer-events: none;
}

.video-stage__full {
  background: #000;
  object-fit: contain;
  z-index: 2;
}

.video-stage.is-ended .video-stage__full {
  visibility: hidden;
}

.video-stage__overlay {
  align-items: center;
  background: linear-gradient(180deg, rgb(19 26 58 / 34%) 0%, rgb(19 26 58 / 6%) 45%, rgb(19 26 58 / 66%) 100%);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 1.4rem;
  position: absolute;
  text-align: center;
  transition: opacity 320ms ease, visibility 320ms;
  z-index: 3;
}

.video-stage.is-playing .video-stage__overlay {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.video-stage__play {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  position: relative;
}

.video-stage__play-disc {
  align-items: center;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 1rem 2.6rem rgb(237 111 59 / 38%);
  color: var(--navy);
  display: flex;
  height: clamp(4.4rem, 8vw, 5.6rem);
  justify-content: center;
  position: relative;
  transition: transform 260ms var(--ease), background 200ms ease;
  width: clamp(4.4rem, 8vw, 5.6rem);
  z-index: 1;
}

.video-stage__play-disc svg {
  height: 42%;
  margin-left: 6%;
  width: 42%;
}

.video-stage__play-disc svg path {
  fill: currentColor;
  stroke: none;
}

.video-stage__play-ring {
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  height: clamp(4.4rem, 8vw, 5.6rem);
  left: 50%;
  position: absolute;
  top: 1rem;
  transform: translateX(-50%);
  width: clamp(4.4rem, 8vw, 5.6rem);
  animation: play-ring 2.6s ease-out infinite;
}

.video-stage__play:hover .video-stage__play-disc,
.video-stage__play:focus-visible .video-stage__play-disc {
  background: #ff9369;
  transform: scale(1.07);
}

.video-stage__play-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 0.2rem 1rem rgb(0 0 0 / 40%);
  text-transform: uppercase;
}

.video-stage__end {
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgb(111 156 125 / 40%), transparent 26rem),
    rgb(19 26 58 / 92%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  inset: 0;
  justify-content: center;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  position: absolute;
  text-align: center;
  z-index: 5;
  animation: fade-in 420ms var(--ease) both;
}

.video-stage__end h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  max-width: 22ch;
}

.video-stage__end-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.video-stage__caption {
  align-items: flex-start;
  display: flex;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.video-stage__caption-mark {
  background: var(--orange);
  flex: 0 0 auto;
  height: 0.2rem;
  margin-top: 0.7rem;
  width: 1.7rem;
}

.video-stage__caption-title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.video-stage__caption-text {
  color: rgb(255 255 255 / 74%);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-top: 0.3rem;
  max-width: 44rem;
}

/* ---------- Form ---------- */

.form-shell {
  background:
    radial-gradient(circle at 102% 0%, rgb(111 156 125 / 20%), transparent 13rem),
    var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  outline: 1px solid rgb(255 255 255 / 29%);
  padding: clamp(1.45rem, 2.6vw, 2.2rem);
  position: relative;
}

.form-shell::before,
.form-shell::after {
  content: "";
  position: absolute;
}

.form-shell::before {
  background: var(--orange);
  height: 0.45rem;
  left: 0;
  top: 0;
  width: 7.2rem;
}

.form-shell::after {
  border: 1px solid var(--sage);
  bottom: -0.85rem;
  height: 2.75rem;
  right: -0.85rem;
  width: 2.75rem;
  z-index: -1;
}

.form-shell h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
}

.form-shell__intro {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.8rem;
}

.offer-form {
  margin-top: 1.35rem;
}

.offer-form__fields {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  min-width: 0;
}

.field label {
  color: var(--navy);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.36rem;
}

.field label span {
  color: var(--orange-deep);
}

.field input {
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  min-height: 2.78rem;
  padding: 0.62rem 0.7rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
  width: 100%;
}

.field input:hover {
  border-color: #9ca6bf;
}

.field input:focus {
  background: var(--white);
  border-color: var(--sage);
  box-shadow: 0 0 0 0.18rem rgb(111 156 125 / 17%);
  outline: 0;
}

.field input[aria-invalid="true"],
.field.has-error input {
  border-color: var(--danger);
}

.field__error {
  color: var(--danger);
  font-size: 0.69rem;
  line-height: 1.35;
  margin-top: 0.35rem;
}

.offer-form__trap {
  height: 1px;
  left: -10000px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.consent {
  align-items: flex-start;
  color: var(--slate);
  cursor: pointer;
  display: flex;
  font-size: 0.75rem;
  gap: 0.56rem;
  line-height: 1.45;
  margin-top: 1rem;
}

.consent input {
  accent-color: var(--sage-deep);
  flex: 0 0 auto;
  height: 1rem;
  margin: 0.12rem 0 0;
  width: 1rem;
}

.consent a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

.field__error--consent {
  margin-left: 1.57rem;
}

.field--full {
  margin-top: 0.85rem;
}

.diploma-field__label {
  color: var(--navy);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.36rem;
}

.diploma-picker {
  background: #fbfcfd;
  border: 1px solid var(--line);
  min-width: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.diploma-picker:hover {
  border-color: #9ca6bf;
}

.diploma-picker[open] {
  border-color: var(--sage);
  box-shadow: 0 0 0 0.18rem rgb(111 156 125 / 17%);
}

.diploma-picker summary {
  align-items: center;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 0.85rem;
  gap: 0.8rem;
  justify-content: space-between;
  line-height: 1.4;
  list-style: none;
  min-height: 3rem;
  padding: 0.72rem;
}

.diploma-picker summary::-webkit-details-marker {
  display: none;
}

.diploma-picker summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  flex: 0 0 0.45rem;
  height: 0.45rem;
  margin-right: 0.2rem;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
  width: 0.45rem;
}

.diploma-picker[open] summary {
  border-bottom: 1px solid var(--line);
}

.diploma-picker[open] summary::after {
  transform: rotate(225deg);
}

.diploma-picker summary:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
}

.diploma-options {
  border: 0;
  margin: 0;
  max-height: 18rem;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.3rem;
}

.field .diploma-option {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 0.8rem;
  gap: 0.65rem;
  line-height: 1.45;
  margin: 0;
  min-height: 2.8rem;
  padding: 0.65rem 0.5rem;
  transition: background 140ms ease;
}

.field .diploma-option span {
  color: var(--navy);
  display: grid;
  gap: 0.1rem;
  overflow-wrap: anywhere;
}

.field .diploma-option strong {
  font-weight: 600;
}

.field .diploma-option small {
  color: var(--slate);
  font-size: 0.7rem;
  line-height: 1.4;
}

.field .diploma-option input {
  accent-color: var(--navy);
  flex: 0 0 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  min-height: 1.1rem;
  padding: 0;
  width: 1.1rem;
}

.diploma-option:hover,
.diploma-option:focus-within,
.diploma-option:has(input:checked) {
  background: var(--sage-pale);
}

.diploma-hint,
.diploma-selected {
  color: var(--slate);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0.45rem 0 0;
  overflow-wrap: anywhere;
}

.diploma-selected {
  color: var(--navy);
  font-weight: 500;
}

.diploma-clear {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-size: 0.72rem;
  min-height: 2.75rem;
  padding: 0.45rem 0;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.offer-form__submit {
  margin-top: 1.25rem;
  min-height: 3.38rem;
  width: 100%;
}

.offer-form__loader {
  animation: loader-spin 0.85s linear infinite;
  border: 2px solid rgb(255 255 255 / 42%);
  border-radius: 50%;
  border-top-color: currentColor;
  display: none;
  height: 1rem;
  width: 1rem;
}

.offer-form[aria-busy="true"] .offer-form__loader,
.offer-form.is-submitting .offer-form__loader {
  display: inline-block;
}

.offer-form[aria-busy="true"] .offer-form__submit-label,
.offer-form[aria-busy="true"] .offer-form__submit svg,
.offer-form.is-submitting .offer-form__submit-label,
.offer-form.is-submitting .offer-form__submit svg {
  display: none;
}

.form-shell__privacy {
  align-items: flex-start;
  color: var(--slate);
  display: flex;
  font-size: 0.68rem;
  gap: 0.4rem;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin-top: 0.9rem;
  text-align: left;
}

.form-shell__privacy svg {
  color: var(--sage-deep);
  flex: 0 0 auto;
  height: 0.9rem;
  margin-top: 0.1rem;
  width: 0.9rem;
}

.form-status:not(:empty) {
  background: var(--orange-pale);
  border-left: 0.22rem solid var(--orange-deep);
  color: #873917;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.62rem 0.72rem;
}

.form-status.is-error {
  background: #ffefed;
  border-left-color: var(--danger);
  color: var(--danger);
}

.form-status--noscript {
  margin-top: 1rem;
}

.form-success {
  animation: fade-in 500ms var(--ease) both;
  padding: 1.5rem 0 0.4rem;
}

.form-success__icon {
  align-items: center;
  background: var(--sage-pale);
  border-radius: 50%;
  color: var(--sage-deep);
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 700;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1.35rem;
  width: 3rem;
}

.form-success .eyebrow {
  margin-bottom: 0.75rem;
}

.form-success h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.form-success > p:last-child {
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.62;
  margin-top: 1rem;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4rem, 8vw, 7.2rem);
}

.section-heading {
  display: grid;
  gap: 1.2rem;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  max-width: 50rem;
}

.section-heading h2,
.process__heading h2,
.faq__heading h2,
.chain__heading h2,
.audience__intro h2 {
  font-size: clamp(2.1rem, 3.9vw, 3.9rem);
  max-width: 15ch;
}

.section-heading > p:last-child,
.process__heading > p:last-of-type,
.faq__heading > p:last-child,
.chain__heading > p:first-of-type {
  color: var(--slate);
  font-size: clamp(0.98rem, 1.5vw, 1.13rem);
  line-height: 1.68;
  max-width: 43rem;
}

/* ---------- Audience ---------- */

.audience {
  background: var(--white);
  border-bottom: 1px solid rgb(33 41 81 / 8%);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.audience__layout {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.audience__intro {
  display: grid;
  gap: 1rem;
}

.audience__intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: 16ch;
}

.audience__list {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience__item {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex;
  font-size: 0.86rem;
  font-weight: 500;
  gap: 0.85rem;
  line-height: 1.35;
  padding: 0.85rem 1rem;
  transition: border-color 200ms ease, transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.audience__item:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-soft);
  transform: translateY(-0.2rem);
}

.audience__item svg {
  color: var(--sage-deep);
  flex: 0 0 auto;
  height: 1.7rem;
  width: 1.7rem;
}

/* ---------- Programs ---------- */

.offer-overview {
  background:
    linear-gradient(90deg, rgb(33 41 81 / 2%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(33 41 81 / 2%) 1px, transparent 1px),
    var(--cream);
  background-size: 3rem 3rem;
}

.academic-grid {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.academic-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  min-width: 0;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  transition: box-shadow 260ms var(--ease), border-color 200ms ease;
}

.academic-card:hover {
  border-color: #c5ccdb;
  border-top-color: var(--orange);
  box-shadow: var(--shadow-soft);
}

.academic-card:nth-child(2) {
  border-top-color: var(--sage-deep);
}

.academic-card:nth-child(2):hover {
  border-top-color: var(--sage-deep);
}

.academic-eyebrow {
  color: var(--sage-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.academic-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0;
  max-width: 23ch;
}

.academic-summary {
  color: var(--slate);
  font-size: 0.91rem;
  line-height: 1.65;
  margin: 1rem 0 1.3rem;
}

.academic-facts {
  border-block: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  margin: 0 0 1.25rem;
  padding: 1rem 0;
}

.academic-facts div {
  min-width: 0;
}

.academic-facts dt {
  color: var(--slate);
  font-size: 0.7rem;
  margin: 0 0 0.3rem;
}

.academic-facts dd {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.academic-rvoe {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  margin: 0 0 1.1rem;
  padding: 0.8rem 0.95rem;
}

.academic-rvoe p {
  color: var(--slate);
  font-size: 0.76rem;
  line-height: 1.5;
}

.academic-rvoe strong {
  color: var(--navy);
}

.academic-enrollment,
.academic-start,
.academic-curriculum-note {
  color: var(--slate);
  font-size: 0.81rem;
  line-height: 1.6;
  margin: 0.75rem 0;
}

.academic-enrollment {
  color: var(--navy);
  font-weight: 500;
}

.academic-start {
  border-left: 2px solid var(--orange);
  padding-left: 0.85rem;
}

.academic-curriculum {
  border: 1px solid var(--line);
  margin-top: 1.3rem;
}

.academic-curriculum > summary,
.academic-unit > summary {
  align-items: center;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  font-weight: 500;
  gap: 0.7rem;
  line-height: 1.5;
  list-style: none;
  min-height: 3.3rem;
  padding: 0.85rem;
  transition: background 150ms ease;
}

.academic-curriculum > summary {
  background: var(--sage-pale);
}

.academic-curriculum > summary:hover {
  background: #d9ebde;
}

.academic-unit > summary:hover {
  background: var(--cream);
}

.academic-curriculum > summary::-webkit-details-marker,
.academic-unit > summary::-webkit-details-marker {
  display: none;
}

.academic-curriculum > summary::after,
.academic-unit > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  margin-left: auto;
  transition: transform 200ms var(--ease);
}

.academic-curriculum[open] > summary::after,
.academic-unit[open] > summary::after {
  content: "−";
}

.academic-curriculum summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.academic-count {
  color: var(--sage-deep);
  font-size: 0.65rem;
  white-space: nowrap;
}

.academic-units {
  padding: 0.35rem 0.65rem;
}

.academic-unit + .academic-unit {
  border-top: 1px solid var(--line);
}

.academic-unit > summary {
  padding-inline: 0.25rem;
}

.academic-unit-type {
  color: var(--sage-deep);
  flex: 0 0 auto;
  font-size: 0.64rem;
}

.academic-unit-title {
  min-width: 0;
}

.academic-subjects {
  animation: fade-in 300ms var(--ease) both;
  margin: 0.3rem 0 1.15rem;
  padding-left: 1.45rem;
  padding-right: 0.2rem;
}

.academic-subjects li {
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0.55rem;
  overflow-wrap: anywhere;
  padding-left: 0.2rem;
}

.academic-subjects li::marker {
  color: var(--sage-deep);
  font-weight: 500;
}

.academic-request {
  align-items: center;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.81rem;
  font-weight: 600;
  gap: 0.55rem;
  margin-top: 0.9rem;
  min-height: 2.8rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.academic-request svg {
  height: 1rem;
  transition: transform 180ms var(--ease);
  width: 1rem;
}

.academic-request:hover {
  color: var(--orange-deep);
}

.academic-request:hover svg {
  transform: translateX(0.18rem);
}

.expert-contact-strip {
  align-items: center;
  background: var(--sage-pale);
  border: 1px solid #cbddcf;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1.4rem 1.6rem;
}

.expert-contact-copy {
  min-width: 0;
}

.expert-contact-copy h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin: 0;
}

.expert-contact-copy p {
  color: var(--slate);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

.expert-contact-button {
  align-items: center;
  background: var(--sage-deep);
  border-radius: 0.3rem;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 0.75rem;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.25rem;
  text-transform: none;
  transition: background 180ms ease, transform 200ms var(--ease);
}

.expert-contact-button svg {
  flex: 0 0 auto;
  height: 1.6rem;
  width: 1.4rem;
}

.expert-contact-button:hover {
  background: #2c4a34;
  transform: translateY(-0.1rem);
}

.expert-contact-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

/* ---------- Chain (agrifood ecosystem) ---------- */

.chain {
  background:
    radial-gradient(circle at 88% 14%, rgb(111 156 125 / 38%), transparent 24rem),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-900));
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.chain__grain {
  background:
    repeating-linear-gradient(124deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 8% 90%, rgb(237 111 59 / 26%), transparent 24rem);
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

.chain__layout {
  display: grid;
  gap: clamp(2.6rem, 5vw, 4.4rem);
  position: relative;
}

.chain__heading {
  display: grid;
  gap: 1.2rem;
  max-width: 52rem;
}

.chain__heading > p:first-of-type {
  color: rgb(255 255 255 / 76%);
}

.chain__quote {
  border-left: 3px solid var(--orange);
  margin-top: 0.4rem;
  max-width: 34rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.chain__quote p {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.chain__quote cite {
  color: rgb(255 255 255 / 60%);
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.chain__list {
  counter-reset: chain;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.chain__track {
  height: 2px;
  left: calc(100% / 12);
  position: absolute;
  right: calc(100% / 12);
  top: 1.85rem;
}

.chain__track::before {
  background: rgb(255 255 255 / 16%);
  content: "";
  inset: 0;
  position: absolute;
}

.chain__track::after {
  background: linear-gradient(90deg, var(--sage-mist), var(--orange));
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease-out) 200ms;
}

.chain__list.is-active .chain__track::after {
  transform: scaleX(1);
}

.chain__pulse {
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgb(255 255 255 / 22%), 0 0 1.2rem rgb(255 176 142 / 80%);
  height: 0.6rem;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.6rem;
}

.chain__list.is-active .chain__pulse {
  animation: chain-pulse 7s linear 2.2s infinite;
}

.chain__node {
  opacity: 0;
  position: relative;
  text-align: center;
  transform: translateY(1rem);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: calc(var(--i) * 220ms + 320ms);
}

.chain__list.is-active .chain__node {
  opacity: 1;
  transform: translateY(0);
}

.chain__icon {
  align-items: center;
  background: var(--navy);
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
  color: var(--sage-mist);
  display: flex;
  height: 3.7rem;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms var(--ease);
  width: 3.7rem;
}

.chain__icon svg {
  height: 1.7rem;
  width: 1.7rem;
}

.chain__node:hover .chain__icon {
  border-color: var(--orange-soft);
  box-shadow: 0 0 0 0.4rem rgb(237 111 59 / 16%);
  transform: translateY(-0.15rem);
}

.chain__node h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.chain__node h3::before {
  color: var(--orange-soft);
  content: "0" counter(chain);
  counter-increment: chain;
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
}

.chain__node p {
  color: rgb(255 255 255 / 68%);
  font-size: 0.76rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* ---------- Process ---------- */

.process {
  background: var(--white);
}

.process__layout {
  display: grid;
  gap: clamp(2.8rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.process__heading {
  align-self: start;
  display: grid;
  gap: 1.2rem;
  position: sticky;
  top: 6.5rem;
}

.process__heading .button {
  margin-top: 0.5rem;
  width: fit-content;
}

.process__steps {
  counter-reset: steps;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-step {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.3rem);
  grid-template-columns: 2.7rem 1fr;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-step__number {
  align-items: center;
  background: var(--sage-pale);
  border-radius: 50%;
  color: var(--sage-deep);
  display: flex;
  font-size: 0.85rem;
  font-weight: 700;
  height: 2.7rem;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease;
  width: 2.7rem;
}

.process-step:hover .process-step__number {
  background: var(--orange);
  color: var(--navy);
}

.process-step h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

.process-step p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 0.65rem;
  max-width: 29rem;
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--cream-deep);
}

.faq__layout {
  display: grid;
  gap: clamp(2.5rem, 8vw, 8.6rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
}

.faq__heading {
  display: grid;
  gap: 1.15rem;
}

.faq__list {
  align-self: start;
  border-top: 1px solid rgb(33 41 81 / 22%);
}

.faq-item {
  border-bottom: 1px solid rgb(33 41 81 / 18%);
  padding: 0;
}

.faq-item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  padding: 1.25rem 0;
  transition: color 160ms ease;
}

.faq-item summary:hover {
  color: var(--orange-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--orange-deep);
  content: "+";
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 0.7;
  transition: transform 220ms var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  animation: fade-in 320ms var(--ease) both;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 41rem;
  padding: 0 2.2rem 1.25rem 0;
}

/* ---------- Closing CTA ---------- */

.closing-cta {
  background:
    radial-gradient(circle at 84% 28%, rgb(111 156 125 / 48%), transparent 19rem),
    var(--navy);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.closing-cta__grain {
  background:
    repeating-linear-gradient(124deg, rgb(255 255 255 / 7%) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 11% 85%, rgb(237 111 59 / 34%), transparent 25rem);
  inset: 0;
  opacity: 0.46;
  pointer-events: none;
  position: absolute;
}

.closing-cta__layout {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 19rem;
  padding-block: 3.4rem;
  position: relative;
}

.closing-cta h2 {
  font-size: clamp(2.15rem, 4.2vw, 4.2rem);
  margin-top: 1rem;
  max-width: 15ch;
}

.closing-cta .button {
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #161c3b;
  color: var(--white);
}

.site-footer__inner {
  align-items: start;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-block: 3.2rem 2.5rem;
}

.site-footer__brand {
  max-width: 24rem;
}

.site-footer__brand img {
  height: 4.2rem;
  object-fit: contain;
  width: 12rem;
}

.site-footer__brand p {
  color: rgb(255 255 255 / 63%);
  font-size: 0.78rem;
  line-height: 1.57;
  margin-top: 1.15rem;
}

.site-footer__brand .site-footer__rvoe {
  align-items: center;
  color: rgb(255 255 255 / 80%);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 600;
  gap: 0.45rem;
  letter-spacing: 0.06em;
  margin-top: 0.8rem;
  text-transform: uppercase;
}

.site-footer__brand .site-footer__rvoe::before {
  background: var(--orange);
  content: "";
  display: block;
  height: 0.15rem;
  width: 1.2rem;
}

.site-footer__campaign {
  max-width: 23rem;
  text-align: right;
}

.site-footer__campaign > p {
  color: rgb(255 255 255 / 62%);
  font-size: 0.78rem;
  line-height: 1.57;
  margin-top: 1.15rem;
}

.site-footer__consejo-logo {
  background: var(--white);
  display: inline-flex;
  height: 4.2rem;
  overflow: hidden;
  padding: 0.45rem 0.7rem;
  vertical-align: top;
  width: 12rem;
}

.site-footer__consejo-logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-footer__bottom {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 13%);
  color: rgb(255 255 255 / 56%);
  display: flex;
  font-size: 0.68rem;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.15rem;
}

.site-footer__bottom a {
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.site-footer__privacy-button {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

/* ---------- Sticky CTA (mobile) ---------- */

.sticky-cta {
  display: none;
}

/* ---------- Consent banner ---------- */

.consent-banner {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  bottom: 1rem;
  box-shadow: 0 1rem 3.5rem rgb(18 25 56 / 25%);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 50%;
  max-width: min(72rem, calc(100vw - 2rem));
  padding: 1.1rem 1.2rem;
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
}

.consent-banner__copy {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 57rem;
}

.consent-banner__copy strong {
  display: block;
  margin-bottom: 0.18rem;
}

.consent-banner__copy a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.consent-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.button--consent-secondary {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.button--consent-secondary:hover,
.button--consent-secondary:focus-visible {
  background: var(--cream-deep);
}

/* ---------- Promo panel ---------- */

.promo-panel {
  background:
    linear-gradient(133deg, rgb(255 255 255 / 8%), transparent 36%),
    var(--navy);
  bottom: 1.25rem;
  box-shadow: 0 1.3rem 4rem rgb(4 8 28 / 35%);
  color: var(--white);
  max-width: min(24.3rem, calc(100vw - 2.5rem));
  padding: 1.45rem 1.35rem 1.35rem;
  position: fixed;
  right: 1.25rem;
  z-index: 50;
}

.promo-panel::after {
  border: 1px solid rgb(182 219 193 / 51%);
  content: "";
  height: 2rem;
  position: absolute;
  right: -0.45rem;
  top: -0.45rem;
  width: 2rem;
}

.promo-panel:not([hidden]) {
  animation: promo-enter 420ms var(--ease) both;
}

.promo-panel__close {
  align-items: center;
  background: rgb(255 255 255 / 11%);
  border: 0;
  color: var(--white);
  display: flex;
  height: 2rem;
  justify-content: center;
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: 2rem;
}

.promo-panel__close:hover {
  background: var(--orange);
  color: var(--navy);
}

.promo-panel__close svg {
  height: 1rem;
  width: 1rem;
}

.promo-panel__eyebrow {
  color: var(--sage-mist);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding-right: 2rem;
  text-transform: uppercase;
}

.promo-panel h2 {
  font-size: 1.7rem;
  margin-top: 0.7rem;
}

.promo-panel > p:not(.promo-panel__eyebrow) {
  color: rgb(255 255 255 / 73%);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 0.6rem;
}

.promo-panel .button {
  font-size: 0.66rem;
  margin-top: 1rem;
  min-height: 2.8rem;
  padding-inline: 0.85rem;
}

/* ---------- Reveal + text links ---------- */

.text-link {
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 46%);
  color: var(--white);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.85rem;
  letter-spacing: 0.09em;
  margin-top: 0.6rem;
  padding-bottom: 0.45rem;
  text-transform: uppercase;
  width: fit-content;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */

@keyframes campaign-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(237 111 59 / 0%); }
  48% { box-shadow: 0 0 0 0.55rem rgb(237 111 59 / 0%); }
  56% { box-shadow: 0 0 0 0.55rem rgb(237 111 59 / 18%); }
  68% { box-shadow: 0 0 0 0.95rem rgb(237 111 59 / 0%); }
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes promo-enter {
  from { opacity: 0; transform: translateY(1.4rem) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(0.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes play-ring {
  0% { opacity: 0.9; transform: translateX(-50%) scale(1); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.75); }
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -1.5%, 0); }
}

@keyframes chain-pulse {
  0% { left: 0; opacity: 0; }
  4% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes chain-pulse-vertical {
  0% { top: 0; opacity: 0; }
  4% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Responsive ---------- */

@media (max-width: 72rem) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.9fr);
  }

  .chain__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.2rem;
  }

  .chain__track {
    display: none;
  }
}

@media (max-width: 65rem) {
  .hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.65rem);
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__stage {
    display: grid;
    gap: 2rem;
    grid-column: 1;
    grid-row: 2;
  }

  .hero__layout > .hero__stage > .video-stage,
  .hero__layout > .hero__stage > .form-shell {
    grid-column: auto;
    grid-row: auto;
  }

  .form-shell {
    max-width: 38rem;
  }

  .audience__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 53rem) {
  .process__layout,
  .faq__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__layout {
    padding-bottom: 3.6rem;
    padding-top: 3.6rem;
  }

  .hero__copy {
    max-width: 38rem;
  }

  .form-shell {
    max-width: none;
  }

  .academic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .expert-contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .expert-contact-button {
    width: 100%;
  }

  .process__heading {
    position: static;
  }

  .faq__heading h2 {
    max-width: 16ch;
  }

  .promo-panel {
    display: none !important;
  }

  .sticky-cta {
    align-items: center;
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -0.6rem 2rem rgb(18 25 56 / 16%);
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    left: 0;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 60;
    animation: sticky-enter 360ms var(--ease) both;
  }

  .sticky-cta p {
    color: var(--slate);
    font-size: 0.74rem;
    line-height: 1.35;
    min-width: 0;
  }

  .sticky-cta p strong {
    color: var(--navy);
    display: block;
  }

  .sticky-cta .button {
    flex: 0 0 auto;
    font-size: 0.66rem;
    min-height: 2.8rem;
    padding: 0.6rem 0.85rem 0.6rem 1rem;
  }

  body.has-sticky-cta {
    padding-bottom: 4.6rem;
  }

  body.has-sticky-cta .consent-banner {
    bottom: 5rem;
  }
}

@keyframes sticky-enter {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 42rem) {
  html {
    scroll-padding-top: 8.4rem;
  }

  .site-header {
    height: auto;
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    padding-block: 0.55rem;
  }

  .co-brand {
    gap: 0.7rem;
    justify-content: center;
    width: 100%;
  }

  .co-brand__abu,
  .co-brand__consejo,
  .site-header.is-compact .co-brand__abu,
  .site-header.is-compact .co-brand__consejo {
    height: 3rem;
    max-height: none;
    width: 8.6rem;
  }

  .co-brand__divider {
    height: 1.85rem;
  }

  .header-cta {
    font-size: 0.62rem;
    gap: 0.28rem;
    letter-spacing: 0.04em;
    min-height: 2.65rem;
    padding: 0.6rem;
    width: 100%;
  }

  .header-cta svg {
    height: 0.83rem;
    width: 0.83rem;
  }

  .campaign-ribbon {
    min-height: 2.35rem;
  }

  .campaign-ribbon__track {
    font-size: 0.58rem;
    gap: 0.85rem;
  }

  .hero__layout {
    gap: 2rem;
    padding-bottom: 2.9rem;
    padding-top: 2.6rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__trust {
    gap: 0.45rem;
  }

  .hero__trust-item {
    font-size: 0.7rem;
  }

  .video-stage__frame::before {
    width: 5rem;
  }

  .video-stage__kicker {
    font-size: 0.6rem;
    left: 0.9rem;
    top: 0.9rem;
  }

  .video-stage__hint {
    font-size: 0.68rem;
  }

  .video-stage__end h2 {
    font-size: 1.25rem;
  }

  .video-stage__end .button {
    font-size: 0.66rem;
    min-height: 2.7rem;
  }

  .form-shell {
    padding: 1.4rem 1.15rem;
  }

  .form-shell::after {
    display: none;
  }

  .offer-form__fields {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3.8rem;
  }

  .section-heading h2,
  .process__heading h2,
  .faq__heading h2,
  .chain__heading h2 {
    font-size: clamp(2rem, 9.6vw, 3.2rem);
  }

  .audience__list {
    grid-template-columns: 1fr;
  }

  .academic-rvoe {
    grid-template-columns: 1fr;
  }

  .academic-rvoe img {
    max-width: 11rem;
  }

  .academic-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-curriculum > summary {
    flex-wrap: wrap;
  }

  .academic-count {
    white-space: normal;
  }

  .expert-contact-strip {
    padding: 1.2rem;
  }

  .chain__list {
    gap: 0;
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .chain__track {
    bottom: 1.85rem;
    display: block;
    height: auto;
    left: 1.85rem;
    right: auto;
    top: 1.85rem;
    width: 2px;
  }

  .chain__track::after {
    background: linear-gradient(180deg, var(--sage-mist), var(--orange));
    transform: scaleY(0);
    transform-origin: top;
  }

  .chain__list.is-active .chain__track::after {
    transform: scaleY(1);
  }

  .chain__pulse {
    left: 50%;
    top: 0;
  }

  .chain__list.is-active .chain__pulse {
    animation-name: chain-pulse-vertical;
  }

  .chain__node {
    align-items: flex-start;
    display: grid;
    gap: 0 1.1rem;
    grid-template-columns: 3.7rem minmax(0, 1fr);
    padding-block: 0.9rem;
    text-align: left;
  }

  .chain__icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .chain__node h3 {
    padding-top: 0.15rem;
  }

  .chain__node h3::before {
    display: inline;
    margin-right: 0.5rem;
  }

  .chain__node p {
    margin-top: 0.35rem;
  }

  .process__layout,
  .faq__layout {
    gap: 2.5rem;
  }

  .process__heading .button {
    width: 100%;
  }

  .closing-cta__layout {
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    padding-block: 4rem;
  }

  .closing-cta h2 {
    font-size: clamp(2.15rem, 9.7vw, 3.3rem);
  }

  .closing-cta .button {
    width: 100%;
  }

  .site-footer__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer__campaign {
    text-align: left;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .consent-banner {
    align-items: stretch;
    bottom: 0.65rem;
    flex-direction: column;
    gap: 0.9rem;
    max-height: calc(100vh - 1.3rem);
    overflow-y: auto;
    padding: 1rem;
  }

  .consent-banner__actions {
    flex-direction: column-reverse;
  }

  .consent-banner__actions .button {
    width: 100%;
  }

  .promo-panel {
    bottom: 0.8rem;
    max-width: calc(100vw - 1.6rem);
    right: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .campaign-ribbon__track {
    transform: translateX(0) !important;
  }

  .hero__field img {
    animation: none;
    transform: none;
  }

  .video-stage__play-ring,
  .chain__pulse {
    animation: none !important;
    opacity: 0;
  }

  .js .reveal,
  .chain__node {
    opacity: 1;
    transform: none;
  }

  .chain__track::after {
    transform: none;
  }
}
