/* ============================================================
   tuKaseta Landing Page — styles.css
   ============================================================ */

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --c-midnight:  #0D1F3C;
  --c-gold:      #C9A84C;
  --c-gold-soft: #E2C170;
  --c-black:     #0A0A0A;
  --c-pearl:     #F4F6F9;
  --c-steel:     #1E3A5F;
  --c-deep-blue: #162D52;
  --c-neutral:   #6B7280;
  --c-light:     #E8ECF2;
  --c-white:     #FFFFFF;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-ui:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 76px;
  --container: 1240px;
  --radius-card: 16px;
  --radius-btn:  8px;
  --shadow-card: 0 8px 32px rgba(13, 31, 60, 0.08);
  --shadow-card-hover: 0 24px 56px rgba(13, 31, 60, 0.16);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.3);
}

/* ── 2. RESET + BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-ui);
  color: var(--c-midnight);
  background: var(--c-white);
  overflow-x: hidden;
  cursor: none;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: var(--f-ui); }

/* ── 3. TIPOGRAFÍA ────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-family: var(--f-ui); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
em { font-style: italic; color: var(--c-gold); }
p { font-size: 1rem; line-height: 1.7; color: var(--c-neutral); }

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
section { position: relative; }

/* ── 5. CURSOR PERSONALIZADO ──────────────────────────────── */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--c-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: normal;
}
#cursor-follower {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-smooth), height 0.35s var(--ease-smooth), border-color 0.3s, opacity 0.3s;
}
body.cursor-hover #cursor { width: 14px; height: 14px; background: var(--c-gold-soft); }
body.cursor-hover #cursor-follower { width: 56px; height: 56px; border-color: rgba(201,168,76,0.7); }
body.cursor-on-img #cursor-follower { width: 60px; height: 60px; background: rgba(201,168,76,0.12); }

/* ── 6. COMPONENTES REUTILIZABLES ─────────────────────────── */

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--f-ui);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 0.875rem 1.75rem;
  cursor: none;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s var(--ease-smooth), background 0.2s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.btn-gold {
  background: var(--c-gold);
  color: var(--c-midnight);
}
.btn-gold:hover {
  background: var(--c-gold-soft);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
  transform: translateY(-2px);
}
.btn-lg  { font-size: 1rem;    padding: 1rem 2rem; }
.btn-xl  { font-size: 1.125rem; padding: 1.125rem 2.5rem; border-radius: 10px; }

