/* ============================================
   ALIANZA FINANCIERA — Premium Landing
   ============================================ */

:root {
  --navy-950: #050d1f;
  --navy-900: #0a1a3a;
  --navy-800: #0f2557;
  --navy-700: #1a3a7a;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --gold-400: #fbbf24;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --header-h: 80px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.35);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

#inicio,
#acerca-nosotros,
#calc-form,
#faq,
#ubicacion,
#apply-form-fields {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ── HEADER ───────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.5s var(--ease-out-expo),
              backdrop-filter 0.5s,
              box-shadow 0.5s,
              border-color 0.5s;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 31, 0.7) 0%, transparent 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s;
}

.header.scrolled {
  background: rgba(5, 13, 31, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header.scrolled::before {
  opacity: 0;
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
}

.logo__img {
  display: block;
  height: clamp(60px, 12vw, 78px);
  width: auto;
  max-width: min(330px, 82.5vw);
  object-fit: contain;
  animation: logoFloat 2.5s ease-in-out infinite;
  will-change: transform, filter;
}

@media (min-width: 901px) {
  .header {
    height: auto;
    min-height: calc(var(--header-h) + 0.8cm + 0.5cm);
  }

  .logo {
    margin-top: 0.8cm;
    margin-left: 0.4cm;
  }
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 1rem;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.4s var(--ease-out-expo);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: var(--glass);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 60%;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s, transform 0.3s;
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile-bar,
.nav__mobile-cta,
.nav__close,
.nav__mobile-btn {
  display: none;
}

/* ── HERO SLIDER ──────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: calc(70vh + 4.5cm);
  min-height: calc(420px + 4.5cm);
  max-height: calc(630px + 4.5cm);
  overflow: hidden;
}

.hero__swiper {
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-950);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-overlay--dark {
  background: linear-gradient(
    105deg,
    rgba(5, 13, 31, 0.98) 0%,
    rgba(5, 13, 31, 0.92) 30%,
    rgba(5, 13, 31, 0.65) 50%,
    rgba(10, 26, 58, 0.35) 70%,
    rgba(10, 26, 58, 0.1) 85%,
    transparent 100%
  );
}

/* Decorative elements */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: orbDrift 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.2);
  top: -10%;
  left: -5%;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(249, 115, 22, 0.15);
  bottom: 10%;
  left: 20%;
  animation-delay: -4s;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 5vw, 4rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero__title--light {
  color: var(--navy-900);
}

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

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange-400), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title--light em {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero__subtitle--light {
  color: var(--gray-500);
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
}

/* CTA Button */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500) 0%, #ea580c 100%);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-spring);
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
  animation: btnLevitate 2.5s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-cta:hover {
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.7);
}

.btn-cta:hover::before {
  transform: translateX(100%);
}

.btn-cta__icon {
  display: flex;
  transition: transform 0.4s var(--ease-spring);
}

.btn-cta:hover .btn-cta__icon {
  transform: translateX(4px);
}

.btn-cta--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 16px rgba(255, 255, 255, 0.08);
  color: var(--white);
  animation: btnLevitateSoft 3s ease-in-out infinite;
  will-change: transform;
}

.btn-cta--outline-light {
  background: transparent;
  border: 2px solid var(--navy-800);
  box-shadow: 0 2px 16px rgba(10, 26, 58, 0.1);
  color: var(--navy-800);
  animation: btnLevitateSoft 3s ease-in-out infinite;
  will-change: transform;
}

.btn-cta--outline:hover,
.btn-cta--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-cta--outline-light:hover {
  background: rgba(10, 26, 58, 0.05);
  border-color: var(--navy-700);
}

/* Trust indicators */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateY(20px);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.hero__trust-item--light {
  color: var(--gray-500);
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  color: var(--orange-400);
}

.hero__trust-item--light .hero__trust-icon {
  color: var(--blue-500);
}

/* Slider controls */
.hero__controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero__pagination {
  display: flex;
  gap: 0.5rem;
}

.hero__pagination .swiper-pagination-bullet {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: width 0.4s var(--ease-out-expo), background 0.3s;
  margin: 0 !important;
}

.hero__pagination .swiper-pagination-bullet-active {
  width: 64px;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
}

.hero__arrows {
  display: flex;
  gap: 0.5rem;
}

.hero__arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.3s, transform 0.3s var(--ease-spring), border-color 0.3s;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.hero__arrow svg {
  width: 20px;
  height: 20px;
}

/* Progress bar */
.hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.hero__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  transition: width 0.1s linear;
}

/* Active slide animations */
.hero__slide.swiper-slide-active .hero__badge,
.hero__slide.swiper-slide-active .hero__title,
.hero__slide.swiper-slide-active .hero__subtitle,
.hero__slide.swiper-slide-active .hero__actions,
.hero__slide.swiper-slide-active .hero__trust {
  animation: slideUp 0.8s var(--ease-out-expo) forwards;
}

.hero__slide.swiper-slide-active .hero__title {
  animation-delay: 0.15s;
}

.hero__slide.swiper-slide-active .hero__subtitle {
  animation-delay: 0.3s;
}

.hero__slide.swiper-slide-active .hero__actions {
  animation-delay: 0.45s;
}

.hero__slide.swiper-slide-active .hero__trust {
  animation-delay: 0.6s;
}

.hero__slide.swiper-slide-active .btn-cta {
  animation: btnLevitate 2.5s ease-in-out 0.9s infinite;
}

.hero__slide.swiper-slide-active .btn-cta--outline,
.hero__slide.swiper-slide-active .btn-cta--outline-light {
  animation: btnLevitateSoft 3s ease-in-out 0.9s infinite;
}

