/* ==========================================================================
   LP Ingeniería Industrial 2026 · UNIMINUTO Virtual
   Estilo gráfico tomado de la LP Maestría en Educación 2026
   (lp_x_maestrias/lp_maestria_educacion_26/style/style.css).
   Marca: variables del :root del tema (assets/scss/general.scss).
   Grises y radios: los mismos de la LP de referencia.
   Layout con Flexbox (sin CSS Grid, regla del proyecto).
   ========================================================================== */

@font-face {
  font-family: 'Gilroy Medium';
  src: url(../fonts/Gilroy-Medium.ttf) format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy Bold';
  src: url(../fonts/Gilroy-Bold.ttf) format('truetype');
  font-display: swap;
}

:root {
  /* Marca */
  --primary-color: #004a92;
  --secondary-color: #01d5c4;
  --tertiary-color: #fd8b03;
  --septinary-color: #009ee2;
  --nonary-color: #162644;
  /* Neutros de la LP de referencia */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-900: #0f172a;
  /* Radios de la LP de referencia */
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  /* Tipografía */
  --font-medium: 'Gilroy Medium', sans-serif;
  --font-bold: 'Gilroy Bold', sans-serif;
  /* Ancho de sección según breakpoints oficiales */
  --section-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-medium);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-bold);
  font-weight: normal;
}

.hide {
  display: none !important; /* Estado controlado por js/formulario.js */
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 500;
  padding: 8px 16px;
  background: var(--secondary-color);
  color: var(--nonary-color);
}

.skip-link:focus {
  left: 0;
}

.container {
  width: var(--section-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.two-cols {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.two-cols > * {
  flex: 1 1 0;
  min-width: 0;
}

.two-cols--center {
  align-items: center;
}

/* ══ TOPBAR ═════════════════════════════════════════════════ */
.topbar {
  background: linear-gradient(90deg, var(--primary-color) 0%, #1a4a8a 50%, var(--primary-color) 100%);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
}

.topbar .pill {
  display: inline-block;
  margin: 0 4px;
  padding: 2px 12px;
  border: 1px solid rgba(1, 213, 196, 0.5);
  border-radius: 20px;
  background: rgba(1, 213, 196, 0.15);
  color: var(--secondary-color);
  font-family: var(--font-bold);
}

/* ══ HEADER ═════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: var(--section-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 24px;
}

.logo {
  width: 220px;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-bold);
  font-size: 11px;
  white-space: nowrap;
}

.h-badge.men {
  background: rgba(1, 213, 196, 0.12);
  color: var(--primary-color);
}

.h-badge.snies {
  background: rgba(0, 74, 146, 0.08);
  color: var(--primary-color);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  background: var(--tertiary-color);
  color: var(--white);
  font-family: var(--font-bold);
  font-size: 14px;
  white-space: nowrap;
  transition: transform 0.3s;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px) scale(1.05);
}

/* ══ HERO ═══════════════════════════════════════════════════ */
.hero {
  background: var(--primary-color);
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.hero-left {
  flex: 1 1 0;
  min-width: 0;
}

.hero-form {
  flex: 0 0 420px;
  scroll-margin-top: 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 16px;
  border: 1px solid var(--secondary-color);
  border-radius: 30px;
  color: var(--secondary-color);
  font-family: var(--font-bold);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero h1 .line-accent {
  display: block;
  color: var(--secondary-color);
}

.hero-desc {
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.75;
}

.hero-desc strong {
  color: var(--white);
  font-weight: normal;
  font-family: var(--font-bold);
}

.hero-accreditation {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 560px);
  margin-bottom: 24px;
  padding: 5px 22px;
  border-radius: var(--r);
  background: var(--secondary-color);
  color: var(--nonary-color);
}

.hero-accreditation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 74, 146, 0.92);
  color: var(--white);
  font-size: 22px;
}

.hero-accreditation strong {
  font-family: var(--font-bold);
  font-weight: normal;
  font-size: 20px;
  line-height: 1.12;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.chip i {
  color: var(--secondary-color);
}

.salary-ticker {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(1, 213, 196, 0.3);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(1, 213, 196, 0.2), rgba(1, 213, 196, 0.08));
}

.ticker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 22px;
}

.ticker-amount {
  color: var(--secondary-color);
  font-family: var(--font-bold);
  font-size: 32px;
  line-height: 1;
}

.ticker-label {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ticker-note {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

/* ══ FORM CARD ══════════════════════════════════════════════ */
.form-card {
  position: sticky;
  top: 100px;
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.form-card-header {
  margin-bottom: 20px;
  text-align: center;
}

.form-card-title {
  color: var(--primary-color);
  font-size: 20px;
  line-height: 1.2;
}

.form-card-sub {
  margin-top: 4px;
  color: var(--gray-600);
  font-size: 13px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  color: var(--gray-600);
  font-family: var(--font-bold);
  font-size: 11px;
  letter-spacing: 0.6px;
}

.form-group input[type='text'],
.form-group input[type='tel'],
.form-group input[type='email'],
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-900);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 74, 146, 0.12);
}

.type-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.type-checkbox input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--primary-color);
}

