@font-face {
  font-family: 'Museo Sans';
  src: url('assets/fonts/MuseoSans_500.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('assets/fonts/MuseoSans_500_Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'CCMatineeIdol';
  src: url('assets/fonts/CCMatineeIdol Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   TOKENS
   ============================================= */
:root {
  --navy: #1a2e5a;
  --navy-dark: #112050;
  --orange: #e8531e;
  --white: #ffffff;
  --blue-light: #b8cce4;
  --yellow: #f9c217;
  --blue: #4ecde6;

  --font-sans: 'Museo Sans', 'Arial', sans-serif;
  --font-script: 'CCMatineeIdol', cursive;

  /* ---- Escala tipográfica ---- */
  --fs-xs: .65rem;
  /* logos, etiquetas tiny */
  --fs-sm: .75rem;
  /* labels pequeños */
  --fs-note: .9rem;
  /* notas, captions */
  --fs-base: clamp(.8rem, 1.1vw, .95rem);
  /* cuerpo default */
  --fs-body: clamp(.85rem, 1.2vw, 1rem);
  /* cuerpo medio */
  --fs-lead: clamp(.9rem, 1.4vw, 1.1rem);
  /* párrafos destacados */
  --fs-cta: clamp(.72rem, 1vw, .85rem);
  /* botones CTA */
  --fs-label: 1.2rem;
  /* badges, etiquetas */
  --fs-subtitle: clamp(1.1rem, 1.8vw, 1.5rem);
  /* títulos de sección */
  --fs-h2: clamp(1.4rem, 2.5vw, 2rem);
  /* headings */
  --fs-script: clamp(1.8rem, 3.2vw, 2.6rem);
  /* script headings */
  --fs-script-lg: clamp(3rem, 5.04vw, 4.2rem);
  /* script grande */
  --fs-display: 4rem;
  /* decorativo grande */
  --fs-md: 1rem;
  /* tamaño medio neutro */
  --fs-md-lg: 1.1rem;
  /* tamaño medio alto */

  /* ---- Espaciado entre secciones ---- */
  --section-gap: 80px;

  /* ---- Transiciones ---- */
  --transition-fast: .18s ease;
  --transition-base: .28s ease;
  --transition-smooth: .4s cubic-bezier(.25, .46, .45, .94);
}

/* =============================================
   RESET
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  zoom: 1.25;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--navy);
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 700;
}

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

/* =============================================
   FONDO GLOBAL (placeholder — reemplazar con asset final)
   ============================================= */
.page-bg {
  background-color: #233b81;
  background-image: url('assets/img/bg.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: transparent;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0 24px;
}

/* Forma decorativa — encima del bg, detrás de la card */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: url('assets/img/Forma.png') no-repeat left bottom / 100% auto;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-25deg) translateY(60px);
  transform-origin: left bottom;
  opacity: 0;
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1),
              transform .65s cubic-bezier(.22, 1, .36, 1);
}

.hero.is-visible::before {
  opacity: 1;
  transform: rotate(-25deg) translateY(60px);
}

/* Curved background blobs left/right */
.hero__bg {
  position: absolute;
  top: -80px;
  width: 260px;
  height: 560px;
  background: var(--navy-dark);
  border-radius: 50%;
  opacity: .6;
}

.hero__bg--left {
  left: -100px;
}

.hero__bg--right {
  right: -100px;
}

/* White card */
.hero__card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 0 0 100px 100px;
  padding: 100px 72px 48px;
  text-align: center;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
}

/* Title / Logo */
.hero__title {
  margin: 0 0 32px;
}

.hero__logo-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Logos row */
.hero__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
}

.hero__logo-item img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.hero__logo-divider {
  width: 1px;
  height: 60px;
  background: #ccc;
}

