/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --utem-navy:    #002855;
  --utem-green:   #00A651;
  --utem-white:   #FFFFFF;
  --utem-gray:    #3A3A3A;
  --utem-light:   #F4F6F9;
  --utem-navy-80: rgba(0, 40, 85, 0.82);
  --utem-footer:  #001a3a;

  --shadow-card: 0 4px 24px rgba(0, 40, 85, 0.10);
  --shadow-form: 0 8px 48px rgba(0, 40, 85, 0.22);
  --shadow-nav:  0 2px 20px rgba(0, 40, 85, 0.40);

  --radius-btn:  4px;
  --radius-card: 6px;
  --radius-form: 8px;

  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;

  --font-primary: 'Montserrat', sans-serif;

  --container: 1200px;
  --section-pad: 96px 0;
}

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

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

body {
  font-family: var(--font-primary);
  font-weight: 300;
  color: var(--utem-gray);
  background: var(--utem-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }
blockquote { quotes: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.eyebrow {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--utem-green);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 48px;
}

.section-title.navy  { color: var(--utem-navy); }
.section-title.white { color: var(--utem-white); }

.section-subtitle {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin-top: -32px;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-green {
  background: var(--utem-green);
  color: var(--utem-white);
  border-color: var(--utem-green);
}
.btn-green:hover { filter: brightness(1.1); }

.btn-navy {
  background: var(--utem-navy);
  color: var(--utem-white);
  border-color: var(--utem-navy);
}
.btn-navy:hover { background: #003d7a; }

.btn-outline {
  background: transparent;
  color: var(--utem-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  background: transparent;
  border-color: var(--utem-white);
  color: var(--utem-white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--utem-white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  gap: 8px;
}
.btn-whatsapp:hover { filter: brightness(1.05); }

.btn-full { width: 100%; justify-content: center; }

.btn-large {
  font-size: 15px;
  font-weight: 600;
  padding: 16px 40px;
}

/* ===== SECCIÓN: NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 40, 85, 0.08);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

body.scrolled .site-nav {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 24px rgba(0, 40, 85, 0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-logo-divider {
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(0, 40, 85, 0.20);
  flex-shrink: 0;
}

.nav-logo-label {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--utem-navy);
  letter-spacing: 0.01em;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--utem-navy);
  transition: color var(--transition);
  padding-bottom: 2px;
}
.nav-links a:hover {
  color: var(--utem-green);
  border-bottom: 1px solid var(--utem-green);
}

.nav-cta { font-size: 14px; font-weight: 500; padding: 10px 22px; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--utem-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  border-top: 1px solid rgba(0, 40, 85, 0.08);
}
.mobile-menu.open { display: block; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--utem-navy);
  border-bottom: 1px solid rgba(0, 40, 85, 0.06);
  transition: color var(--transition);
}
.mobile-menu li:last-child a {
  margin-top: 16px;
  border-bottom: none;
}
.mobile-menu li a:hover { color: var(--utem-green); }

/* ===== SECCIÓN: HERO ===== */
.hero {
  background-color: var(--utem-navy);
  background-image: url('assets/FONDO2.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background: var(--utem-navy-80);
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Hero content */
.hero-content {
  color: var(--utem-white);
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero-ghost-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 160px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
  font-family: var(--font-primary);
  animation: ghostReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes ghostReveal {
  from {
    opacity: 0;
    letter-spacing: -0.12em;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    letter-spacing: -0.04em;
    transform: translateY(0);
  }
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-circle-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 166, 81, 0.06);
  bottom: -140px;
  left: -100px;
}

.hero-circle-2 {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.03);
  top: -80px;
  right: 180px;
}

.eyebrow-pill {
  display: inline-block;
  background: rgba(0, 166, 81, 0.15);
  border: 1px solid var(--utem-green);
  color: var(--utem-green);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.hero-headline {
  max-width: 52%;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.hero-headline__pre {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 4px 0;
  line-height: 1;
}

.hero-headline__utem {
  color: #00A651;
  font-weight: 700;
}

.hero-headline__sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-headline__main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 88px;
  color: #FFFFFF;
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .hero-headline { max-width: 100%; }
  .hero-headline__main { font-size: 56px; }
  .hero-headline__sub { font-size: 18px; }
}

.hero-line {
  width: 48px;
  height: 3px;
  background: var(--utem-green);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--utem-white);
  font-size: 13px;
  font-weight: 400;
  border-radius: var(--radius-btn);
  padding: 8px 16px;
  margin-bottom: 40px;
}

/* Scroll arrow */
.scroll-arrow {
  animation: pulse-arrow 2s ease-in-out infinite;
  width: 24px;
}

@keyframes pulse-arrow {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}

/* Hero form card — glassmorphism */
.form-card-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--utem-green) 0%, rgba(0,166,81,0.4) 100%);
  border-radius: 16px 16px 0 0;
  margin: -36px -32px 28px -32px;
}

.hero-form-wrap {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.form-eyebrow {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--utem-green);
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

.form-group input,
.form-group select {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group select option:first-child {
  color: rgba(255, 255, 255, 0.38);
}

.form-group select option {
  color: var(--utem-navy);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--utem-green);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.22);
}

.form-group input.error,
.form-group select.error {
  border-color: rgba(229, 62, 62, 0.80);
}

.field-error {
  font-size: 12px;
  color: rgba(255, 140, 140, 0.95);
  min-height: 16px;
  display: block;
}

.lead-form .btn-green {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  letter-spacing: 0.02em;
}

/* ===== CUSTOM SELECT COMPONENT ===== */
.custom-select { position: relative; }

.cs-trigger {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}
.cs-trigger:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.10);
}
.cs-trigger:focus-visible {
  border-color: var(--utem-green);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.22);
}
.cs-trigger[aria-expanded="true"] {
  border-color: var(--utem-green);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.22);
}

