/* ============================================================
   MYM CRÉDITOS — Design System
   Paleta: Negro profundo + Dorado (#C9A84C / #F0C040)
   Tipografía: Outfit (headings) + Inter (body)
   ============================================================ */

/* Fonts: cargadas via <link> en cada HTML para evitar render-blocking */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-card: #1a1a1a;
  --dark-border: #2a2a2a;
  --gold: #C9A84C;
  --gold-light: #F0C040;
  --gold-bright: #FFD966;
  --gold-dim: #8a6f2e;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #b0b0b0;
  --gray-500: #6b6b6b;
  --success: #22c55e;
  --error: #ef4444;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Typography ────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

/* ── Utilities ─────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gold {
  color: var(--gold);
}

.gold-bright {
  color: var(--gold-bright);
}

.text-center {
  text-align: center;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black) !important;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-bright));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold) !important;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black) !important;
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.15rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  padding: 0.9rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrap img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--gold);
}

.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--gold);
}

/* Fix específico para que los botones mantengan su color aunque estén dentro del nav */
.header-nav a.btn-gold {
  color: var(--black);
}

.header-nav a.btn-gold:hover {
  color: var(--black);
}

.header-nav a.btn-outline {
  color: var(--gold);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 50%, transparent 100%),
    url('img/fondo-hero-desktop.webp?v=2');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-layout-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-side-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: 3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.trust-laurel-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.laurel-img-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.laurel-img-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.3));
  opacity: 0;
}

.laurel-half-l {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  transform-origin: bottom center;
}

.laurel-half-r {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  transform-origin: bottom center;
}