/* Logo fallbacks */
.logo-icon-gov {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text-gov {
  font-size: var(--fs-xs);
  color: var(--navy);
  text-align: left;
  text-transform: uppercase;
}

.logo-text-gov span {
  color: #c0392b;
}

.logo-icon-camara {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#e84040 0deg 90deg, #f5a623 90deg 180deg, #27ae60 180deg 270deg, #2980b9 270deg 360deg);
  flex-shrink: 0;
}

.logo-text-camara {
  font-size: var(--fs-xs);
  color: var(--navy);
  text-align: left;
  text-transform: uppercase;
}

/* Orange accent bottom-left */
.hero__accent {
  position: absolute;
  bottom: -30px;
  left: 60px;
  width: 80px;
  height: 80px;
  background: var(--orange);
  border-radius: 50%;
  z-index: 1;
}

/* =============================================
   NAV BOTONES
   ============================================= */
.nav-btns {
  position: relative;
  width: 100%;
  /* background: #1e3a6e; */
  padding: 32px 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nav-btns__accent {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  width: 48px;
  height: 200%;
  background: var(--orange);
  z-index: 1;
}

.nav-btns__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
}

.nav-btns__btn {
  display: inline-block;
  background: var(--navy-dark);
  color: var(--blue);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.01rem, 1.58vw, 1.22rem);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 14px 41px;
  border-radius: 50px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-btns__btn:hover {
  background: var(--blue);
  color: var(--navy-dark);
}

/* =============================================
   MAIN
   ============================================= */
.main {
  min-height: 200px;
  padding: 0px 24px;
}

/* =============================================
   SECCIÓN 1 — EJECUTA TU PRIMERA VENTA
   ============================================= */
.s1 {
  background: transparent;
  overflow: visible;
  min-height: 540px;
  padding-top: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.s1__content {
  position: relative;
  padding: 120px 56px 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.s1__marco {
  position: absolute;
  inset: 24px;
  pointer-events: none;
  z-index: 0;
  border-radius: 40px;
}

.s1__marco::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 6px;
  background: linear-gradient(to bottom, #f5a623, #e8531e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .7;

  --escalon-inicio: 28%;
  --escalon-fin: 72%;
  --altura-escalon: 100%;

  clip-path: polygon(0% 0%,
      var(--escalon-inicio) 0%,
      var(--escalon-inicio) var(--altura-escalon),
      var(--escalon-fin) var(--altura-escalon),
      var(--escalon-fin) 0%,
      100% 0%,
      100% 100%,
      0% 100%);
}

.s1__marco-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #233b81;
  padding: 4px 24px;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.s1__lead,
.s1__body,
.s1__cta {
  position: relative;
  z-index: 1;
}

.s1__image {
  position: absolute;
  bottom: 5%;
  right: 3%;
  pointer-events: none;
  z-index: 1;
}

.s1__image img {
  width: 380px;
  object-fit: contain;
}

.s1__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding: 14px 40px;
  border-radius: 52px;
  white-space: nowrap;
  align-self: center;
  position: relative;
  z-index: 2;
  margin-top: -150px;
}

.s1__header-top {
  font-size: var(--fs-subtitle);
  /* font-weight: 500; */
  color: var(--white);
  text-transform: uppercase;
}

.s1__title-script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: var(--fs-script-lg);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  line-height: .5;
}

.s1__header-sub {
  font-size: var(--fs-subtitle);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}

.s1__lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--white);
  text-align: center;
  align-self: center;
}

.s1__body {
  font-size: var(--fs-base);
  color: var(--white);
  width: 50%;
}

.s1__body strong {
  color: var(--white);
}

.s1__body--highlight {
  background: var(--navy);
  border-radius: 8px;
  padding: 12px 16px;

  strong {
    color: var(--yellow);
  }
}

.s1__body--italic {
  font-style: italic;
}

.s1__cta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 2;
  display: inline-block;
  background: url('assets/img/boton-1.png') center / 100% 100% no-repeat;
  color: var(--white);
  font-size: clamp(1.01rem, 1.58vw, 1.22rem);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 14px 48px;
  border-radius: 52px;
  white-space: nowrap;
  transition: background .2s;
}

.s1__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg,
      transparent 40%,
      rgba(255, 255, 255, .28) 50%,
      transparent 60%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position .55s ease;
}

.s1__cta:hover::after {
  background-position: 200% 0;
}


/* =============================================
   SECCIÓN 2 — ¿QUÉ RECIBIRÁS?
   ============================================= */
.s2 {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  align-items: center;
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  gap: 48px;
  padding: 0 24px 0 0;
  min-height: 700px;
  background: var(--navy);
  border-radius: 52px;
}

.s2__image {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.s2__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.s2__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.s2__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  color: var(--white);
  text-transform: none;
}

.s2__title-script {
  /* font-family: var(--font-script); */
  color: var(--yellow);
  font-size: var(--fs-script);
  font-weight: 500;
  /* font-style: italic; */
  display: block;
}