.cs-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-value.placeholder { color: rgba(255, 255, 255, 0.38); }

.cs-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.50);
  transition: transform 0.22s ease;
}
.cs-trigger[aria-expanded="true"] .cs-arrow { transform: rotate(180deg); }

.cs-panel {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 6px);
  width: max-content;
  min-width: 100%;
  max-width: min(520px, 92vw);
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 40, 85, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 40, 85, 0.22), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 300;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 40, 85, 0.30) rgba(0, 40, 85, 0.04);
}
.cs-panel.is-open {
  display: block;
  animation: csSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cs-panel.open-up {
  top: auto;
  bottom: calc(100% + 6px);
  animation: csSlideUp 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes csSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes csSlideUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cs-panel::-webkit-scrollbar { width: 6px; }
.cs-panel::-webkit-scrollbar-track { background: rgba(0, 40, 85, 0.04); border-radius: 3px; }
.cs-panel::-webkit-scrollbar-thumb { background: rgba(0, 40, 85, 0.28); border-radius: 3px; }
.cs-panel::-webkit-scrollbar-thumb:hover { background: rgba(0, 40, 85, 0.48); }

.cs-group { padding: 4px 0; }
.cs-group + .cs-group { border-top: 1px solid rgba(0, 40, 85, 0.07); }

.cs-group-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 40, 85, 0.42);
  padding: 8px 14px 4px;
}

.cs-opt {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--utem-navy);
  padding: 9px 14px;
  transition: background 0.14s ease;
  cursor: pointer;
  white-space: normal;
  line-height: 1.4;
}
.cs-opt:hover,
.cs-opt:focus-visible {
  background: rgba(0, 166, 81, 0.08);
  outline: none;
}
.cs-opt[aria-selected="true"] {
  background: rgba(0, 166, 81, 0.11);
  color: var(--utem-green);
  font-weight: 500;
}

.form-group.error .cs-trigger { border-color: rgba(229, 62, 62, 0.80); }

.form-consent {
  margin-top: 2px;
  margin-bottom: 12px;
}

.form-consent .consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.form-consent .consent-check:hover {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
}