/* ── ANIMATIONS ───────────────────────────── */

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 4px 14px rgba(37, 99, 235, 0.35));
  }
  50% {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 14px 28px rgba(37, 99, 235, 0.55));
  }
}

@keyframes btnLevitate {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.45);
  }
  50% {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.65);
  }
}

@keyframes btnLevitateSoft {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 2px 16px rgba(255, 255, 255, 0.08);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.15);
  }
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

/* ── RESPONSIVE ───────────────────────────── */

@media (max-width: 1024px) {
  .nav__link {
    font-size: 0.65rem;
    padding: 0.5rem 0.7rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 102px;
    --hero-controls-offset: calc(0.85rem + 38px + 0.3cm);
  }

  .header {
    height: auto;
    padding: 0.625rem 0.75rem 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
  }

  .header::before,
  .header.scrolled::before {
    display: none;
  }

  .header.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
  }

  .header__inner {
    background: #0D204B;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    min-height: 56px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav__toggle.open {
    opacity: 0;
    pointer-events: none;
  }

  .nav__list {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.35s, visibility 0.35s;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav__list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }

  .nav__mobile-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange-400);
  }

  .nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
  }

  .nav__close:hover {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
  }

  .nav__list > li:has(> .nav__link) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__link {
    display: flex;
    align-items: center;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 1.15rem 1.25rem;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.3s, color 0.3s, padding-left 0.3s;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link.active {
    background: rgba(249, 115, 22, 0.1);
    color: var(--white);
    padding-left: 1.5rem;
    box-shadow: inset 3px 0 0 var(--orange-500);
  }

  .nav__mobile-cta {
    display: block;
    margin-top: auto;
    padding: 1.5rem 1.25rem 2rem;
    border-bottom: none;
  }

  .nav__mobile-btn {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500) 0%, #ea580c 100%);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.35);
    transition: box-shadow 0.3s var(--ease-spring);
    animation: btnLevitate 2.5s ease-in-out infinite;
    will-change: transform, box-shadow;
  }

  .nav__mobile-btn:hover {
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.7);
  }

  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 1000;
  }

  .nav__overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .logo__img {
    height: clamp(84px, 16.8vw, 109px);
    max-width: min(462px, 115vw);
  }

  /* Imágenes móviles por paso */
  .hero__bg-image--1 {
    background-image: url('../assets/images/hero11.png') !important;
  }

  .hero__bg-image--2 {
    background-image: url('../assets/images/hero22.png') !important;
  }

  .hero__bg-image--3 {
    background-image: url('../assets/images/hero33.png') !important;
  }

  .hero__bg-image {
    background-position: center;
    background-size: cover;
  }

  .hero__bg-overlay--dark {
    background: linear-gradient(
      180deg,
      rgba(5, 13, 31, 0.88) 0%,
      rgba(5, 13, 31, 0.72) 40%,
      rgba(5, 13, 31, 0.45) 70%,
      rgba(5, 13, 31, 0.2) 100%
    );
  }

  .hero__slide--1 .hero__bg-overlay--dark {
    background: linear-gradient(
      105deg,
      rgba(5, 13, 31, 0.92) 0%,
      rgba(5, 13, 31, 0.75) 45%,
      rgba(5, 13, 31, 0.25) 70%,
      transparent 100%
    );
  }

  /* Base móvil compartida */
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    height: 100%;
    min-height: 100%;
    padding: calc(var(--header-h) + 0.5rem) 1.25rem 0;
    box-sizing: border-box;
  }

  .hero__badge {
    align-self: flex-start;
    flex-shrink: 0;
    margin-top: 0.4cm;
    margin-bottom: 0.85rem;
    order: 1;
  }

  .hero__title {
    order: 2;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: clamp(1.6rem, 6.8vw, 2.1rem);
    line-height: 1.2;
  }

  .hero__subtitle {
    order: 3;
    max-width: 100%;
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .hero__trust {
    order: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem 1rem;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0.3cm;
  }

  .hero__trust-item {
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.68rem;
    padding: 0;
    margin: 0;
    border: none;
  }

  .hero__trust-item:nth-child(3) {
    display: none;
  }

  .hero__actions {
    order: 5;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
    margin-top: 0;
    margin-bottom: var(--hero-controls-offset);
  }

  .btn-cta,
  .btn-cta--outline,
  .btn-cta--outline-light {
    width: 100%;
    max-width: none;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.8rem;
  }

  .hero__arrows {
    display: flex;
  }

  .hero__arrow {
    width: 38px;
    height: 38px;
  }

  .hero__controls {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0.85rem;
    transform: none;
    width: auto;
    max-width: none;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  /* Paso 1 — subtítulo 0.3 cm arriba de los iconos */
  .hero__slide--1 .hero__subtitle {
    order: 4;
    margin-top: auto;
    margin-bottom: 0.3cm;
  }

  .hero__slide--1 .hero__trust {
    order: 5;
    margin-top: 0;
  }

  .hero__slide--1 .hero__actions {
    order: 6;
  }
}

@media (max-width: 480px) {
  .logo__img {
    height: 76px;
    max-width: 378px;
  }

  .hero {
    min-height: calc(70svh + 5cm);
    max-height: none;
    height: calc(70svh + 5cm);
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.75rem;
  }

  .hero__pagination .swiper-pagination-bullet {
    width: 28px;
  }

  .hero__pagination .swiper-pagination-bullet-active {
    width: 44px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/* Anchor sections placeholder */
.section-anchor {
  min-height: 1px;
}

/* ═══════════════════════════════════════════
   BLOQUE 1 — Credit Info
   ═══════════════════════════════════════════ */

.credit-info {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  overflow: hidden;
}

.credit-info__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(600px, 90vw);
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.credit-info__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.credit-info__example {
  max-width: 900px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.credit-info__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 1rem;
}

.credit-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.credit-info__body {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
}

.credit-info__body strong {
  color: var(--gold-400);
  font-weight: 700;
}

.credit-info__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 auto clamp(2rem, 4vw, 2.5rem);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(10, 26, 58, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 100px;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.35);
  animation: badgeGlow 3s ease-in-out infinite;
}

.credit-info__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); transform: translateY(0); }
  50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.4); transform: translateY(-4px); }
}