.type-checkbox label {
  flex: 1 1 0;
  margin: 0;
  font-family: var(--font-medium);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.35;
}

.type-checkbox label a,
.link-button {
  color: var(--primary-color);
  text-decoration: underline;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.type-checkbox .error-message {
  flex-basis: 100%;
}

.error-message {
  display: none; /* js/formulario.js lo muestra con display: block */
  margin-top: 4px;
  color: #dc2626;
  font-size: 12px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: var(--tertiary-color);
  color: var(--nonary-color);
  font-family: var(--font-bold);
  font-size: 16px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(253, 139, 3, 0.45);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 8px;
  text-align: center;
}

.fs-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 28px;
}

.fs-title {
  color: var(--primary-color);
  font-family: var(--font-bold);
  font-size: 20px;
}

.fs-sub {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
}

/* ══ MODAL AUTORIZACIÓN ═════════════════════════════════════ */
.modal_checkbox_asesorWhatsapp {
  display: none; /* js/formulario.js lo abre con display: flex */
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(22, 38, 68, 0.75);
}

.modal-content {
  position: relative;
  max-width: 560px;
  padding: 32px 28px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--gray-600);
}

.modal-title {
  margin-bottom: 12px;
  padding-right: 32px;
  color: var(--primary-color);
  font-size: 18px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--gray-900);
  font-size: 20px;
  cursor: pointer;
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #dc2626;
}

.form-group input.valid,
.form-group select.valid {
  border-color: var(--secondary-color);
}

#toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 300;
}