.form-consent input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  border-radius: 3px;
  accent-color: var(--utem-green);
  appearance: auto;
  -webkit-appearance: auto;
}

.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(0, 166, 81, 0.70);
  outline-offset: 2px;
}

.form-consent.error .consent-check {
  border-color: rgba(229, 62, 62, 0.80);
  background: rgba(229, 62, 62, 0.08);
}

.form-disclaimer {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.40);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* Success state */
.success-state {
  text-align: center;
  padding: 20px 0;
  animation: fadeScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--utem-green);
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 600;
}

.success-state h3 {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: var(--utem-navy);
  margin-bottom: 12px;
}

.success-state p {
  font-size: 14px;
  color: var(--utem-gray);
  line-height: 1.7;
}

/* ===== SECCIÓN: VIDEO ===== */
.video-section {
  background: var(--utem-navy);
  padding: 72px 0;
}

.video-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.video-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-text .section-title {
  margin-bottom: 0;
  text-align: left;
}

.video-text .eyebrow {
  text-align: left;
}

.video-desc {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.70);
  max-width: 440px;
}

.video-wrap {
  width: 100%;
}

.yt-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.40);
  background: #000;
}

.yt-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .video-inner {
    grid-template-columns: 42% 55%;
    gap: 56px;
  }
}

/* ===== SECCIÓN: DIFERENCIADORES ===== */
.diferenciadores {
  background: var(--utem-light);
  padding: var(--section-pad);
}

.cards-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--utem-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  border-top: 3px solid var(--utem-green);
  box-shadow: 0 2px 16px rgba(0, 40, 85, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 40, 85, 0.16);
}

.feature-icon {
  margin-bottom: 20px;
  display: inline-flex;
  padding: 0;
  border-radius: 0;
  transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
  background: var(--utem-green);
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 10px;
}

.feature-card:hover .feature-icon svg {
  filter: brightness(0) invert(1);
}

.feature-title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  color: var(--utem-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--utem-gray);
  line-height: 1.7;
}

/* ===== SECCIÓN: PROGRAMAS FASE 1 ===== */
.programas {
  background-color: var(--utem-navy);
  background-image:
    linear-gradient(rgba(0, 28, 60, 0.85), rgba(0, 28, 60, 0.85)),
    url('assets/FONDO2.jpg');
  background-size: cover;
  background-position: center;
  padding: var(--section-pad);
  position: relative;
}

.programas::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(0, 166, 81, 0.20);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.program-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-form);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.program-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 166, 81, 0.10);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-primary);
  transition: color 0.35s ease;
}

.program-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 166, 81, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30);
}

.program-card:hover .program-number {
  color: rgba(0, 166, 81, 0.18);
}

.program-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(0, 166, 81, 0.15);
  color: var(--utem-green);
  border: 1px solid var(--utem-green);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 40px;
  padding: 4px 12px;
}

.program-name {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 300;
  color: var(--utem-white);
  margin-top: 16px;
  line-height: 1.3;
}

.program-line {
  width: 32px;
  height: 2px;
  background: var(--utem-green);
  margin: 16px 0;
}

.program-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex: 1;
}

.program-details li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.70);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.program-details li span { flex-shrink: 0; }

.program-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.programs-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  display: inline-block;
  transition: color var(--transition);
  margin: 0 auto;
}
.programs-link:hover { color: var(--utem-white); }

/* ===== SECCIÓN: PROCESO DE ADMISIÓN ===== */
.proceso {
  background: var(--utem-light);
  padding: var(--section-pad);
  position: relative;
}

.proceso::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--utem-green) 0%, rgba(0,166,81,0.25) 100%);
}

.proceso .section-title {
  color: var(--utem-navy);
}

.proceso .eyebrow {
  color: var(--utem-green);
}

.stepper {
  max-width: 680px;
  margin: 0 auto 48px;
  position: relative;
}

.step {
  position: relative;
  padding-left: 60px;
  padding-bottom: 0;
}