.s2__lead {
  font-size: var(--fs-body);
  font-style: italic;
  color: rgba(255, 255, 255, .85);
}

.s2__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s2__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white);
  font-size: var(--fs-base);
}

.s2__item::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  background: var(--yellow);
  border-radius: 3px;
  margin-top: 4px;
  flex-shrink: 0;
}


/* =============================================
   SECCIÓN 3 — ¿QUÉ LOGRARÁS?
   ============================================= */
.s3 {
  position: relative;
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  border-radius: 52px;
  padding: 96px 64px 64px;
  overflow: visible;
}

.s3__marco {
  position: absolute;
  inset: 20px;
  pointer-events: none;
  z-index: 0;
  border-radius: 40px;
}

.s3__marco::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 4px;
  background: #6fa3e0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .9;
  margin: 0 100px 0 120px;

  --escalon-inicio: 35%;
  --escalon-fin: 62%;
  --altura-escalon: 50%;

  clip-path: polygon(0% 0%,
      var(--escalon-inicio) 0%,
      var(--escalon-inicio) var(--altura-escalon),
      var(--escalon-fin) var(--altura-escalon),
      var(--escalon-fin) 0%,
      100% 0%,
      100% 100%,
      0% 100%);
}

.s3__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  white-space: nowrap;
  padding: 14px 40px;
  align-self: center;
  position: relative;
  z-index: 2;
  margin-top: -130px;
}

.s3__title-top {
  font-size: var(--fs-subtitle);
  /* font-weight: 500; */
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.2;
}

.s3__title-script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: var(--fs-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}

.s3__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.s3__card {
  border-radius: 20px;
  /* padding: 28px 24px; */
  display: flex;
  align-items: center;
  /* gap: 20px; */
  color: var(--white);
  font-size: var(--fs-label);
  width: 80%;
}

.s3__icon {
  width: 160px;
  /* height: 56px; */
  object-fit: contain;
  flex-shrink: 0;
}

.s3__cta-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 12px; */
}

.s3__arrow {
  width: 88px;
  height: auto;
  display: block;
  position: relative;
  bottom: 10%;
}

.s3__cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(1.01rem, 1.58vw, 1.22rem);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 56px;
  border-radius: 52px;
  transition: background .2s;
  white-space: nowrap;
}

.s3__cta:hover {
  background: var(--navy-dark);
}


/* =============================================
   SECCIÓN 4 — DA EL PRIMER PASO
   ============================================= */
.s4 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  background: linear-gradient(to top, #073a52, #1881b2);
  border-radius: 52px;
  padding: 36px 32px;
  gap: 40px;
  width: 80%;
}

.s4__left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.s4__title {
  font-size: var(--fs-subtitle);
  font-weight: 400;
  color: var(--white);
  text-align: center;
}

.s4__title-script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: var(--fs-script);
  font-weight: 400;
  font-style: italic;
  display: block;
}

.s4__divider {
  width: 2px;
  height: 100px;
  background-image: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, .5) 0px,
      rgba(255, 255, 255, .5) 6px,
      transparent 6px,
      transparent 12px);
  flex-shrink: 0;
}

.s4__right {
  display: flex;
  align-items: center;
}

.s4__intro {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, .9);
  font-style: italic;
  width: 80%;
}


/* =============================================
   SECCIÓN 5 — BUSCAMOS EMPRESAS QUE
   ============================================= */
.s5 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: end;
  max-width: 1100px;
  margin: calc(var(--section-gap) * 1.5) auto 0;
  border-radius: 52px;
  overflow: visible;
  min-height: 560px;
}

.s5__marco {
  position: absolute;
  inset: 16px;
  border: 3px solid var(--yellow);
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
  margin: 0 0 -16px 150px;
}

.s5__image {
  position: relative;
  align-self: stretch;
}

.s5__image img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: top center;
  z-index: 1000;
}

.s5__content {
  padding: 48px 48px 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}

.s5__title {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--white);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--navy);
  padding: 12px 28px;
  border-radius: 0 52px 52px 0;
  position: absolute;
  bottom: 91%;
  left: -120px;
  z-index: 1;
}

.s5__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 20px;
  ;
}

.s5__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
  font-size: var(--fs-label);
}

.s5__item::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--yellow);
  flex-shrink: 0;
  margin-top: 12px;
}