/* Accent bar */
.accent-bar {
  width: 36px;
  height: 3px;
  background: var(--c-gold);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.accent-bar--center { margin-left: auto; margin-right: auto; }

/* Section divider */
.section-divider {
  width: 32px;
  height: 2px;
  background: var(--c-midnight);
  margin: 0 auto 1.5rem;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-number {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-neutral);
  margin-bottom: 1rem;
}
.section-number--light { color: rgba(13,31,60,0.35); }
.section-header .accent-bar { margin: 0 auto 1.25rem; }
.section-header h2 { max-width: 640px; margin: 0 auto; }

/* ── 7. ANIMACIONES DE REVEAL ─────────────────────────────── */
/* GSAP maneja todas las animaciones de entrada vía ScrollTrigger.
   Los estados iniciales (opacity:0) los setea GSAP inline,
   no el CSS, para evitar que secciones queden ocultas sin JS. */
.gsap-hidden {
  opacity: 0;
  transform: translateY(40px);
}

/* ── 8. HEADER / NAV ──────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s var(--ease-in-out), box-shadow 0.35s var(--ease-in-out), backdrop-filter 0.35s;
}
#site-header.scrolled {
  background: rgba(13, 31, 60, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
#site-header.scrolled .logo-dark { opacity: 1; }
#site-header.scrolled .logo-light { opacity: 0; }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.nav-logo {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 44px;
}
.logo-img {
  height: 44px;
  width: auto;
  transition: opacity 0.3s;
}
.logo-dark  { position: relative; display: block; }
.logo-light { position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--c-gold);
  border-radius: 1px;
  transition: left 0.3s var(--ease-smooth), right 0.3s var(--ease-smooth);
}
.nav-links a:hover { color: var(--c-white); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-cta { font-size: 0.875rem; padding: 0.625rem 1.375rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-midnight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--c-gold); }
.mobile-menu .btn-gold { font-size: 1rem; padding: 0.875rem 2rem; color: var(--c-midnight); }

/* ── 9. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--c-midnight);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--nav-h);
}
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 31, 60, 0.92) 0%,
    rgba(13, 31, 60, 0.75) 50%,
    rgba(13, 31, 60, 0.55) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.25rem, 4vw, 3rem);
  width: 100%;
  gap: 4rem;
}
.hero-text { flex: 1; max-width: 580px; }
.hero-headline {
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  color: var(--c-gold);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-device-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
/* Phone mockup carousel */
.phone-mockup {
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.55));
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50%       { transform: translateY(-16px) rotate(1.5deg); }
}
.phone-frame {
  width: clamp(200px, 24vw, 300px);
  background: #0a0a0a;
  border-radius: 44px;
  padding: 14px 10px 20px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 1px rgba(0,0,0,0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.phone-notch {
  width: 90px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 2px solid rgba(255,255,255,0.08);
  border-top: none;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: 32px;
  overflow: hidden;
  background: #111;
  position: relative;
}
.screen-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.screen-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.screen-slide.active {
  opacity: 1;
}
.phone-home-bar {
  width: 100px;
  height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  margin-top: 2px;
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 3rem;
  text-align: center;
}
.stat-number {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-dot {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  animation: bounce-dot 1.8s ease-in-out infinite;
}
@keyframes bounce-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.5; }
}

/* ── 10. TAGLINE ──────────────────────────────────────────── */
.tagline-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-midnight);
  position: relative;
  overflow: hidden;
}
.tagline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.tagline-section > * { position: relative; z-index: 1; }
.tagline-section .section-divider { background: var(--c-gold); }
.tagline-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.tagline-quote {
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  quotes: none;
}
.tagline-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* ── 11. BENEFICIOS ───────────────────────────────────────── */
.benefits-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-pearl);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
  transform-style: preserve-3d;
  will-change: transform;
}
.benefit-card:hover {
  box-shadow: var(--shadow-card-hover);
}
.benefit-card--featured {
  background: var(--c-midnight);
  border: 1px solid rgba(201,168,76,0.3);
}
.benefit-card--featured h3,
.benefit-card--featured p { color: rgba(255,255,255,0.9); }
.benefit-card--featured .benefit-list li { color: rgba(255,255,255,0.7); }
.benefit-card--featured .benefit-list li::before { background: var(--c-gold); }
.benefit-icon { margin-bottom: 1.5rem; }
.benefit-card h3 { margin-bottom: 0.75rem; color: var(--c-midnight); }
.benefit-card p  { font-size: 0.9375rem; margin-bottom: 1.5rem; }
.benefit-list { display: flex; flex-direction: column; gap: 0.5rem; }
.benefit-list li {
  font-size: 0.875rem;
  color: var(--c-neutral);
  padding-left: 1.25rem;
  position: relative;
}
.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
}

/* ── 12. CÓMO FUNCIONA ────────────────────────────────────── */
.howto-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-white);
}
.howto-steps { display: flex; flex-direction: column; gap: 5rem; }
.howto-step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: center;
  gap: 2rem 3rem;
  position: relative;
}
.howto-step--reverse { grid-template-columns: 1fr 1fr 80px; }
.howto-step--reverse .step-num    { order: 3; text-align: right; }
.howto-step--reverse .step-img-wrap { order: 2; }
.howto-step--reverse .step-content  { order: 1; }
.step-num {
  font-family: var(--f-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--c-light);
  line-height: 1;
  user-select: none;
}
.step-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  aspect-ratio: 4/3;
}
.step-img { width: 100%; height: 100%; object-fit: cover; }
.step-content h3 { margin-bottom: 1rem; color: var(--c-midnight); }
.step-content p  { font-size: 1.0625rem; }