/* Línea conectora entre pasos */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 56px;
  bottom: 0;
  width: 2px;
  border-left: 2px solid rgba(0, 40, 85, 0.10);
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 12px 14px 0;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  outline: none;
  transition: background 0.2s ease;
}

.step-header:hover {
  background: rgba(0, 40, 85, 0.04);
}

.step-header:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.25);
}

.step-number {
  position: absolute;
  left: -60px;
  top: 12px;
  width: 40px;
  height: 40px;
  background: var(--utem-white);
  border: 2px solid var(--utem-green);
  color: var(--utem-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.step.expanded .step-number {
  background: var(--utem-green);
  color: var(--utem-white);
  border-color: var(--utem-green);
  box-shadow: 0 0 0 6px rgba(0, 166, 81, 0.12);
}

.step-info { flex: 1; }

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--utem-navy);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.step-summary {
  font-size: 14px;
  font-weight: 300;
  color: rgba(0, 40, 85, 0.55);
}

.step-arrow {
  font-size: 22px;
  font-weight: 300;
  color: rgba(0, 40, 85, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
  display: inline-block;
  animation: arrowNudge 2.2s ease-in-out 2s 3;
}

@keyframes arrowNudge {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(5px); }
  50%  { transform: translateX(0); }
  75%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

.step-header:hover .step-arrow {
  color: var(--utem-green);
  animation: none;
}

.step.expanded .step-arrow {
  transform: rotate(90deg);
  color: var(--utem-green);
  animation: none;
}

.step-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 0;
}

.step-detail p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(0, 40, 85, 0.65);
  line-height: 1.75;
  padding-bottom: 16px;
  padding-top: 4px;
  border-left: 3px solid rgba(0, 166, 81, 0.30);
  padding-left: 14px;
  margin-left: 0;
}

.step.expanded .step-detail { max-height: 200px; }

.proceso-cta { text-align: center; }

.proceso-cta .btn-navy {
  background: var(--utem-green);
  border-color: var(--utem-green);
}
.proceso-cta .btn-navy:hover {
  background: #008f45;
  border-color: #008f45;
}

/* ===== SECCIÓN: ARANCELES Y BENEFICIOS ===== */
.aranceles {
  background-color: var(--utem-navy);
  background-image:
    linear-gradient(rgba(0, 28, 60, 0.88), rgba(0, 28, 60, 0.88)),
    url('assets/FONDO2.jpg');
  background-size: cover;
  background-position: center;
  padding: var(--section-pad);
}

.aranceles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.aranceles-content .section-title { margin-bottom: 32px; }

.arancel-ranges {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.arancel-range {
  padding-left: 16px;
  border-left: 2px solid var(--utem-green);
}

.range-label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.range-value {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  color: var(--utem-white);
}

.range-value span {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
}

.arancel-intro {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.arancel-note {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 8px;
}

.arancel-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.arancel-disclaimer {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.40);
  font-style: italic;
  text-align: center;
  margin-top: 14px;
}

/* Beneficios col wrapper */
.beneficios-col {
  display: flex;
  flex-direction: column;
}

/* Beneficios card */
.beneficios-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-form);
  padding: 32px;
}

.beneficios-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--utem-white);
  margin-bottom: 20px;
}

.beneficios-list {
  display: flex;
  flex-direction: column;
}

.beneficios-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.80);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}

.beneficios-list li:last-child { border-bottom: none; }

.check-icon { flex-shrink: 0; margin-top: 2px; }

/* ===== SECCIÓN: TESTIMONIOS ===== */
.testimonios {
  background: var(--utem-light);
  padding: var(--section-pad);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonio-card {
  background: var(--utem-white);
  border-radius: var(--radius-form);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-family: var(--font-primary);
  font-size: 72px;
  font-weight: 700;
  color: var(--utem-green);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
}

.testimonio-card blockquote p {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  font-style: italic; /* Montserrat italic (0,400 incluido en el import) */
  color: var(--utem-gray);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

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

.testimonio-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(0, 166, 81, 0.18);
  box-shadow: 0 6px 18px rgba(0, 40, 85, 0.16);
}

.testimonio-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--utem-navy);
  margin-bottom: 2px;
}