.s5__cta {
  display: inline-block;
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(1.01rem, 1.58vw, 1.22rem);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 52px;
  transition: background .2s;
  position: relative;
  bottom: -112px;
  right: 20px;
}

.s5__cta:hover {
  background: var(--navy-dark);
}


/* =============================================
   SECCIÓN 6 — SECTORES Y TIPOS DE SERVICIOS
   ============================================= */
.s6 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  background: var(--navy);
  border-radius: 5px;
  overflow: hidden;
  min-height: 480px;
}

.s6__content {
  padding: 48px 32px 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.s6__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fs-subtitle);
  font-weight: 400;
  color: var(--white);
  line-height: 0;
  margin-bottom: 30px;
}

.s6__title-script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: var(--fs-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.s6__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s6__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
  font-size: var(--fs-md-lg);
}

.s6__item::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.s6__image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.s6__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: url('assets/img/Forma.png') no-repeat left top / 100% auto;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-25deg) translateY(150px);
  transform-origin: left top;
  opacity: 0;
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1);
}

.s6__image.is-visible::before {
  opacity: 1;
}

.s6__image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30px top;
}


/* =============================================
   SECCIÓN 7 — CÓMO FUNCIONA EL PROGRAMA
   ============================================= */
.s7 {
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  background: rgba(26, 46, 90, .2);
  border-radius: 52px;
  padding: 56px 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.s7__header {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  align-items: center;
  gap: 32px;
}

.s7__arrow {
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 36px solid #4ecde6;
  flex-shrink: 0;
}

.s7__title {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  text-align: end;
  letter-spacing: .08em;
}

.s7__title-script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: var(--fs-display);
  font-weight: 400;
  font-style: italic;
  display: block;
  text-transform: none;
  letter-spacing: 0;
  margin-top: -30px;
}

.s7__desc {
  font-size: var(--fs-body);
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
  letter-spacing: 1px;
  font-style: italic;
  width: 90%;
}

.s7__subtitle {
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--navy-dark);
  padding: 8px 32px;
  text-transform: uppercase;
  background: var(--blue);
  border-radius: 52px;
  width: fit-content;
  align-self: center;
  margin: 0 auto 24px;
}

.s7__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  width: 80%;
  margin: 0 auto;
}

.s7__card {
  background: var(--navy);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.s7__card:nth-child(4) {
  grid-column: span 1;
}

.s7__card:nth-child(5) {
  grid-column: span 1;
}

.s7__etapa-label {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 52px;
  width: fit-content;
  padding: 4px 12px;
}

.s7__etapa-title {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.s7__card p {
  font-size: var(--fs-cta);
  color: rgba(255, 255, 255, .8);
}

.s7__note {
  font-size: var(--fs-note);
  color: var(--white);
  font-style: italic;
  text-align: left;
  width: 40%;
  margin-left: 120px;
}


/* =============================================
   SECCIÓN 8 — PROCESO DE APLICACIÓN
   ============================================= */
.s8 {
  position: relative;
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  border-radius: 52px;
}

.s8__deco-lineas {
  position: absolute;
  left: 128px;
  top: 50%;
  transform: translateY(-50%);
  height: 48%;
  width: auto;
  pointer-events: none;
  z-index: 1;
}

.s8__marco {
  position: absolute;
  inset: 20px;
  pointer-events: none;
  z-index: 0;
  border-radius: 40px;
}

.s8__marco::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 6px;
  background: linear-gradient(to bottom, #f5a623, #e8531e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .6;

  /* Variables de control */
  --escalon-inicio: 25%;
  /* Donde empieza el escalón (izquierda) */
  --escalon-fin: 80%;
  /* Donde termina el escalón (derecha) */
  --altura-escalon: 100%;
  /* Altura del escalón desde arriba */

  clip-path: polygon(0% 0%,
      var(--escalon-inicio) 0%,
      var(--escalon-inicio) var(--altura-escalon),
      var(--escalon-fin) var(--altura-escalon),
      var(--escalon-fin) 0%,
      100% 0%,
      100% 100%,
      0% 100%);

  margin: 0 80px 0 30px;
}

.s8__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.s8__header {
  display: flex;
  gap: 32px;
  margin: 0 auto;
  width: fit-content;
  padding: 0 100px 0 24px;
  position: relative;
  bottom: 20px;
  left: 40px;
}

.s8__title {
  font-size: var(--fs-subtitle);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.s8__title-script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: var(--fs-script-lg);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: block;
  margin-top: -30px;
}

.s8__subtitle {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, .8);
  font-style: italic;
  margin-top: 4px;
  display: flex;
  align-items: center;
}

.s8__divider {
  width: 2px;
  height: 60px;
  background-image: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, .5) 0px,
      rgba(255, 255, 255, .5) 6px,
      transparent 6px,
      transparent 12px);
  flex-shrink: 0;
  align-self: center;
}

