/* ═══════════════════════════════════════════════════════════════
   ENAE × ICETEX — Landing Page
   styles.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── FONTS ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Ultralight.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Thin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SFUIDisplay';
  src: url('Recursos/Tipografias/SFUIDisplay-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OpenSans';
  src: url('Recursos/Tipografias/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OpenSans';
  src: url('Recursos/Tipografias/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:       #9B2A35;
  --color-primary-dark:  #7a1f28;
  --color-primary-deeper:#5c1219;
  --color-white:         #ffffff;
  --color-black:         #0d0d0d;
  --color-text:          #1a1a1a;
  --color-text-mid:      #4a4a4a;
  --color-text-light:    #6e6e6e;
  --color-bg-light:      #f6f6f6;
  --color-bg-section:    #f0f0f0;
  --color-border:        #e0e0e0;
  --color-footer-bg:     #1a1a1a;
  --color-stars:         #e8c840;

  /* Fonts */
  --font-primary: 'SFUIDisplay', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'OpenSans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-xxl:  120px;

  /* Layout */
  --container-max:  1440px;
  --container-pad:  24px;
  --header-height:  72px;
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      12px;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.16);

  /* Transitions */
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── LAYOUT: CONTAINER ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(155,42,53,0.35);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}
.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.82rem;
}

/* ─── SECTION HEADERS ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin: 0 auto 48px auto;
  max-width: 690px;
}
.section-header h2 {
  font-family: var(--font-primary);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 auto 24px auto;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-mid);
  line-height: 1.65;
  max-width: 690px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 132px;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: box-shadow var(--transition);
  padding: 0 120px;
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 335px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.header__logo-link {
  flex-shrink: 0;
}
.header__logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  flex: 1;
}
.header__nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header__nav a {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.6);
  transition: width var(--transition);
}
.header__nav a:hover {
  color: var(--color-white);
}
.header__nav a:hover::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.85rem;
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

/* Hamburger (mobile) */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header--scrolled {
  height: 72px;
  padding: 0 24px;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.header--scrolled .header__logo {
  height: 40px;
}

.header--scrolled .header__nav a {
  color: var(--color-text-mid);
}

.header--scrolled .header__hamburger span {
  background: var(--color-text);
}

.header--scrolled .header__cta {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: auto;
  padding-top: 240px;
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 709px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(92, 18, 25, 0.88) 0%,
    rgba(110, 25, 35, 0.82) 50%,
    rgba(75, 15, 22, 0.75) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 384px;
  gap: 48px;
  align-items: flex-start;
  padding: 0 120px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Left: content */
.hero__content {
  color: var(--color-white);
  padding-top: 0;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: 2.95rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__highlight {
  color: #ffb3b8;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin-bottom: 48px;
  max-width: 520px;
}

/* Stats row */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-value {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}
.hero__stat-divider {
  width: 1px;
  height: 54px;
  background: rgba(255,255,255,0.3);
}

/* CTA row */
.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Right: form card */
.hero__form-col {
  display: flex;
  /*justify-content: flex-end;*/
  align-items: flex-start;
}
.hero__form-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 30px 0px 0px 0px;
  /*width: 100%;*/
  /*max-width: 384px;*/
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.form-card__title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 32px;
  text-align: center;
}

/* Form elements */
.form-group {
  margin-bottom: var(--space-sm);
}
.form-group label {
  display: none; /* labels hidden visually, using placeholder as guide */
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fafafa;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder {
  color: #aaa;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(155,42,53,0.12);
  background: var(--color-white);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B2A35' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-error {
  display: block;
  font-size: 0.76rem;
  color: #c0392b;
  margin-top: 4px;
  min-height: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   LOGOS STRIP
   ═══════════════════════════════════════════════════════════════ */
.logos-strip {
  background: var(--color-primary);
  padding: 48px 120px;
  height: 180px;
  display: flex;
  align-items: center;
}

.logos-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 80px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.logos-strip__inner img {
  height: 65px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.logos-strip__inner img:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   MAESTRÍAS
   ═══════════════════════════════════════════════════════════════ */
.maestrias {
  padding: 80px 120px;
  background: var(--color-white);
}

.maestrias > .container {
  max-width: 100%;
  padding: 0;
}

.maestrias__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.maestria-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.maestria-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.maestria-card__image {
  height: 167px;
  overflow: hidden;
}
.maestria-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.maestria-card:hover .maestria-card__image img {
  transform: scale(1.04);
}

.maestria-card__body {
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}
.maestria-card__body h3 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.maestria-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.maestria-card__meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--color-text-mid);
}
.maestria-card__meta img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.maestria-card__body .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   SOMOS ENAE
   ═══════════════════════════════════════════════════════════════ */
.somos-enae {
  background: var(--color-primary);
  padding: 80px 120px;
  color: var(--color-white);
}

.somos-enae__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.somos-enae__content h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.somos-enae__content p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-sm);
}

.benefits-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
}
.benefits-list__check {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.somos-enae__image img {
  width: 120%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════
   RANKINGS
   ═══════════════════════════════════════════════════════════════ */
.rankings {
  padding: 80px 120px;
  background: var(--color-bg-light);
}

.rankings > .container {
  max-width: 100%;
  padding: 0;
}

.rankings__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--space-lg);
}