.credit-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: stretch;
}

.credit-card {
  border-radius: 20px;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s;
}

.credit-card--feature {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.credit-card--feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(249, 115, 22, 0.3);
}

.credit-card__icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  color: var(--gold-400);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}

.credit-card--feature:hover .credit-card__icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(249, 115, 22, 0.2);
}

.credit-card__icon {
  width: 40px;
  height: 40px;
}

.credit-card__text {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.credit-card--highlight {
  background: linear-gradient(145deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.credit-card--highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.credit-card--highlight:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.2);
}

.credit-card__highlight-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 1.75rem);
  min-height: 100%;
  text-align: center;
  gap: 0.5rem;
}

.credit-card__label {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
}

.credit-card__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 180px;
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.credit-card__divider::before,
.credit-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.credit-card__amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 0.5rem 0 1.25rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.credit-card__btn {
  width: 100%;
  max-width: 260px;
  justify-content: center;
  font-size: 0.78rem;
  padding: 0.9rem 1.5rem;
}

/* ═══════════════════════════════════════════
   BLOQUE 2 — Purposes
   ═══════════════════════════════════════════ */

.purposes {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--gray-100);
  color: var(--navy-900);
}

.purposes__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.purposes__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.purposes__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 0.75rem;
}

.purposes__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
  line-height: 1.2;
}

.purposes__title-line {
  width: 80px;
  height: 4px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  border-radius: 4px;
}

.purposes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.purpose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.45s var(--ease-out-expo);
}

.purpose-card:hover {
  transform: translateY(-10px);
}

.purpose-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 16px 48px rgba(10, 26, 58, 0.15);
}

.purpose-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.purpose-card:hover .purpose-card__img {
  transform: scale(1.08);
}

.purpose-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 13, 31, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.purpose-card:hover .purpose-card__img-overlay {
  opacity: 1;
}

.purpose-card__text {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy-800);
  max-width: 320px;
  margin-bottom: 1rem;
}

.purpose-card__accent {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  border-radius: 3px;
  transition: width 0.4s var(--ease-out-expo);
}

.purpose-card:hover .purpose-card__accent {
  width: 72px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.purposes__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.purposes__grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* Responsive — Bloques */
@media (max-width: 900px) {
  .credit-info__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .credit-card--highlight {
    order: -1;
  }

  .purposes__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .credit-info__example {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .credit-card--feature,
  .credit-card--highlight {
    border-radius: 16px;
  }

  .purpose-card__img-wrap {
    border-radius: 16px;
  }
}

/* ══════════════════════════════════════════════
   BLOQUE — Acerca de Nosotros + Valores
   ══════════════════════════════════════════════ */

.about {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 6rem) clamp(1.5rem, 5vw, 3rem);
}

.about__bg {
  position: absolute;
  inset: 0;
}

.about__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  animation: aboutKenBurns 20s ease-in-out infinite alternate;
}

.about__bg-img--mobile {
  display: none;
}

@keyframes aboutKenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.about__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 31, 0.7) 0%, rgba(5, 13, 31, 0.82) 45%, rgba(5, 13, 31, 0.92) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(249, 115, 22, 0.1) 0%, transparent 55%);
}

.about__inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
}

.about__intro {
  max-width: 820px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.about__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
  animation: logoFloat 4s ease-in-out infinite;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange-500);
  margin-bottom: 1.75rem;
  line-height: 1.15;
}

.about__text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.about__text strong {
  color: var(--white);
  font-weight: 700;
}

.about__values-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about__values-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.about__values-line {
  width: 64px;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  border-radius: 4px;
}

.about__values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.value-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.value-card__icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--gold-400));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
  animation: logoFloat 3.5s ease-in-out infinite;
}

.value-card:nth-child(2) .value-card__icon-wrap {
  animation-delay: 0.6s;
}

.value-card:nth-child(3) .value-card__icon-wrap {
  animation-delay: 1.2s;
}

.value-card__icon {
  width: 36px;
  height: 36px;
  color: var(--navy-900);
}

.value-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 0.85rem;
}

.value-card__text {
  font-size: clamp(0.875rem, 1.6vw, 0.95rem);
  line-height: 1.7;
  color: var(--gray-500);
}

.about__values-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.about__values-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

@media (min-width: 901px) {
  .about__intro {
    position: relative;
    left: 5cm;
  }
}

/* ══════════════════════════════════════════════
   BLOQUE — Simulador
   ══════════════════════════════════════════════ */

.simulator {
  background: var(--white);
}

/* CTA strip */
.simulator-cta {
  background: linear-gradient(105deg, var(--gold-400) 0%, #fde68a 35%, var(--white) 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.simulator-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
  animation: orbDrift 8s ease-in-out infinite;
  pointer-events: none;
}

.simulator-cta__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.simulator-cta__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
}

.simulator-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: var(--navy-900);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(10, 26, 58, 0.35);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
  animation: btnLevitate 2.8s ease-in-out infinite;
  will-change: transform;
}