/* Toast creado por js/formulario.js tras un envío exitoso */
.toast {
  max-width: 320px;
  margin-top: 10px;
  padding: 14px 18px;
  border-left: 4px solid var(--secondary-color);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-header {
  color: var(--primary-color);
  font-family: var(--font-bold);
}

.toast-body {
  color: var(--gray-600);
  font-size: 13px;
}

/* ══ HERO STATS BAR ═════════════════════════════════════════ */
.hero-stats-bar {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.hstat {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  max-width: 300px;
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.hstat:last-child {
  border-right: none;
}

.hstat-num {
  color: var(--secondary-color);
  font-family: var(--font-bold);
  font-size: 28px;
}

.hstat-lbl {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* ══ TRUST BAR ══════════════════════════════════════════════ */
.trust-bar {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 28px;
  width: var(--section-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.ti {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ti strong {
  font-family: var(--font-bold);
  font-weight: normal;
}

.ti-ico {
  color: var(--tertiary-color);
  font-size: 18px;
}

.ti-sub {
  color: var(--gray-400);
  font-size: 11px;
}

.ti:first-child {
  padding: 8px 12px;
  border: 1px solid rgba(1, 213, 196, 0.45);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 37, 84, 0.08);
}

.ti:first-child strong {
  color: var(--primary-color);
}

/* ══ SECTIONS ═══════════════════════════════════════════════ */
section {
  padding: 88px 0;
}

.s-alt {
  background: var(--gray-50);
}

.s-dark {
  background: var(--primary-color);
  color: var(--white);
}

.s-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--tertiary-color);
  font-family: var(--font-bold);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.s-title {
  margin-bottom: 14px;
  color: var(--nonary-color);
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.s-dark .s-title {
  color: var(--white);
}

.s-sub {
  max-width: 580px;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.75;
}

.s-dark .s-sub {
  color: rgba(255, 255, 255, 0.75);
}

.s-head {
  margin-bottom: 56px;
}

.s-head.c {
  text-align: center;
}

.s-head.c .s-sub {
  margin: 0 auto;
}

/* ══ 3 RAZONES (estilo escalafón) ═══════════════════════════ */
.grade-item {
  position: relative;
  display: flex;
  gap: 20px;
}

.grade-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--tertiary-color), var(--gray-200));
}

.grade-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tertiary-color);
  color: var(--white);
  font-family: var(--font-bold);
  font-size: 18px;
}

.grade-body {
  flex: 1;
  padding-bottom: 32px;
}

.grade-tag {
  margin-bottom: 6px;
  color: var(--tertiary-color);
  font-family: var(--font-bold);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.grade-title {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 17px;
}

.grade-desc {
  color: var(--gray-600);
}

.info-panel {
  position: sticky;
  top: 100px;
  padding: 36px;
  border-radius: var(--r-xl);
  background: var(--primary-color);
  color: var(--white);
}

.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(1, 213, 196, 0.3);
  border-radius: 30px;
  background: rgba(1, 213, 196, 0.12);
  color: var(--secondary-color);
  font-family: var(--font-bold);
  font-size: 12px;
}

.ip-title {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.3;
}

.ip-desc {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.75;
}

.ip-stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.ip-stat {
  display: flex;
  flex: 1 1 calc(50% - 12px);
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.ip-stat-val {
  color: var(--secondary-color);
  font-family: var(--font-bold);
  font-size: 22px;
}

.ip-stat-lbl {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.ip-cta {
  display: block;
  padding: 15px;
  border-radius: 12px;
  background: var(--tertiary-color);
  color: var(--white);
  font-family: var(--font-bold);
  font-size: 15px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.ip-cta:hover,
.ip-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(253, 139, 3, 0.4);
}

/* ══ INFO LIST ══════════════════════════════════════════════ */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.il-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.il-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 74, 146, 0.08);
  color: var(--primary-color);
  font-size: 20px;
}

.il-text strong {
  display: block;
  margin-bottom: 3px;
  color: var(--primary-color);
  font-family: var(--font-bold);
  font-weight: normal;
}

.il-text span {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.55;
}

/* ══ ACORDEÓN PLAN DE ESTUDIOS ══════════════════════════════ */
.acc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-item {
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
  background: var(--white);
  transition: border-color 0.2s;
}

.acc-item[open] {
  border-color: var(--septinary-color);
  box-shadow: 0 4px 16px rgba(0, 158, 226, 0.12);
}

.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  color: var(--primary-color);
  font-family: var(--font-bold);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}

.acc-head::-webkit-details-marker {
  display: none;
}

.acc-item[open] .acc-head {
  background: var(--septinary-color);
  color: var(--white);
}

.acc-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.acc-item[open] .acc-icon {
  transform: rotate(180deg);
}

.acc-body {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
}

.acc-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.acc-body li:last-child {
  border-bottom: none;
}

.acc-body li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
}

/* ══ CAMPO LABORAL (estilo val-card) ════════════════════════ */
.val-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.val-card {
  flex: 1 1 calc(25% - 20px);
  min-width: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.val-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.val-ico {
  display: block;
  margin-bottom: 14px;
  color: var(--secondary-color);
  font-size: 36px;
}

.val-code {
  font-family: var(--font-bold);
  font-size: 18px;
  line-height: 1.35;
}

/* ══ PERFIL ═════════════════════════════════════════════════ */
.profile-media {
  flex: 0 0 38%;
  max-width: 420px;
  margin: 0 auto;
}

/* ══ FINANCIACIÓN ═══════════════════════════════════════════ */
.fin-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fin-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 200px;
  padding: 16px 24px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.fin-card:hover {
  border-color: var(--septinary-color);
  box-shadow: 0 8px 32px rgba(0, 74, 146, 0.1);
  transform: translateY(-3px);
}

.fin-card img {
  max-width: 240px;
}

.req-box {
  margin-top: 32px;
  padding: 28px 32px;
  border: 2px solid rgba(1, 213, 196, 0.45);
  border-radius: var(--r-lg);
  background: var(--white);
}

.req-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--primary-color);
  font-size: 20px;
}