.ranking-block {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 24px;
  transition: box-shadow var(--transition);
}
.ranking-block:hover {
  box-shadow: var(--shadow-hover);
}

.ranking-block__logo {
  flex-shrink: 0;
  width: 90px;
}
.ranking-block__logo img {
  width: 90px;
  height: auto;
  object-fit: contain;
}
.ranking-block__logo--forbes img {
  width: 90px;
}

.ranking-block__content h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.ranking-block__content p {
  font-size: 0.92rem;
  color: var(--color-text-mid);
  line-height: 1.6;
  margin-bottom: 8px;
}
.ranking-label {
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 10px !important;
}
.ranking-quote {
  font-style: italic;
  color: var(--color-text-light) !important;
  font-size: 0.82rem !important;
  border-left: 3px solid var(--color-primary);
  padding-left: 10px;
  margin-top: 10px !important;
}

.rankings__cta {
  text-align: center;
  margin-top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIOS
   ═══════════════════════════════════════════════════════════════ */
.testimonios {
  padding: 80px 120px;
  background: var(--color-white);
}

.testimonios > .container {
  max-width: 100%;
  padding: 0;
}

.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testimonio-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--color-border);
}
.testimonio-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.testimonio-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonio-avatar--letter {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
}
.testimonio-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.testimonio-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.stars {
  color: var(--color-stars);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.testimonio-text {
  font-size: 0.92rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

.testimonios__cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   URGENCIA / COUNTDOWN
   ═══════════════════════════════════════════════════════════════ */
.urgencia {
  background: var(--color-primary);
  padding: 80px 120px;
  color: var(--color-white);
}

.urgencia__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.urgencia__text h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.urgencia__text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
}
.urgencia__btn {
  border-color: var(--color-white);
}

/* Countdown */
.urgencia__countdown {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  min-width: 80px;
}
.countdown-value {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.countdown-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq {
  padding: 80px 120px;
  background: var(--color-bg-light);
}

.faq > .container {
  max-width: 100%;
  padding: 0;
}

.faq__list {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--color-primary);
}
.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition);
  width: 24px;
  text-align: center;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 20px;
}
.faq-answer[hidden] {
  display: none;
}
.faq-answer p {
  font-size: 0.96rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

/* Press strip */
.footer__press {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.footer__press-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__press-label {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.footer__press-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.press-placeholder {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* Main footer */
.footer__main {
  background: var(--color-footer-bg);
  padding-top: 40px;
}
.footer__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  flex-wrap: wrap;
}

.footer__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: 10px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition);
}
.social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}
.footer__legal p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   FORM SUCCESS STATE
   ═══════════════════════════════════════════════════════════════ */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  gap: 16px;
}
.form-success__icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
}
.form-success h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}
.form-success p {
  font-size: 0.88rem;
  color: var(--color-text-mid);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header {
    padding: 0 40px;
    height: 100px;
  }

  .header__inner {
    gap: 80px;
  }

  .header__nav ul {
    gap: 24px;
  }

  .hero {
    height: auto;
    padding-top: 160px;
    padding-bottom: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 40px;
  }
  .hero__form-col {
    justify-content: flex-start;
  }
  .hero__form-card {
    max-width: 100%;
  }

  .maestrias {
    padding: 60px 40px;
  }

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

  .somos-enae {
    padding: 60px 40px;
  }

  .somos-enae__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
  }
  .somos-enae__image img {
    max-height: 360px;
    object-fit: cover;
  }

  .logos-strip {
    padding: 36px 40px;
  }

  .logos-strip__inner img {
    height: 50px;
  }

  .testimonios {
    padding: 60px 40px;
  }

  .testimonios__grid {
    grid-template-columns: 1fr;
  }

  .rankings {
    padding: 60px 40px;
  }

  .rankings__grid {
    grid-template-columns: 1fr;
  }

  .urgencia {
    padding: 60px 40px;
  }

  .urgencia__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0;
  }

  .faq {
    padding: 60px 40px;
  }

  .faq__list {
    padding: 0 40px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --space-xl: 48px;
    --space-lg: 36px;
  }

  /* Header */
  .header {
    padding: 0 24px;
    height: 72px;
  }

  .header__inner {
    gap: 24px;
  }

  .header__logo {
    height: 44px;
  }

  .header__hamburger {
    display: flex;
  }
  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .header__nav.is-open {
    transform: translateY(0);
  }
  .header__nav ul {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }
  .header__nav a {
    font-size: 0.95rem;
  }
  .header__cta {
    display: none;
  }

  /* Hero */
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero__inner {
    padding: 0 24px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }
  .hero__stats {
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero__stat {
    flex: 1;
    min-width: 100px;
  }
  .hero__stat-value {
    font-size: 1.4rem;
  }
  .hero__stat-label {
    font-size: 0.75rem;
  }
  .hero__stat-divider {
    display: none;
  }
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }

  .hero__form-card {
    max-width: 100%;
  }

  /* Sections */
  .maestrias,
  .somos-enae,
  .rankings,
  .testimonios,
  .urgencia,
  .faq {
    padding: 48px 24px;
  }

  .section-header {
    max-width: 100%;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  /* Maestrías */
  .maestrias__grid {
    grid-template-columns: 1fr;
  }

  /* Rankings */
  .rankings__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ranking-block {
    flex-direction: column;
    gap: 16px;
  }
  .ranking-block__logo {
    width: 60px;
  }

  /* Urgencia */
  .urgencia__inner {
    flex-direction: column;
    padding: 0;
  }

  .urgencia__countdown {
    gap: 8px;
    width: 100%;
  }
  .countdown-block {
    padding: 12px 8px;
    min-width: auto;
    flex: 1;
  }
  .countdown-value {
    font-size: 1.6rem;
  }
  .countdown-label {
    font-size: 0.75rem;
  }

  /* Logos strip */
  .logos-strip {
    padding: 24px 24px;
    height: auto;
  }
  .logos-strip__inner {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logos-strip__inner img {
    height: 40px;
  }

  /* FAQ */
  .faq__list {
    padding: 0;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 40px 24px;
  }

  .footer__main-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__links {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer__link {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .urgencia__countdown {
    width: 100%;
    justify-content: space-between;
  }
  .countdown-block {
    flex: 1;
    min-width: auto;
  }
  .hero__form-card {
    padding: 24px 18px;
  }
}



/************Formulario ENAE*******************/
.textFormFieldBlock, .dateTimeFormFieldBlock, .twoOptionFormFieldBlock, .optionSetFormFieldBlock, .multiOptionSetFormFieldBlock, .lookupFormFieldBlock {
    padding:10px 10px !important;

    gap: 0px !important;
}

.phoneFormFieldBlock {
    padding: 10px 10px !important;
    display: flex;
    flex-direction: column;
    gap: 0px !important;
}
#contact-form > div > form > div > div:nth-child(5) > div{margin-top:-60px;}
#contact-form > div > form > div > div:nth-child(3) > div > div{margin-top:-20px;}