.simulator-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(10, 26, 58, 0.45);
}

/* Steps */
.simulator-steps-wrap {
  background: var(--white);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.simulator-steps-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(251, 191, 36, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.simulator-steps-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 26, 58, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  animation: stepsGridDrift 20s linear infinite;
}

@keyframes stepsGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 28px 28px; }
}

.simulator-steps__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.simulator-steps__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.simulator-steps__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.simulator-steps__title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 80px;
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400), var(--orange-500));
  background-size: 200% 100%;
  border-radius: 4px;
  animation: stepsTitleShimmer 3s ease-in-out infinite;
}

@keyframes stepsTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.simulator-steps__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 1.25rem;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  position: relative;
}

.steps-timeline__track {
  position: absolute;
  top: 52px;
  left: 16%;
  right: 16%;
  height: 4px;
  pointer-events: none;
  z-index: 0;
}

.steps-timeline__line {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gray-300) 0%, var(--gray-300) 100%);
  overflow: hidden;
  position: relative;
}

.steps-timeline__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--orange-500), var(--gold-400), transparent);
  animation: stepsLineFlow 3s ease-in-out infinite;
}

@keyframes stepsLineFlow {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.steps-timeline__dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange-500);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
  animation: stepsDotPulse 2s ease-in-out infinite;
}

.steps-timeline__dot--1 { left: 0;   animation-delay: 0s; }
.steps-timeline__dot--2 { left: 50%; animation-delay: 0.6s; }
.steps-timeline__dot--3 { left: 100%; animation-delay: 1.2s; }

@keyframes stepsDotPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%      { transform: translate(-50%, -50%) scale(1.6); opacity: 0.6; }
}

.step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-card__ring {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: stepCardFloat 4s ease-in-out infinite;
}

.step-card:nth-child(3) .step-card__ring { animation-delay: 0.5s; }
.step-card:nth-child(4) .step-card__ring { animation-delay: 1s; }
.step-card:nth-child(5) .step-card__ring { animation-delay: 1.5s; }

@keyframes stepCardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.step-card__ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--orange-500);
  opacity: 0.45;
  animation: stepRingSpin 12s linear infinite;
}

.step-card:nth-child(3) .step-card__ring::before { animation-direction: reverse; animation-duration: 15s; }
.step-card:nth-child(5) .step-card__ring::before { animation-duration: 10s; }

@keyframes stepRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.step-card__ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-400);
  animation: stepRingOrbit 2.5s linear infinite;
}

.step-card:nth-child(4) .step-card__ring::after { animation-delay: 0.8s; }
.step-card:nth-child(5) .step-card__ring::after { animation-delay: 1.6s; }

@keyframes stepRingOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.step-card__badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 32px rgba(10, 26, 58, 0.25);
  position: relative;
  z-index: 1;
  animation: stepBadgePulse 3s ease-in-out infinite;
}

.step-card:nth-child(4) .step-card__badge { animation-delay: 0.5s; }
.step-card:nth-child(5) .step-card__badge { animation-delay: 1s; }

@keyframes stepBadgePulse {
  0%, 100% { box-shadow: 0 10px 32px rgba(10, 26, 58, 0.25); }
  50%      { box-shadow: 0 14px 40px rgba(249, 115, 22, 0.35); }
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.step-card__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}

.step-card__body {
  background: var(--white);
  border: 1px solid rgba(10, 26, 58, 0.08);
  border-radius: 20px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 8px 32px rgba(10, 26, 58, 0.08);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.step-card__body::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.12), transparent);
  animation: stepShimmer 4s ease-in-out infinite;
}

.step-card:nth-child(4) .step-card__body::before { animation-delay: 1.3s; }
.step-card:nth-child(5) .step-card__body::before { animation-delay: 2.6s; }

@keyframes stepShimmer {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}

.step-card__text {
  font-size: clamp(0.875rem, 1.6vw, 0.95rem);
  line-height: 1.7;
  color: var(--navy-800);
  position: relative;
  z-index: 1;
}

.steps-timeline .reveal:nth-child(3) { transition-delay: 0.15s; }
.steps-timeline .reveal:nth-child(4) { transition-delay: 0.3s; }
.steps-timeline .reveal:nth-child(5) { transition-delay: 0.45s; }

/* Calculator */
.simulator-calc {
  position: relative;
  min-height: clamp(560px, 80vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem);
  overflow: hidden;
}

.simulator-calc__bg {
  position: absolute;
  inset: 0;
}

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

.simulator-calc__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(10, 26, 58, 0.85) 40%, rgba(10, 26, 58, 0.55) 100%);
}

.simulator-calc__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: clamp(0rem, 8vw, 6rem);
  transform: translateX(-16cm);
}

.calc-form {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: 0 24px 64px rgba(5, 13, 31, 0.35);
}

.calc-form__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  text-align: center;
  margin-bottom: 1.75rem;
}

.calc-form__field {
  margin-bottom: 1.35rem;
}

.calc-form__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.calc-form__static {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
}

.calc-form__amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.calc-form__amount-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.calc-form__amount-value {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.calc-form__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--gray-300);
  outline: none;
  cursor: pointer;
}

.calc-form__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 2px 8px rgba(10, 26, 58, 0.4);
  cursor: pointer;
  transition: transform 0.2s;
}

.calc-form__range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-form__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 2px 8px rgba(10, 26, 58, 0.4);
  cursor: pointer;
}

.calc-form__range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--gray-500);
}

.calc-form__select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy-800);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  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 fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.calc-form__select:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.calc-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  animation: btnLevitate 3s ease-in-out infinite;
}