/* ── 13. APP EN ACCIÓN ────────────────────────────────────── */
.app-section {
  background: var(--c-pearl);
  overflow: hidden;
  position: relative;
}
.app-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.app-section > * { position: relative; z-index: 1; }
.app-section-header {
  padding: clamp(4rem, 6vw, 6rem) 0 3rem;
  text-align: center;
}
.app-section-header h2  { color: var(--c-midnight); margin-bottom: 1rem; }
.app-section-sub {
  color: var(--c-neutral);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
}
/* Magazine gallery — 3 columnas asimétricas */
.app-magazine {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  grid-template-rows: 480px;
  gap: 0.875rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 0;
}
.app-mag-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.875rem;
}
.app-mag-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: none;
}
.app-mag-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-smooth);
}
.app-mag-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(13,31,60,0.88));
  color: rgba(255,255,255,0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}
.app-mag-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Features ticker */
.app-features-scroll {
  overflow: hidden;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(13,31,60,0.1);
  margin-top: 3rem;
}
.features-track {
  display: flex;
  gap: 1rem;
  animation: ticker 28s linear infinite;
  width: max-content;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.feature-pill {
  flex-shrink: 0;
  background: var(--c-white);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--c-midnight);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13,31,60,0.06);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature-pill:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--c-gold);
  box-shadow: 0 4px 12px rgba(201,168,76,0.15);
}

/* ── 14. LEAD MAGNET ──────────────────────────────────────── */
.leadmagnet-section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-midnight);
  overflow: hidden;
}
.leadmagnet-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(1);
}
.leadmagnet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,31,60,0.92) 0%, rgba(10,24,48,0.88) 100%);
}
.leadmagnet-card {
  position: relative;
  background: var(--c-white);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card-hover);
  text-align: center;
}
.leadmagnet-badge {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-midnight);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.leadmagnet-card h2 { color: var(--c-midnight); margin-bottom: 0.75rem; }
.leadmagnet-sub { font-size: 1.0625rem; max-width: 480px; margin: 0 auto 2.5rem; }
.leadmagnet-form { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: left;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-midnight);
}
.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--c-light);
  border-radius: var(--radius-btn);
  font-family: var(--f-ui);
  font-size: 0.9375rem;
  color: var(--c-midnight);
  background: var(--c-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  cursor: none;
}
.form-group input:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group input.error { border-color: #E53E3E; }
.form-disclaimer { font-size: 0.8125rem; color: var(--c-neutral); margin-top: -0.25rem; }

/* Success state */
.leadmagnet-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fade-in-up 0.5s var(--ease-smooth) forwards;
}
.leadmagnet-success.show { display: flex; }
.success-icon {
  width: 64px; height: 64px;
  background: var(--c-gold);
  color: var(--c-midnight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}
.leadmagnet-success h3 { font-family: var(--f-display); color: var(--c-midnight); }
.leadmagnet-success p  { color: var(--c-neutral); }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 15. MANIFESTO OSCURO ─────────────────────────────────── */
.manifesto-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: linear-gradient(160deg, #06101e 0%, #0a1a32 50%, #081526 100%);
  overflow: hidden;
}
.manifesto-inner {
  text-align: center;
  position: relative;
}
.manifesto-decoration {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}
.manifesto-quote {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.35;
  max-width: 760px;
  margin: 2rem auto 1.5rem;
  quotes: none;
}
.manifesto-quote em { color: var(--c-gold); font-style: italic; }
.manifesto-author {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

/* ── 16. PARA QUIÉN ───────────────────────────────────────── */
.forwho-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-white);
}
.forwho-section .section-header h2 {
  color: var(--c-midnight);
}
.forwho-section .section-header h2 em {
  color: var(--c-gold);
  font-style: italic;
  -webkit-text-stroke: 0.5px var(--c-gold);
}
.forwho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.forwho-card {
  background: var(--c-white);
  border: 1px solid var(--c-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s var(--ease-smooth);
  transform-style: preserve-3d;
  will-change: transform;
}
.forwho-card:hover { box-shadow: var(--shadow-card-hover); }
.forwho-img-wrap {
  aspect-ratio: 3/2;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.forwho-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.forwho-card:hover .forwho-img-wrap img { transform: scale(1.06); }
.forwho-content { padding: 1.75rem; }
.forwho-badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--c-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(201,168,76,0.3);
}
.forwho-content h3 { color: var(--c-midnight); margin-bottom: 0.625rem; font-size: 1.1875rem; }
.forwho-content p  { font-size: 0.9375rem; margin-bottom: 1.25rem; }
.forwho-list { display: flex; flex-direction: column; gap: 0.4rem; }
.forwho-list li {
  font-size: 0.875rem;
  color: var(--c-neutral);
  padding-left: 1.25rem;
  position: relative;
}
.forwho-list li::before {
  content: ''; position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
}

/* ── 17. TESTIMONIOS ──────────────────────────────────────── */
.testimonials-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-pearl);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  will-change: transform;
}
.testimonial-card--featured {
  background: var(--c-midnight);
  border: 1px solid rgba(201,168,76,0.3);
}
.testimonial-stars {
  color: var(--c-gold);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-midnight);
  quotes: none;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-deep-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9375rem; color: var(--c-midnight); }