.req-title i {
  color: var(--tertiary-color);
}

.req-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.req-list li {
  display: flex;
  flex: 1 1 calc(50% - 32px);
  gap: 8px;
  color: var(--gray-600);
}

.req-list li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--secondary-color);
  font-family: var(--font-bold);
}

/* ══ FAQ ════════════════════════════════════════════════════ */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--primary-color);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--primary-color);
  font-family: var(--font-bold);
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  font-size: 13px;
  transition: transform 0.3s, background 0.2s;
}

.faq-item[open] .faq-ico {
  transform: rotate(45deg);
  background: var(--septinary-color);
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ══ CTA FINAL ══════════════════════════════════════════════ */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--septinary-color) 100%);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 16px;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.final-cta p {
  max-width: 540px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-big-white {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  background: var(--white);
  color: var(--primary-color);
  font-family: var(--font-bold);
  font-size: 17px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-big-white:hover,
.btn-big-white:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.final-cta .final-legal {
  margin: 36px auto 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.8;
}

/* ══ FOOTER ═════════════════════════════════════════════════ */
footer {
  padding: 28px;
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

footer strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: normal;
  font-family: var(--font-bold);
}

footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
}

/* ══ RESPONSIVE: breakpoints oficiales del proyecto ═════════ */
@media (max-width: 1450px) {
  :root {
    --section-width: 1200px;
  }
}

@media (max-width: 1250px) {
  :root {
    --section-width: 1000px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-form {
    flex-basis: 390px;
  }

  .header-badges {
    display: none;
  }
}

@media (max-width: 1050px) {
  :root {
    --section-width: 800px;
  }

  .hero-content,
  .two-cols {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-form {
    flex-basis: auto;
  }

  .form-card,
  .info-panel {
    position: static;
  }

  .profile-media {
    flex-basis: auto;
  }

  .s-title {
    font-size: 36px;
  }

  .final-cta h2 {
    font-size: 42px;
  }

  .hero-stats-bar {
    flex-wrap: wrap;
  }

  .hstat {
    flex: 1 0 45%;
    max-width: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 850px) {
  :root {
    --section-width: 600px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .req-list li {
    flex-basis: 100%;
  }
}

@media (max-width: 650px) {
  :root {
    --section-width: 400px;
  }

  .topbar {
    font-size: 12px;
  }

  .logo {
    width: 150px;
  }

  .header-cta {
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-accreditation {
    padding: 12px 16px;
  }

  .hero-accreditation-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .hero-accreditation strong {
    font-size: 17px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .s-title {
    font-size: 30px;
  }

  .final-cta h2 {
    font-size: 32px;
  }

  .info-panel,
  .req-box {
    padding: 24px;
  }
}

@media (max-width: 400px) {
  :root {
    --section-width: 90%;
  }

  .container,
  .header-inner,
  .trust-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

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

  .hero-kicker .dot {
    animation: none;
  }
}

/* ══ BLOQUES ADICIONALES (LPs generadas desde lp_industrial_26) ══ */
.ip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ip-list li {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.55;
}

.ip-list li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--secondary-color);
  font-family: var(--font-bold);
}

.list-title {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 20px;
}

.acc-note,
.req-note {
  padding: 0 20px 16px;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.55;
}

.req-note {
  margin-top: 16px;
  padding: 0;
}

.profile-media--wide {
  flex: 0 0 50%;
  max-width: 600px;
}

@media (max-width: 1050px) {
  .profile-media--wide {
    flex-basis: auto;
  }
}

/* ══ PLAN DE ESTUDIOS: columna izquierda fija mientras se recorre el acordeón ══ */
.plan-sticky {
  position: sticky;
  top: 100px;
}

@media (max-width: 1050px) {
  .plan-sticky {
    position: static;
  }
}