.calc-form__result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(251, 191, 36, 0.12));
  border-radius: 16px;
  text-align: center;
  animation: slideUp 0.5s var(--ease-out-expo) forwards;
}

.calc-form__result-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.calc-form__result-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--orange-500);
}

/* Responsive — Nuevos bloques */
@media (max-width: 900px) {
  .about__bg-img--desktop {
    display: none;
  }

  .about__bg-img--mobile {
    display: block;
    object-position: center center;
  }

  .about__values-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .steps-timeline__track {
    display: none;
  }

  .simulator-calc__inner {
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .simulator-calc__overlay {
    background: linear-gradient(180deg, var(--navy-900) 0%, rgba(10, 26, 58, 0.88) 100%);
  }
}

@media (max-width: 480px) {
  .value-card,
  .calc-form {
    border-radius: 20px;
  }

  .step-card__ring {
    width: 88px;
    height: 88px;
  }

  .step-card__badge {
    width: 76px;
    height: 76px;
  }

  .step-card__num {
    font-size: 1.6rem;
  }
}

/* ══════════════════════════════════════════════
   BLOQUE — Beneficios exclusivos
   ══════════════════════════════════════════════ */

.benefits {
  background: var(--white);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  animation: orbDrift 14s ease-in-out infinite;
  pointer-events: none;
}

.benefits__inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.benefits__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.benefits__visual {
  position: relative;
}

.benefits__img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10, 26, 58, 0.15);
  animation: logoFloat 5s ease-in-out infinite;
}

.benefits__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.benefits__img-wrap:hover .benefits__img {
  transform: scale(1.04);
}

.benefits__img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 26, 58, 0.25) 100%);
  pointer-events: none;
}

.benefits__check {
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35);
  border: 4px solid var(--gold-400);
  animation: stepBadgePulse 3s ease-in-out infinite;
}

.benefits__check svg {
  width: 36px;
  height: 36px;
}

.benefits__card {
  background: var(--gray-100);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(10, 26, 58, 0.06);
  box-shadow: 0 12px 40px rgba(10, 26, 58, 0.08);
  position: relative;
  overflow: hidden;
}

.benefits__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
  animation: stepShimmer 5s ease-in-out infinite;
}

.benefits__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 1.75rem;
  position: relative;
}

.benefits__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  color: var(--navy-800);
  font-weight: 500;
}

.benefits__bullet {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--gold-400));
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
  animation: stepsDotPulse 2.5s ease-in-out infinite;
}

.benefits__item:nth-child(2) .benefits__bullet { animation-delay: 0.4s; }
.benefits__item:nth-child(3) .benefits__bullet { animation-delay: 0.8s; }

.benefits__cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.benefits__cta-card {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 3.5vw, 2rem);
  background: linear-gradient(135deg, var(--navy-900) 0%, #0d204b 55%, var(--navy-800) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--orange-500);
  box-shadow:
    0 12px 40px rgba(10, 26, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s, border-color 0.35s;
}

.benefits__cta-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 56px rgba(10, 26, 58, 0.28),
    0 0 0 1px rgba(249, 115, 22, 0.2);
  border-left-color: var(--gold-400);
}

.benefits__cta-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange-400);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.benefits__cta-card-icon svg {
  width: 22px;
  height: 22px;
}

.benefits__cta-card-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.9vw, 1.05rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.benefits__cta-card-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}

.benefits__cta-card-arrow svg {
  width: 18px;
  height: 18px;
}

.benefits__cta-card:hover .benefits__cta-card-arrow {
  transform: translateX(4px);
  background: var(--gold-400);
  color: var(--navy-900);
}

/* ══════════════════════════════════════════════
   BLOQUE — Requisitos
   ══════════════════════════════════════════════ */

.requirements {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.requirements::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 26, 58, 0.05) 0%, transparent 70%);
  animation: orbDrift 16s ease-in-out infinite reverse;
  pointer-events: none;
}

.requirements__inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.requirements__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.requirements__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
  max-width: 720px;
  margin: 0 auto 1rem;
}

.requirements__line {
  width: 72px;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  border-radius: 4px;
}

.requirements__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.requirements__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.req-group {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-left: 4px solid var(--gold-400);
  box-shadow: 0 6px 24px rgba(10, 26, 58, 0.06);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
  animation: stepCardFloat 5s ease-in-out infinite;
}

.req-group:nth-child(2) { animation-delay: 0.6s; }
.req-group:nth-child(3) { animation-delay: 1.2s; }

.req-group:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(10, 26, 58, 0.1);
}

.req-group__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
  color: #d97706;
  margin-bottom: 0.85rem;
}

.req-group__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.req-group__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: clamp(0.875rem, 1.6vw, 0.95rem);
  line-height: 1.6;
  color: var(--navy-800);
}

.req-group__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-700);
}

.requirements__visual {
  position: relative;
}

.requirements__img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10, 26, 58, 0.15);
  animation: logoFloat 5.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.requirements__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.requirements__img-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(249, 115, 22, 0.08) 100%);
  pointer-events: none;
}

.requirements__check {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35);
  border: 4px solid var(--gold-400);
  animation: stepBadgePulse 3s ease-in-out infinite;
}

.requirements__check svg {
  width: 36px;
  height: 36px;
}

/* ══════════════════════════════════════════════
   BLOQUE — Solicitud
   ══════════════════════════════════════════════ */

.apply {
  background: var(--white);
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.apply::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(249, 115, 22, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(13, 32, 75, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.apply__inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.apply__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.apply__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.apply__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--navy-800);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.apply__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.apply__visual {
  position: relative;
}

.apply__img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply__img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  animation: logoFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 16px 40px rgba(10, 26, 58, 0.12));
}