.testimonial-author span   { font-size: 0.8125rem; color: var(--c-neutral); }
.testimonial-card--featured blockquote { color: rgba(255,255,255,0.9); }
.testimonial-card--featured .testimonial-author strong { color: var(--c-white); }
.testimonial-card--featured .testimonial-author span   { color: rgba(255,255,255,0.5); }

/* ── 18. CTA FINAL ────────────────────────────────────────── */
.ctafinal-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--c-midnight);
  overflow: hidden;
  text-align: center;
}
.ctafinal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(30,58,95,0.5) 0%, transparent 70%);
}
.ctafinal-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.ctafinal-section h2 { color: var(--c-white); margin-bottom: 1.25rem; }
.ctafinal-sub { font-size: 1.0625rem; color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto 2.5rem; }
.ctafinal-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.ctafinal-contact { font-size: 0.9375rem; color: rgba(255,255,255,0.5); }
.ctafinal-contact a { color: var(--c-gold); transition: color 0.2s; }
.ctafinal-contact a:hover { color: var(--c-gold-soft); }

/* ── 19. FOOTER ───────────────────────────────────────────── */
.site-footer { background: var(--c-black); }
.footer-top { padding: clamp(3rem, 6vw, 5rem) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--f-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 0.75rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease-bounce);
}
.social-link:hover {
  background: var(--c-gold);
  color: var(--c-midnight);
  transform: translateY(-3px);
}
.footer-nav h4 { color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: 0.9375rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-nav a:hover { color: var(--c-gold); }
.footer-contact h4 { color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-email {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--c-gold);
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--c-gold-soft); }
.footer-compliance {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--c-gold); }

/* ── 20. RESPONSIVE ───────────────────────────────────────── */

/* Tablet: 641–1024px */
@media (max-width: 1024px) {
  .benefits-grid   { grid-template-columns: repeat(2, 1fr); }
  .forwho-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .howto-step,
  .howto-step--reverse {
    grid-template-columns: 1fr 1fr;
  }
  .howto-step .step-num,
  .howto-step--reverse .step-num { display: none; }
  .howto-step--reverse .step-img-wrap { order: 1; }
  .howto-step--reverse .step-content  { order: 2; }
  .howto-step--reverse .step-num      { order: 3; }
  .app-magazine { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px; }
  .app-mag-item--tall:last-child { grid-column: span 2; grid-row: auto; }
}