.s8__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* padding: 32px 0px; */
  /* gap: 20px; */
}

.s8__item {
  display: flex;
  align-items: center;
  /* gap: 20px; */
  border-radius: 16px;
  padding: 12px 0px;
  width: 75%;
}

.s8__item p {
  font-size: var(--fs-base);
  font-weight: 400;;
  color: var(--white);
}

.s8__item p strong {
  color: var(--white);
}

.s8__icon-img {
  width: 100px;
  /* height: 64px; */
  object-fit: contain;
  flex-shrink: 0;
}

.s8__link {
  color: var(--white);
  text-decoration: none;
}

.s8__link--highlight {
  font-weight: 500;
  background-color: var(--navy);
  padding: 2px 4px;
  border-radius: 52px;
}

.s8__video-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.s8__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  position: relative;
  top: 25px;
}

.s8__cta-wrap>* {
  position: relative;
  z-index: 1;
}

.s8__cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 500;
  /* letter-spacing: .08em; */
  text-transform: uppercase;
  text-decoration: none;
  padding: 24px 56px;
  border-radius: 52px;
  transition: background .2s;
  text-align: center;
  /* opacity: .7; */

  p {
    text-transform: lowercase;
  }
}

.s8__cta:hover {
  background: var(--navy-dark);
}

.s8__cta-note {
  margin-top: 3px;
  font-size: var(--fs-note);
  font-weight: 400;
  color: var(--white);
  text-align: center;
}


/* =============================================
   SECCIÓN 9 — EVALUACIÓN
   ============================================= */
.s9 {
  position: relative;
  max-width: 1100px;
  margin: calc(var(--section-gap) * 2) auto 0;
  display: flex;
  align-items: center;
  min-height: 320px;
}

.s9__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex: 0 0 62%;
  max-width: 62%;
  align-self: flex-start;
  margin-top: -60px;
  margin-left: 18%;
}

.s9__card {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #e8531e 0%, #f5a623 100%);
  border-radius: 32px;
  padding: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.s9__title {
  font-family: var(--font-script);
  font-size: var(--fs-script-lg);
  font-weight: 100;
  font-style: italic;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
}

.s9__body {
  font-size: var(--fs-body);
  color: var(--white);
  max-width: 500px;
  text-align: justify;
}

.s9__cta {
  display: inline-block;
  align-self: flex-end;
  margin-top: 40px;
  margin-right: 110px;
  position: relative;
  z-index: 4;
  background: var(--navy-dark);
  color: var(--white);
  font-size: var(--fs-cta);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 52px;
  transition: background .2s;
  white-space: nowrap;
}

.s9__cta:hover {
  background: #0a1840;
}

.s9__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  z-index: 2;
  pointer-events: none;
}

.s9__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  padding: 40px 48px;
}

.footer__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logos-img img {
  height: 220px;
  width: auto;
  object-fit: contain;
}

/* =============================================
   ACENTO SINTÉTICO — letra en CCMatineeIdol,
   tilde superpuesta en Museo Sans
   ============================================= */
.acento {
  position: relative;
  display: inline-block;
}

.acento::after {
  content: '´';
  font-family: 'CCMatineeIdol', sans-serif;
  font-style: italic;
  font-size: .55em;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  top: .05em;
  left: 50%;
  transform: translateX(0%) translateY(60%);
  pointer-events: none;
}

.acento--b {
  position: relative;
  display: inline-block;
}