.apply__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.apply__orb--1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
  animation: orbDrift 10s ease-in-out infinite;
}

.apply__orb--2 {
  width: 80px;
  height: 80px;
  bottom: 15%;
  right: 10%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  animation: orbDrift 8s ease-in-out infinite reverse;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.apply-form__fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.apply-form {
  background: var(--gray-100);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: 0 16px 48px rgba(10, 26, 58, 0.1);
  border: 1px solid rgba(10, 26, 58, 0.06);
}

.apply-form__heading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 1.5rem;
}

.apply-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.apply-form__field {
  margin-bottom: 1rem;
}

.apply-form__row .apply-form__field {
  margin-bottom: 0;
}

.apply-form__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.45rem;
}

.apply-form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy-800);
  background: var(--white);
  border: 2px solid rgba(249, 115, 22, 0.35);
  border-radius: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.apply-form__input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.apply-form__input::placeholder {
  color: var(--gray-500);
}

.apply-form__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 2px solid rgba(249, 115, 22, 0.35);
  border-radius: 12px;
  padding-left: 0.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.apply-form__phone:focus-within {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.apply-form__flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.apply-form__input--phone {
  border: none;
  box-shadow: none;
  padding-left: 0;
}

.apply-form__input--phone:focus {
  box-shadow: none;
}

.apply-form__terms {
  margin: 1.5rem 0 1.25rem;
}

.apply-form__terms-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.apply-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.apply-form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.apply-form__checkbox-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid var(--orange-500);
  border-radius: 6px;
  background: var(--white);
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.apply-form__checkbox:checked + .apply-form__checkbox-box {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.apply-form__checkbox:checked + .apply-form__checkbox-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--gold-400);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.apply-form__checkbox-text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--gray-500);
}

.apply-form__submit {
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: #0D204B;
  border: 3px solid var(--orange-500);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35);
  transition: box-shadow 0.4s, transform 0.4s var(--ease-out-expo);
  animation: btnLevitate 2.8s ease-in-out infinite;
  will-change: transform;
}

.apply-form__submit:hover {
  box-shadow: 0 14px 48px rgba(249, 115, 22, 0.55);
}

/* Responsive — Beneficios, Requisitos, Solicitud */
@media (max-width: 900px) {
  .benefits__layout,
  .requirements__layout,
  .apply__layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .benefits__layout {
    display: flex;
    flex-direction: column;
  }

  .benefits__card {
    display: contents;
  }

  .benefits__title {
    order: 1;
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .benefits__visual {
    order: 2;
    margin-bottom: 1.5rem;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .benefits__list {
    order: 3;
    background: var(--gray-100);
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(10, 26, 58, 0.06);
    box-shadow: 0 12px 40px rgba(10, 26, 58, 0.08);
  }

  .requirements__visual {
    order: -1;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .apply-form__row {
    grid-template-columns: 1fr;
  }

  .benefits__check {
    bottom: 8px;
    left: 8px;
  }

  .requirements__check {
    bottom: 8px;
    right: 8px;
  }
}

@media (max-width: 480px) {
  .benefits__card,
  .apply-form,
  .benefits__img-wrap,
  .requirements__img-wrap {
    border-radius: 20px;
  }

  .benefits__cta-card {
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
  }

  .benefits__cta-card-icon {
    width: 40px;
    height: 40px;
  }

  .req-group {
    border-radius: 16px;
  }
}

/* ══════════════════════════════════════════════
   BLOQUE — Preguntas Frecuentes
   ══════════════════════════════════════════════ */

.faq {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  overflow: hidden;
}

.faq__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.faq__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.faq__orb--1 {
  width: min(420px, 70vw);
  height: 420px;
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 70%);
  animation: orbDrift 14s ease-in-out infinite;
}

.faq__orb--2 {
  width: min(360px, 60vw);
  height: 360px;
  bottom: -12%;
  left: -6%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  animation: orbDrift 11s ease-in-out infinite reverse;
}

.faq__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.faq__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.faq__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.faq__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.faq__subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.faq__line {
  width: 64px;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--orange-500), var(--gold-400));
  border-radius: 4px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.faq-item.is-open {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: clamp(1.1rem, 2.5vw, 1.35rem) clamp(1.1rem, 3vw, 1.5rem);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-family: var(--font-body);
}

.faq-item__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange-500);
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.faq-item__question {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.45;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange-400);
  transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}

.faq-item__icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out-expo);
}

.faq-item.is-open .faq-item__icon {
  background: var(--orange-500);
  color: var(--white);
}

.faq-item.is-open .faq-item__icon svg {
  transform: rotate(45deg);
}

.faq-item__trigger:hover .faq-item__icon {
  background: rgba(249, 115, 22, 0.3);
}

.faq-item__panel {
  overflow: hidden;
  transition: height 0.45s var(--ease-out-expo);
}

.faq-item__panel[hidden] {
  display: block;
  height: 0;
}

.faq-item__answer {
  padding: 0 clamp(1.1rem, 3vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.5rem);
  padding-left: calc(clamp(1.1rem, 3vw, 1.5rem) + 2.5rem);
  font-size: clamp(0.875rem, 1.8vw, 0.95rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.faq__cta {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.65);
}

.faq__cta-link {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-400);
  border-bottom: 2px solid rgba(249, 115, 22, 0.4);
  transition: color 0.3s, border-color 0.3s;
}

.faq__cta-link:hover {
  color: var(--gold-400);
  border-color: var(--gold-400);
}