.hero-side-panel.visible .laurel-half-l {
  animation: laurelLeftOpen 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-side-panel.visible .laurel-half-r {
  animation: laurelRightOpen 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(2) .laurel-half-l {
  animation: laurelLeftOpenMid 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(2) .laurel-half-r {
  animation: laurelRightOpenMid 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(1) img {
  animation-delay: 0.1s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(2) img {
  animation-delay: 0.3s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(3) img {
  animation-delay: 0.5s;
}

@keyframes laurelLeftOpen {
  0% {
    transform: translateX(15px) rotate(15deg);
    opacity: 0;
  }

  100% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
}

@keyframes laurelRightOpen {
  0% {
    transform: translateX(-15px) rotate(-15deg);
    opacity: 0;
  }

  100% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
}

@keyframes laurelLeftOpenMid {
  0% {
    transform: translateX(15px) rotate(15deg);
    opacity: 0;
  }

  100% {
    transform: translateX(-10px) rotate(0);
    opacity: 1;
  }
}

@keyframes laurelRightOpenMid {
  0% {
    transform: translateX(-15px) rotate(-15deg);
    opacity: 0;
  }

  100% {
    transform: translateX(10px) rotate(0);
    opacity: 1;
  }
}

.laurel-number {
  position: relative;
  z-index: 1;
  font-size: 2.6rem;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #e8c96a, #a6842e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  transform: translateY(-2px);
}

.laurel-text {
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.laurel-number,
.laurel-text {
  opacity: 0;
}

.hero-side-panel.visible .laurel-number,
.hero-side-panel.visible .laurel-text {
  animation: fadeNumber 0.5s ease forwards;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(1) .laurel-number {
  animation-delay: 0.4s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(1) .laurel-text {
  animation-delay: 0.5s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(2) .laurel-number {
  animation-delay: 0.6s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(2) .laurel-text {
  animation-delay: 0.7s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(3) .laurel-number {
  animation-delay: 0.8s;
}

.hero-side-panel.visible .trust-laurel-mini:nth-child(3) .laurel-text {
  animation-delay: 0.9s;
}

@keyframes fadeNumber {
  to {
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .hero-layout-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .hero-side-panel {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-right: 0;
    padding-top: 2rem;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-bg {
    background-image:
      linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 100%),
      url('img/fondo-hero-mobile.webp');
    background-position: center bottom;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stat {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero-stat-item .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.hero-stat-item .lbl {
  font-size: 0.8rem;
  color: #f1f1f1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-deco {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  opacity: 0.07;
  pointer-events: none;
}

.section-deco {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* ── Section commons ───────────────────────────────────── */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section .container {
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--gray-300);
  font-size: 1rem;
  max-width: 560px;
}

.parallax-section {
  background-color: #111;
  background-image:
    linear-gradient(to bottom, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.8) 50%, rgba(14, 14, 14, 0.95) 100%),
    url('img/fondo-parallax-desktop.webp');
  background-size: cover;
  background-position: center;
  background-position: center 50%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: visible !important;
}

/* ── Simulator Section ─────────────────────────────────── */
#simulator {
  background: var(--dark);
}

.simulator-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}

.sim-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
}

.sim-card h3 {
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.sim-field {
  margin-bottom: 1.6rem;
}

.sim-field label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.6rem;
}

.sim-field label .val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-light);
}

/* Range slider */
input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: var(--dark-border);
  border-radius: 999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.cuotas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cuota-btn {
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--dark-border);
  background: transparent;
  color: var(--gray-300);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.cuota-btn:hover,
.cuota-btn.active {
  border-color: var(--gold);
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* Result card */
.sim-result {
  background: linear-gradient(145deg, #1c1600, #1a1a0a);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-gold), var(--shadow-card);
  position: sticky;
  top: 90px;
}

.sim-result-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.result-row:last-child {
  border-bottom: none;
}

.result-row .rlabel {
  font-size: 0.88rem;
  color: var(--gray-300);
}

.result-row .rvalue {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.result-row.highlight .rvalue {
  font-size: 1.5rem;
  color: var(--gold);
}

.result-disclaimer {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  color: var(--gray-500);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.sim-result .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ── How It Works ──────────────────────────────────────── */
#como-funciona {
  background-color: var(--black);
  /* OJO: usar 'background-color' (no 'background' shorthand)
     porque shorthand resetea background-image a none y
     pisa la imagen de .parallax-section en desktop */
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(16.6% + 1.5rem);
  right: calc(16.6% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
  opacity: 0.3;
}

.step-card {
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.step-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.95rem;
  color: #d8d8d8;
}

.step-card h3 {
  color: #ffffff;
}

/* ── Requisitos / Info strip ───────────────────────────── */

.req-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Shared Card Glass */
.card-glass {
  background: rgba(14, 14, 14, 0.7);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 10px rgba(201, 168, 76, 0.05);
}

.card-glass:hover {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.1), inset 0 0 15px rgba(201, 168, 76, 0.08);
}

.req-item {
  display: flex;
  align-items: center;
  /* Center align horizontally like standard cards */
  gap: 1.2rem;
  padding: 1.2rem;
  transition: var(--transition);
  flex: 1 1 300px;
  max-width: 380px;
}

.req-icon-ring {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.req-icon-ring svg {
  width: 26px;
  height: 26px;
}

.req-text {
  flex: 1;
}

.req-text h3 {
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.req-text strong {
  color: var(--white);
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.req-text p {
  color: var(--gray-300);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--dark-border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-gold {
  color: var(--gold);
  font-weight: 600;
}

/* ── FORM PAGE ─────────────────────────────────────────── */
.form-page {
  min-height: 100vh;
  background: var(--black);
  padding-bottom: 4rem;
}

/* Progress bar */
.progress-bar-wrap {
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  padding: 1.2rem 0;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.ps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  position: relative;
}

.ps-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--dark-border);
  z-index: 0;
}

.ps-item.done:not(:last-child)::after {
  background: var(--gold-dim);
}

.ps-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark-border);
  border: 2px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.ps-item.active .ps-circle {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
  color: var(--black);
}

.ps-item.done .ps-circle {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: var(--black);
}

.ps-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

.ps-item.active .ps-label {
  color: var(--gold);
}

/* Form container */
.form-container {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.form-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.form-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 0.45rem;
  letter-spacing: 0.2px;
}

.form-group .optional {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  padding: 0.72rem 1rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-control::placeholder {
  color: var(--gray-500);
}

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-control option {
  background: #1a1a1a;
  color: #fff;
}

.form-control.invalid {
  border-color: var(--error);
}

.error-msg {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.35rem;
  display: none;
}

.form-control.invalid+.error-msg {
  display: block;
}

/* File upload */
.file-upload {
  position: relative;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 2px dashed var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.file-label:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}

.file-label.has-file {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 76, 0.06);
}

.file-label .icon {
  font-size: 2rem;
}

.file-label .main-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-300);
}

.file-label .sub-text {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.file-label .file-name {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  word-break: break-all;
}

input[type="file"] {
  display: none;
}

.file-preview {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  border: 1px solid var(--dark-border);
  display: none;
}

/* Loan summary strip */
.loan-summary {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(240, 192, 64, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.ls-item {
  text-align: center;
}

.ls-item .lsv {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
  display: block;
}

.ls-item .lsl {
  font-size: 0.73rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lead-intake-note {
  display: grid;
  gap: 0.25rem;
  margin: -0.4rem 0 1.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gray-300);
  font-size: 0.9rem;
}

.lead-intake-note strong {
  color: var(--gold-bright);
  font-family: 'Outfit', sans-serif;
}

.doc-privacy-note {
  margin: -0.5rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: var(--gray-300);
  font-size: 0.84rem;
  line-height: 1.55;
}

.form-step-panel[hidden] {
  display: none !important;
}

.form-step-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.2rem 0;
  flex-wrap: wrap;
}

.form-step-actions--between {
  margin: 1.5rem 0 0.25rem;
}

/* Submit area */
.form-submit-area {
  text-align: center;
  margin-top: 1rem;
}

.form-submit-area .btn {
  min-width: 260px;
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem;
}

.form-submit-area .privacy {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.8rem;
}

/* Success screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
}

.success-screen.show {
  display: block;
}

.success-screen .checkmark {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
  from {
    transform: scale(0) rotate(-10deg);
  }

  to {
    transform: scale(1) rotate(0);
  }
}

.success-screen h2 {
  margin-bottom: 0.8rem;
}

.success-screen p {
  color: var(--gray-300);
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* ── FAQ ────────────────────────────────────────────────── */
#faq {
  position: relative;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0.9) 100%),
    url('img/fondo-tablet.webp');
  background-size: cover;
  background-position: center;
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.5rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover,
.faq-question.active {
  color: var(--gold);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1rem;
}

.faq-answer p {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ── Animations ────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .simulator-wrap {
    grid-template-columns: 1fr;
  }

  .sim-result {
    position: static;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .header-nav .btn-outline {
    display: none;
  }
}

/* ── Hamburger button ─────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    font-size: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .header-nav .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .header-nav .btn-outline {
    display: inline-flex !important;
  }

  .site-header {
    position: sticky;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }

  .hero-bg {
    background:
      linear-gradient(to bottom, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.75) 50%, rgba(10, 10, 10, 0.95) 100%),
      url('img/fondo-hero-mobile.webp?v=1');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stat {
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
  }

  .hero-stat-item .num {
    font-size: 1.5rem;
  }

  .hero-stat-item .lbl {
    font-size: 0.7rem;
  }

  /* Ocultar decoraciones que causan overflow */
  .hero-deco,
  .section-deco {
    display: none;
  }

  .logo-wrap img {
    height: 36px;
  }

  /* Secciones */
  .section {
    padding: 3rem 0;
  }

  .section-sub {
    font-size: 0.9rem;
  }

  /* Simulador */
  .sim-card {
    padding: 1.5rem;
  }

  .sim-result {
    padding: 1.5rem;
  }

  .cuotas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .cuota-btn {
    padding: 0.45rem;
    font-size: 0.82rem;
  }

  /* Steps */
  .step-card {
    padding: 1.5rem 1.2rem;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .form-submit-area .btn {
    min-width: auto;
    width: 100%;
  }

  /* FAQ Background Mobile */
  #faq {
    background:
      linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0.9) 100%),
      url('img/ChatGPT Image Apr 30, 2026, 10_10_51 AM.png');
    background-size: cover;
    background-position: center;
  }

}

/* ── Global Tablet & Mobile Breakpoint (<= 1024px) ── */
@media (max-width: 1024px) {
  .simulator-wrap {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .steps-grid {
    grid-template-columns: 1fr !important;
  }

  .steps-grid::before {
    display: none !important;
  }

  .footer-inner {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2rem !important;
  }

  .footer-col {
    width: 100% !important;
    align-items: center !important;
  }

  .footer-col>div,
  .footer-col>a,
  .footer-col>span {
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ── Schedule chips (horarios) ─────────────────────────── */
.schedule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sched-chip {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sched-chip input[type="radio"] {
  display: none;
}

.sched-chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gray-300);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  user-select: none;
  white-space: nowrap;
}

.sched-chip input:checked+span {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.3);
}

.sched-chip:hover span {
  border-color: var(--gold-dim);
  color: var(--white);
}

.invalid-picker .sched-chip span {
  border-color: var(--error);
}

/* ── Overrides Tablet ── */
@media (max-width: 1024px) {
  .hero-bg {
    background:
      linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 50%, rgba(10, 10, 10, 0.8) 100%),
      url('img/fondo-hero-desktop.webp?v=1');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .parallax-section {
    background-image: url('img/fondo-parallax-desktop.webp?v=1') !important;
    background-size: cover !important;
    background-position: center 50% !important;
    background-attachment: scroll !important;
  }
}

/* ── Overrides Mobile ── */
@media (max-width: 600px) {
  .hero-bg {
    background:
      linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 50%, rgba(10, 10, 10, 0.8) 100%),
      url('img/fondo-hero-mobile.webp?v=1');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .parallax-section {
    background-image: url('img/fondo-parallax-desktop.webp?v=1') !important;
    background-size: cover !important;
    background-position: center 50% !important;
    background-attachment: scroll !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   PARALLAX & DEPTH EFFECTS
   ═══════════════════════════════════════════════════════════ */

/* ── Floating Orbs ──────────────────────────────────────── */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
}

.hero-orb:nth-child(1) {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -60px;
}

.hero-orb:nth-child(2) {
  width: 260px;
  height: 260px;
  right: 28%;
  bottom: 8%;
}

.hero-orb:nth-child(3) {
  width: 190px;
  height: 190px;
  left: 58%;
  top: 38%;
}

.hero-orb--sm {
  width: 130px;
  height: 130px;
  right: 14%;
  top: 62%;
  background: radial-gradient(circle, rgba(255, 217, 102, 0.12) 0%, transparent 70%);
}

/* ── GPU hints para capas parallax ─────────────────────── */
.hero-bg,
.hero-grid-lines {
  will-change: transform;
}

/* ── Step-card 3D tilt ──────────────────────────────────── */
.step-card {
  transition: box-shadow 0.4s ease;
}

/* ── Reducción de movimiento (accesibilidad) ────────────── */
@media (prefers-reduced-motion: reduce) {

  .hero-bg,
  .hero-grid-lines,
  .hero-orb,
  .hero-content,
  .step-card {
    will-change: auto !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   TIER 1: PROFESSIONAL TOUCHES
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Scroll Progress Bar ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(10, 10, 10, 0.4);
  z-index: 9999;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold-light));
  background-size: 200% 100%;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
  transition: width 0.05s linear;
  animation: progressShimmer 3s linear infinite;
}

@keyframes progressShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── 2. Header transparent → solid ──────────────────────── */
.site-header {
  background: rgba(10, 10, 10, 0.4) !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(16px);
  border-bottom-color: var(--dark-border);
  padding: 0.7rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── 3. Active section indicator (nav links) ────────────── */
.header-nav a {
  position: relative;
}

.header-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.header-nav a:not(.btn):hover::after,
.header-nav a:not(.btn).active::after {
  width: 100%;
  left: 0;
}

.header-nav a:not(.btn).active {
  color: var(--gold);
}

/* ── 4. Magnetic buttons + Glow CTA ─────────────────────── */
.btn-lg {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* CTA principal con glow pulsante dorado */
.hero-cta .btn-gold.btn-lg {
  position: relative;
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.6),
    0 8px 24px rgba(201, 168, 76, 0.25);
  animation: ctaGlow 2.6s ease-in-out infinite;
}

@keyframes ctaGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.5),
      0 8px 24px rgba(201, 168, 76, 0.25);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(201, 168, 76, 0),
      0 12px 32px rgba(201, 168, 76, 0.5);
  }
}

.hero-cta .btn-gold.btn-lg:hover {
  animation-play-state: paused;
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.2),
    0 16px 40px rgba(201, 168, 76, 0.55);
}

/* Border draw effect en hover */
.btn-outline.btn-lg {
  position: relative;
  overflow: hidden;
}

.btn-outline.btn-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(120deg, transparent, var(--gold-bright), transparent);
  background-size: 200% 200%;
  background-position: -100% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background-position 0.6s ease;
  pointer-events: none;
}

.btn-outline.btn-lg:hover::before {
  background-position: 100% 0;
}

/* ── 5. WhatsApp Floating Button ────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4),
    0 0 0 0 rgba(201, 168, 76, 0.6);
  z-index: 9998;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  animation: whatsappGlow 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  animation-play-state: paused;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6),
    0 0 0 8px rgba(201, 168, 76, 0.25);
}

.whatsapp-float .whatsapp-icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}

.whatsapp-float .whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappGlow {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(201, 168, 76, 0.6);
  }

  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55),
      0 0 0 14px rgba(201, 168, 76, 0);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  80% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ── Mobile: WhatsApp más chico ─────────────────────────── */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-float .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

/* ── Reduced motion: desactivar animaciones del Tier 1 ─── */
@media (prefers-reduced-motion: reduce) {

  .scroll-progress-fill,
  .hero-cta .btn-gold.btn-lg,
  .whatsapp-float,
  .whatsapp-pulse,
  .btn-outline.btn-lg::before {
    animation: none !important;
    transition: none !important;
  }
}

/* Footer Backgrounds */
.site-footer {
  background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95)), url('img/fondo_proyeccion.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1024px) {
  .site-footer {
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95)), url('img/fondo_proyeccion.webp');
  }
}

@media (max-width: 768px) {
  .site-footer {
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95)), url('img/fondo_proyeccion.webp');
  }
}