.acento--b::before {
  content: '´';
  font-family: 'CCMatineeIdol', sans-serif;
  font-style: italic;
  font-size: .55em;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  top: .05em;
  left: 50%;
  transform: translateX(0%) translateY(10%);
  pointer-events: none;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

[data-reveal="up"] {
  transform: translateY(48px);
}

[data-reveal="left"] {
  transform: translateX(-56px);
}

[data-reveal="right"] {
  transform: translateX(56px);
}

[data-reveal="scale"] {
  transform: scale(.92);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-reveal-delay="1"] {
  transition-delay: .10s;
}

[data-reveal-delay="2"] {
  transition-delay: .20s;
}

[data-reveal-delay="3"] {
  transition-delay: .30s;
}

[data-reveal-delay="4"] {
  transition-delay: .40s;
}

[data-reveal-delay="5"] {
  transition-delay: .50s;
}

[data-reveal-delay="6"] {
  transition-delay: .60s;
}

/* =============================================
   HOVER ANIMATIONS
   ============================================= */

/* --- CTAs --- */
.s1__cta,
.s3__cta,
.s5__cta,
.s8__cta,
.s9__cta {
  transition: background var(--transition-fast),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

/* s1 CTA — pulse idle en pseudo-element para no interferir con transform */
@keyframes cta-pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 4px 20px rgba(232, 83, 30, .4);
  }

  50% {
    opacity: 1;
    box-shadow: 0 6px 32px rgba(232, 83, 30, .75);
  }
}

.s1__cta {
  animation: cta-pulse 2.4s ease-in-out infinite;
  transition: transform var(--transition-base),
    filter var(--transition-fast),
    box-shadow var(--transition-base);
}

.s1__cta:hover {
  animation-play-state: paused;
  transform: translate(-50%, calc(50% - 5px)) scale(1.04);
  box-shadow: 0 14px 36px rgba(232, 83, 30, .6);
  filter: brightness(1.1);
}

.s3__cta:hover,
.s5__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(232, 83, 30, .45);
}

.s8__cta:hover,
.s9__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(17, 32, 80, .5);
}

/* --- Cards s3 (logros) --- */
.s3__card {
  transition: transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.s3__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.s3__card:hover .s3__icon {
  transform: scale(1.12);
}

.s3__icon {
  transition: transform var(--transition-smooth);
}

/* --- Cards s7 (etapas) --- */
.s7__card {
  transition: transform var(--transition-smooth),
    background var(--transition-fast),
    box-shadow var(--transition-smooth);
}

.s7__card:hover {
  transform: translateY(-5px);
  background: rgba(26, 46, 90, .95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
}

.s7__card:hover .s7__etapa-title {
  color: var(--yellow);
}

.s7__etapa-title {
  transition: color var(--transition-fast);
}

/* --- List items s2 --- */
.s2__item {
  transition: transform var(--transition-base);
}

.s2__item:hover {
  transform: translateX(6px);
}

/* --- List items s5 --- */
.s5__item {
  transition: transform var(--transition-base),
    color var(--transition-fast);
}

.s5__item:hover {
  transform: translateX(6px);
}

.s5__item:hover span {
  color: var(--yellow);
}

/* --- List items s6 --- */
.s6__item {
  transition: transform var(--transition-base);
}

.s6__item:hover {
  transform: translateX(6px);
}

/* --- Icons s8 (documentos) --- */
.s8__item {
  transition: transform var(--transition-smooth);
}

.s8__item:hover {
  transform: translateY(-4px);
}

.s8__item:hover .s8__icon-img {
  transform: scale(1.1) rotate(-4deg);
}

.s8__icon-img {
  transition: transform var(--transition-smooth);
}

/* --- s9 card --- */
.s9__card {
  transition: transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.s9__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232, 83, 30, .3);
}

/* =============================================
   RESPONSIVE — ZOOM PROPORCIONAL
   Mismo diseño desktop, escalado al viewport.
   Design width = 1100px. zoom = viewport / 1100
   ============================================= */
@media (max-width: 1099px) {
  html {
    zoom: 0.88;
  }
}

@media (max-width: 968px) {
  html {
    zoom: 0.78;
  }
}

@media (max-width: 860px) {
  html {
    zoom: 0.70;
  }
}

@media (max-width: 768px) {
  html {
    zoom: 0.63;
  }
}

@media (max-width: 660px) {
  html {
    zoom: 0.54;
  }
}

@media (max-width: 560px) {
  html {
    zoom: 0.46;
  }
}

@media (max-width: 480px) {
  html {
    zoom: 0.40;
  }
}

@media (max-width: 414px) {
  html {
    zoom: 0.37;
  }
}

@media (max-width: 390px) {
  html {
    zoom: 0.35;
  }
}

@media (max-width: 360px) {
  html {
    zoom: 0.33;
  }
}