.faq-item__wa-link {
  color: var(--orange-400);
  font-weight: 700;
  border-bottom: 1px solid rgba(249, 115, 22, 0.4);
  transition: color 0.3s, border-color 0.3s;
}

.faq-item__wa-link:hover {
  color: var(--gold-400);
  border-color: var(--gold-400);
}

.faq__list .reveal:nth-child(2) { transition-delay: 0.05s; }
.faq__list .reveal:nth-child(3) { transition-delay: 0.1s; }
.faq__list .reveal:nth-child(4) { transition-delay: 0.15s; }
.faq__list .reveal:nth-child(5) { transition-delay: 0.2s; }
.faq__list .reveal:nth-child(6) { transition-delay: 0.25s; }
.faq__list .reveal:nth-child(7) { transition-delay: 0.3s; }
.faq__list .reveal:nth-child(8) { transition-delay: 0.35s; }

/* ══════════════════════════════════════════════
   BLOQUE — Contacto + Cierre
   ══════════════════════════════════════════════ */

.contact-close {
  position: relative;
  padding: clamp(4.5rem, 9vw, 6.5rem) clamp(1.5rem, 5vw, 3rem) clamp(3.5rem, 7vw, 5rem);
  background: var(--navy-950);
  overflow: hidden;
}

.contact-close__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-close__bg-img {
  display: none;
}

.contact-close__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.contact-close__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(249, 115, 22, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, rgba(5, 13, 31, 0.4) 0%, rgba(5, 13, 31, 0.85) 100%);
}

.contact-close__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-close__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.contact-close__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.contact-close__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.contact-close__desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

.contact-close__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease-out-expo);
}

a.contact-channel:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
}

.contact-channel__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-channel__icon svg {
  width: 20px;
  height: 20px;
}

.contact-channel--whatsapp .contact-channel__icon {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
}

.contact-channel--email .contact-channel__icon {
  color: var(--orange-400);
  border-color: rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.08);
}

.contact-channel__content {
  min-width: 0;
}

.contact-channel__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.contact-channel__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.8vw, 0.95rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
  word-break: break-word;
}

.contact-close__panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.contact-close__map-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact-close__map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.contact-close__map-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-close__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange-400);
  transition: color 0.3s;
}

.contact-close__map-link svg {
  width: 14px;
  height: 14px;
}

.contact-close__map-link:hover {
  color: var(--gold-400);
}

.contact-close__map {
  width: 100%;
  flex: 1;
  min-height: clamp(260px, 38vw, 360px);
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.contact-close__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-close__visual {
  position: relative;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
}

.contact-close__img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center top;
}

.contact-close__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 13, 31, 0.75) 100%);
  pointer-events: none;
}

.contact-close__note {
  font-size: clamp(0.8rem, 1.6vw, 0.875rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 0.25rem;
  border-left: 2px solid var(--orange-500);
  padding-left: 1rem;
}

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

.site-footer {
  position: relative;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3rem) clamp(2rem, 4vw, 2.5rem);
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.site-footer__brand {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.25rem);
}

.site-footer__logo-link {
  display: inline-block;
  transition: opacity 0.3s;
}

.site-footer__logo-link:hover {
  opacity: 0.88;
}

.site-footer__logo {
  height: clamp(90px, 16vw, 115px);
  width: auto;
  max-width: min(448px, 85vw);
  object-fit: contain;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.25rem);
}

.site-footer__links li {
  display: flex;
  align-items: center;
}

.site-footer__links li:not(:last-child)::after {
  content: '';
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 clamp(0.75rem, 2vw, 1.25rem);
}

.site-footer__link {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.35rem 0;
  transition: color 0.3s;
}

.site-footer__link:hover {
  color: var(--orange-400);
}