/* Mobile: ≤640px */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  body { cursor: auto; }
  #cursor, #cursor-follower { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.25rem;
    gap: 2.5rem;
  }
  .hero-text { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .phone-frame { width: clamp(160px, 60vw, 240px); border-radius: 36px; }
  .phone-notch { width: 72px; height: 22px; }
  .phone-screen { border-radius: 26px; }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
  }
  .stat-divider { width: 40px; height: 1px; }
  .stat-item { padding: 0; }
  .scroll-indicator { display: none; }

  .benefits-grid   { grid-template-columns: 1fr; }
  .forwho-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 2rem; }

  .howto-steps { gap: 3rem; }
  .howto-step,
  .howto-step--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .howto-step .step-num,
  .howto-step--reverse .step-num { display: none; }
  .howto-step--reverse .step-img-wrap { order: 1; }
  .howto-step--reverse .step-content  { order: 2; }

  .app-magazine { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0.75rem; }
  .app-mag-item { height: 220px; }
  .app-mag-col  { grid-template-rows: 220px 220px; }
  .app-mag-item--tall { height: 220px; }

  .form-row { grid-template-columns: 1fr; }
  .ctafinal-ctas { flex-direction: column; align-items: center; }
  .manifesto-quote { font-size: clamp(1.375rem, 6vw, 2rem); }

  .btn-xl { font-size: 1rem; padding: 1rem 1.75rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .calc-result { flex-direction: column; align-items: flex-start; gap: 1rem; }
}


/* ─── STATS FOOTNOTE ──────────────────────────────── */
.stats-footnote {
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   SECCIÓN PRECIOS + CALCULADORA
   ══════════════════════════════════════════════════════ */
.pricing-section {
  background: var(--c-white);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.pricing-intro {
  max-width: 580px;
  margin: 0.75rem auto 3.5rem;
  text-align: center;
  color: var(--c-neutral);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ── Tabla de planes ──────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto 5rem;
  padding: 1.5rem 0 2rem;
}
.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 4px 0 rgba(13,31,60,0.06), 0 12px 40px rgba(13,31,60,0.12);
  border: 1.5px solid rgba(13,31,60,0.12);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
  transform-style: preserve-3d;
  will-change: transform;
}
.pricing-card:hover {
  box-shadow: 0 2px 0 rgba(13,31,60,0.08), 0 20px 56px rgba(13,31,60,0.14);
  transform: translateY(-4px);
}
.pricing-card--featured {
  background: var(--c-midnight);
  border: 1px solid rgba(201,168,76,0.3);
  transform: translateY(-16px);
  box-shadow: 0 28px 72px rgba(13,31,60,0.28);
  padding-top: 3rem;
}
.pricing-card--featured:hover {
  box-shadow: 0 36px 88px rgba(13,31,60,0.36);
  transform: translateY(-20px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-gold);
  color: var(--c-midnight);
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1.125rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

.pricing-plan-name {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-midnight);
  margin-bottom: 0.375rem;
}
.pricing-card--featured .pricing-plan-name { color: var(--c-white); }

.pricing-range {
  font-size: 0.8125rem;
  color: var(--c-neutral);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.pricing-card--featured .pricing-range { color: rgba(255,255,255,0.5); }

.pricing-divider {
  height: 1px;
  background: rgba(13,31,60,0.08);
  margin-bottom: 1.5rem;
}
.pricing-card--featured .pricing-divider { background: rgba(255,255,255,0.12); }

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 0.375rem;
  line-height: 1;
}
.pricing-price-currency {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-midnight);
  padding-top: 0.5rem;
}
.pricing-card--featured .pricing-price-currency { color: var(--c-gold); }
.pricing-price-amount {
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--c-midnight);
  letter-spacing: -0.025em;
  line-height: 1;
}
.pricing-card--featured .pricing-price-amount { color: var(--c-gold); }

.pricing-unit {
  font-size: 0.8125rem;
  color: var(--c-neutral);
  margin-bottom: 1.75rem;
}
.pricing-card--featured .pricing-unit { color: rgba(255,255,255,0.5); }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--c-neutral);
  padding-left: 1.375rem;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.525em;
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
}
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.75); }

.btn-outline-midnight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border: 1.5px solid rgba(13,31,60,0.2);
  border-radius: var(--radius-btn);
  color: var(--c-midnight);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.25s var(--ease-smooth), border-color 0.25s, color 0.25s;
  text-align: center;
  width: 100%;
}
.btn-outline-midnight:hover {
  background: var(--c-midnight);
  border-color: var(--c-midnight);
  color: var(--c-white);
}
.pricing-card .btn-gold {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ════════════════════════════════════════════════
   CALCULADORA DE COBRANZA PERDIDA
   ════════════════════════════════════════════════ */
.calc-card {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 880px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(13,31,60,0.04),
    0 8px 24px rgba(13,31,60,0.10),
    0 24px 64px rgba(13,31,60,0.12);
}

/* ── Panel izquierdo ───────────────────────────── */
.calc-left {
  background: var(--c-midnight);
  padding: 3rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  gap: 0;
}
.calc-left-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* Ícono */
.calc-icon-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1.5px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}
.calc-piggy-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Etiqueta resultado */
.calc-result-label {
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.5rem;
}