.testimonio-programa {
  font-size: 12px;
  font-weight: 400;
  color: var(--utem-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* ===== SECCIÓN: CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, #002855 0%, #003d7a 50%, #001f42 100%);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: var(--section-pad);
  position: relative;
  text-align: center;
}

.cta-final .hero-bg-pattern {
  background: linear-gradient(135deg, #002855 0%, #003d7a 50%, #001f42 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.cta-title {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 700;
  color: var(--utem-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-form-wrap {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 32px;
}

/* Contacto directo */
.contacto-directo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.contacto-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.60);
}

.contacto-email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
  transition: color var(--transition);
}
.contacto-email:hover { color: var(--utem-white); }

/* ===== SECCIÓN: FOOTER ===== */
.site-footer {
  background: var(--utem-footer);
  border-top: 1px solid rgba(0, 166, 81, 0.25);
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 64px 0 56px;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--utem-green);
}

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.50);
  max-width: 280px;
}

/* Nav */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--utem-white);
  padding-left: 4px;
}

/* Contacto block */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-email-link:hover { color: var(--utem-white); }

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--utem-white);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
  width: fit-content;
}

.footer-whatsapp-btn:hover {
  background: #20ba58;
  transform: translateY(-2px);
}

/* Barra inferior */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.28);
}

.footer-credit {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.16);
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
  transition: transform var(--transition);
  animation: pulse-fab 2s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  animation-play-state: paused;
}

@keyframes pulse-fab {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40); }
  50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.65); }
}

.fab-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 40, 85, 0.90);
  color: white;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-fab:hover .fab-tooltip { opacity: 1; }

/* ===== ICONOS SVG INLINE ===== */
.detail-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.50);
  margin-top: 1px;
}

.mail-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.80);
}

.bolt-icon {
  flex-shrink: 0;
  color: var(--utem-green);
}

/* ===== ENTRANCE ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* Steps entran desde la izquierda */
.proceso .reveal {
  transform: translateX(-20px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ===== RESPONSIVE — 768px ===== */
@media (min-width: 768px) {

  .hero-grid {
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: center;
  }

  .nav-links  { display: flex; }
  .hamburger  { display: none; }
  .nav-cta    { display: inline-flex; }

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

  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-top-inner {
    grid-template-columns: 2fr 1fr 1.6fr;
    gap: 56px;
    align-items: start;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .section-title { font-size: 38px; }
  .cta-title     { font-size: 44px; }
}

/* ===== RESPONSIVE — 1024px ===== */
@media (min-width: 1024px) {

  .hero-grid { grid-template-columns: 60% 38%; gap: 48px; }

  .program-actions { flex-wrap: nowrap; }
}

/* ===== PREFERS-REDUCED-MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-arrow,
  .whatsapp-fab,
  .hero-ghost-text {
    animation: none;
  }
  .success-state {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 767px) {

  :root { --section-pad: 64px 0; }

  .nav-cta { display: none; }

  .hero { min-height: auto; padding: 60px 0; }

  .hero-ghost-text { font-size: 80px; }

  .hero-subtitle { font-size: 16px; }

  .hero-form-wrap { padding: 28px 20px; border-radius: 12px; }

  .section-title { font-size: 28px; margin-bottom: 32px; }

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

  .testimonio-card { padding: 28px 24px; }

  .testimonio-card blockquote p { font-size: 14px; }

  .quote-mark { font-size: 52px; }

  .process-cta .btn-large { padding: 14px 28px; font-size: 14px; }

  .program-actions {
    flex-direction: column;
  }
  .program-actions .btn { text-align: center; justify-content: center; }

  .step { padding-left: 52px; }
  .step-number { left: -52px; width: 36px; height: 36px; font-size: 14px; }
  .step:not(:last-child)::before { left: 17px; top: 50px; }
}