.site-footer__divider {
  width: 100%;
  max-width: 200px;
  height: 1px;
  margin: 0 auto clamp(1.25rem, 2.5vw, 1.75rem);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.site-footer__legal {
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Responsive — FAQ, Contacto, Footer */
@media (max-width: 900px) {
  .contact-close__bg-img {
    display: block;
    position: absolute;
    inset: 0;
    background: url('../assets/images/contacttoc.png') center / cover no-repeat;
  }

  .contact-close__overlay {
    background:
      radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(249, 115, 22, 0.1) 0%, transparent 45%),
      linear-gradient(180deg, rgba(5, 13, 31, 0.72) 0%, rgba(5, 13, 31, 0.9) 100%);
  }

  .contact-close__inner {
    display: flex;
    flex-direction: column;
  }

  .contact-close__header {
    order: 1;
  }

  .contact-close__panel {
    display: contents;
  }

  .contact-close__side {
    display: contents;
  }

  .contact-close__visual {
    order: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 1.25rem;
    min-height: 180px;
  }

  .contact-close__channels {
    order: 3;
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-close__map-block {
    order: 4;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .contact-close__note {
    order: 5;
    max-width: 560px;
    width: 100%;
    margin: 0.75rem auto 0;
  }

  .site-footer__links li:not(:last-child)::after {
    display: none;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .faq-item__answer {
    padding-left: clamp(1.1rem, 3vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  .faq-item {
    border-radius: 14px;
  }

  .faq-item__num {
    display: none;
  }

  .contact-channel {
    border-radius: 10px;
  }

  .contact-close__map-block,
  .contact-close__visual {
    border-radius: 10px;
  }

  .contact-close__map {
    min-height: 240px;
  }
}

/* Espaciado entre bloques — máximo 2 cm (1 cm inferior + 1 cm superior) */
.credit-info,
.purposes,
.about,
.simulator-cta,
.simulator-steps-wrap,
.simulator-calc,
.benefits,
.requirements,
.apply,
.faq,
.contact-close {
  padding-top: 1cm;
  padding-bottom: 1cm;
}

.site-footer {
  padding-top: 1cm;
}

/* ══════════════════════════════════════════════
   PÁGINA — Gracias / Confirmación
   ══════════════════════════════════════════════ */

.thanks-page {
  background: var(--white);
}

.thanks {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 3rem)) clamp(1.5rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4rem);
}

.thanks__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thanks__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.thanks__orb--1 {
  width: min(380px, 70vw);
  height: 380px;
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  animation: orbDrift 13s ease-in-out infinite;
}

.thanks__orb--2 {
  width: min(320px, 60vw);
  height: 320px;
  bottom: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  animation: orbDrift 10s ease-in-out infinite reverse;
}

.thanks__grain {
  display: none;
}

.thanks__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.thanks__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 24px 64px rgba(10, 26, 58, 0.22);
}

.thanks__card-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.thanks__card-content {
  position: relative;
  z-index: 1;
}

.thanks__bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.thanks__bubble--1 {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -20px;
  animation: thanksBubbleFloat 9s ease-in-out infinite;
}

.thanks__bubble--2 {
  width: 64px;
  height: 64px;
  bottom: 18%;
  left: 6%;
  animation: thanksBubbleFloat 7s ease-in-out infinite reverse;
  animation-delay: 0.5s;
}

.thanks__bubble--3 {
  width: 40px;
  height: 40px;
  top: 42%;
  right: 10%;
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.2);
  animation: thanksBubbleFloat 6s ease-in-out infinite;
  animation-delay: 1s;
}

.thanks__bubble--4 {
  width: 28px;
  height: 28px;
  top: 20%;
  left: 12%;
  animation: thanksBubbleFloat 5s ease-in-out infinite reverse;
  animation-delay: 1.5s;
}

.thanks__shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thanks__shape--ring {
  width: 90px;
  height: 90px;
  top: 12%;
  right: 18%;
  border-radius: 50%;
  border-width: 2px;
  border-color: rgba(37, 99, 235, 0.35);
  animation: thanksShapeSpin 18s linear infinite;
}

.thanks__shape--square {
  width: 36px;
  height: 36px;
  bottom: 22%;
  right: 8%;
  border-color: rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.06);
  animation: thanksShapeSpin 14s linear infinite reverse;
}

.thanks__shape--diamond {
  width: 24px;
  height: 24px;
  top: 58%;
  left: 8%;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
  transform: rotate(45deg);
  animation: thanksDiamondPulse 4s ease-in-out infinite;
}

.thanks__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform-origin: center;
}

.thanks__line--1 {
  width: 140px;
  top: 28%;
  left: -20px;
  animation: thanksLineSlide 8s ease-in-out infinite;
}

.thanks__line--2 {
  width: 100px;
  bottom: 35%;
  right: -10px;
  animation: thanksLineSlide 10s ease-in-out infinite reverse;
  animation-delay: 1s;
}

.thanks__line--3 {
  width: 80px;
  top: 70%;
  left: 20%;
  --line-rotate: -35deg;
  animation: thanksLineSlide 7s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes thanksBubbleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50%      { transform: translate(12px, -18px) scale(1.08); opacity: 1; }
}

@keyframes thanksShapeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes thanksDiamondPulse {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.6; }
  50%      { transform: rotate(45deg) scale(1.2); opacity: 1; }
}

@keyframes thanksLineSlide {
  0%, 100% { transform: translateX(0) rotate(var(--line-rotate, 0deg)); opacity: 0.3; }
  50%      { transform: translateX(24px) rotate(var(--line-rotate, 0deg)); opacity: 0.85; }
}

.thanks__icon-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange-500), var(--gold-400));
  box-shadow: 0 12px 36px rgba(249, 115, 22, 0.35);
  animation: stepBadgePulse 3s ease-in-out infinite;
}

.thanks__icon {
  width: 44px;
  height: 44px;
  color: var(--navy-900);
}

.thanks__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.thanks__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.35rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.thanks__text {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.thanks__text strong {
  color: var(--white);
  font-weight: 700;
}

.thanks__steps {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  padding: 0;
  list-style: none;
  text-align: left;
}

.thanks__step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thanks__step--active {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
}

.thanks__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.thanks__step--active .thanks__step-num {
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--orange-500), var(--gold-400));
  border-color: transparent;
}

.thanks__step-label {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.thanks__step--active .thanks__step-label {
  color: var(--white);
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.thanks__actions .btn-cta {
  flex: 1 1 auto;
  min-width: min(100%, 220px);
  justify-content: center;
}

.thanks__actions .btn-cta--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  box-shadow: 0 2px 16px rgba(255, 255, 255, 0.06);
}

.thanks__actions .btn-cta--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

@media (max-width: 480px) {
  .thanks__card {
    border-radius: 20px;
    padding: 2rem 1.35rem;
  }

  .thanks__actions {
    flex-direction: column;
  }

  .thanks__actions .btn-cta {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════
   FORMULARIO — Overlay de carga
   ══════════════════════════════════════════════ */

.form-loading {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 13, 31, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.form-loading[hidden] {
  display: none;
}

.form-loading__box {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  min-width: min(100%, 280px);
}

.form-loading__spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border: 4px solid rgba(10, 26, 58, 0.12);
  border-top-color: var(--orange-500);
  border-radius: 50%;
  animation: formLoadingSpin 0.8s linear infinite;
}

@keyframes formLoadingSpin {
  to { transform: rotate(360deg); }
}

.form-loading__text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}