/* Número grande */
.calc-result-amount {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.calc-result-amount.pop {
  animation: calcPop 0.35s var(--ease-bounce);
}
@keyframes calcPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.calc-result-currency {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-gold);
  padding-top: 0.55rem;
  line-height: 1;
}
#calc-lost-val {
  font-family: var(--f-display);
  font-size: clamp(2.625rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--c-gold);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Subtexto */
.calc-result-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Badge de morosidad */
.calc-morosidad-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-family: var(--f-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
}

/* ── Panel derecho ─────────────────────────────── */
.calc-right {
  background: #F2F4F8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2.25rem;
}
.calc-right-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.calc-title {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-midnight);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.calc-subtitle {
  font-size: 0.9rem;
  color: var(--c-neutral);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* Campos */
.calc-field {
  margin-bottom: 1.125rem;
}
.calc-field-label {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(13,31,60,0.5);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

/* Wrapper stepper */
.calc-stepper-wrap {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(13,31,60,0.1);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-stepper-wrap:focus-within {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.calc-stepper-btn {
  flex-shrink: 0;
  width: 44px;
  border: none;
  background: transparent;
  color: rgba(13,31,60,0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  padding: 0;
}
.calc-stepper-btn:first-child { border-right: 1.5px solid rgba(13,31,60,0.08); }
.calc-stepper-btn:last-child  { border-left:  1.5px solid rgba(13,31,60,0.08); }
.calc-stepper-btn:hover { background: rgba(201,168,76,0.08); color: var(--c-gold); }
.calc-stepper-btn:active { background: rgba(201,168,76,0.18); }

/* Wrapper prefix */
.calc-prefix-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(13,31,60,0.1);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-prefix-wrap:focus-within {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.calc-prefix-symbol {
  padding: 0 0 0 1rem;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(13,31,60,0.4);
  flex-shrink: 0;
  line-height: 1;
}
.calc-prefix-suffix {
  padding: 0 0.875rem 0 0;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(13,31,60,0.35);
  flex-shrink: 0;
}

/* Input base */
.calc-field-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-midnight);
  text-align: center;
  padding: 0.75rem 0.5rem;
  -moz-appearance: textfield;
  min-width: 0;
}
.calc-field-input--prefix { text-align: left; padding-left: 0.25rem; }
.calc-field-input::-webkit-outer-spin-button,
.calc-field-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Fórmula */
.calc-formula {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  color: rgba(13,31,60,0.38);
  background: rgba(13,31,60,0.04);
  border-left: 2px solid rgba(201,168,76,0.5);
  border-radius: 0 6px 6px 0;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.calc-formula svg { flex-shrink: 0; color: rgba(201,168,76,0.7); }

/* CTA */
.calc-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.75rem;
  background: var(--c-midnight);
  color: #fff;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s var(--ease-bounce), box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(13,31,60,0.2);
  margin-bottom: 0.75rem;
}
.calc-cta-btn svg { transition: transform 0.2s var(--ease-bounce); }
.calc-cta-btn:hover {
  background: #142847;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,31,60,0.28);
}
.calc-cta-btn:hover svg { transform: translateX(4px); }
.calc-note {
  font-size: 0.775rem;
  color: rgba(13,31,60,0.35);
  text-align: center;
  margin: 0;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: none; }
  .calc-card {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .calc-left { padding: 2.5rem 2rem 2rem; }
  .calc-right { padding: 2rem; }
}
@media (max-width: 640px) {
  .pricing-grid { max-width: 100%; }
  .calc-card { max-width: 100%; border-radius: 16px; }
  #calc-lost-val { font-size: 2.75rem; }
}
