/* ==========================================================================
   YA SOLVENTA TU DEUDA - ESTILOS PRINCIPALES Y PALETA AZUL OSCURO PREMIUM
   ========================================================================== */

:root,
[data-theme="dark_blue"] {
  /* Paleta Oficial YaSolventaTuDeuda: Azul Oscuro Fintech Premium (Deep Midnight Sapphire & Luminous Cyan/Ice Glow) */
  --theme-hero-bg: radial-gradient(135% 125% at 50% -10%, #060e1e 0%, #0d1e3d 45%, #050b16 100%);
  --theme-hero-pattern: rgba(56, 189, 248, 0.06);
  --theme-primary: #1d4ed8;
  --theme-primary-hover: #1e40af;
  --theme-primary-active: #172554;
  --theme-accent: #0284c7;
  --theme-accent-light: #38bdf8;
  --theme-accent-soft: #e0f2fe;
  --theme-accent-badge: #eff6ff;
  --theme-accent-badge-text: #1d4ed8;
  --theme-slider-thumb: #1d4ed8;
  --theme-slider-track: #93c5fd;
  --theme-card-bg: #ffffff;
  --theme-text-dark: #091326;
  --theme-text-muted: #64748b;
  --theme-bg-light: #f8fafc;
  --theme-border: #e2e8f0;
  --theme-radius: 20px;
  --theme-shadow: 0 12px 36px rgba(9, 19, 38, 0.08);
  --theme-shadow-hover: 0 20px 45px rgba(29, 78, 216, 0.25);
}

/* Tema 2: Azul Índigo & Cyan Eléctrico */
[data-theme="blue_cyan"] {
  --theme-hero-bg: radial-gradient(130% 120% at 50% 0%, #0d1b2a 0%, #1b263b 45%, #0d1b2a 100%);
  --theme-hero-pattern: rgba(0, 180, 216, 0.04);
  --theme-primary: #0284c7;
  --theme-primary-hover: #0369a1;
  --theme-primary-active: #075985;
  --theme-accent: #38bdf8;
  --theme-accent-light: #7dd3fc;
  --theme-accent-soft: #f0f9ff;
  --theme-accent-badge: #e0f2fe;
  --theme-accent-badge-text: #0284c7;
  --theme-slider-thumb: #0284c7;
  --theme-slider-track: #bae6fd;
}

/* Tema 3: Violeta Cyber & Cyan (Neo-Bank Style) */
[data-theme="violet"] {
  --theme-hero-bg: radial-gradient(130% 120% at 50% 0%, #19002e 0%, #240046 45%, #10002b 100%);
  --theme-hero-pattern: rgba(157, 78, 221, 0.05);
  --theme-primary: #7b2cbf;
  --theme-primary-hover: #5a189a;
  --theme-primary-active: #3c096c;
  --theme-accent: #9d4edd;
  --theme-accent-light: #c77dff;
  --theme-accent-soft: #e0aaff;
  --theme-accent-badge: #f3e8ff;
  --theme-accent-badge-text: #5a189a;
  --theme-slider-thumb: #7b2cbf;
  --theme-slider-track: #e0aaff;
}

/* Tema 4: Azul Marino & Dorado Real (Luxury Finance) */
[data-theme="navy_gold"] {
  --theme-hero-bg: radial-gradient(130% 120% at 50% 0%, #031926 0%, #0c2b42 45%, #02121c 100%);
  --theme-hero-pattern: rgba(212, 175, 55, 0.05);
  --theme-primary: #d4af37;
  --theme-primary-hover: #c59b27;
  --theme-primary-active: #b3881b;
  --theme-accent: #d4af37;
  --theme-accent-light: #f3e5ab;
  --theme-accent-soft: #fcf8e3;
  --theme-accent-badge: #fbf5df;
  --theme-accent-badge-text: #8c6b12;
  --theme-slider-thumb: #d4af37;
  --theme-slider-track: #f3e5ab;
}

/* Tema 5: Verde Esmeralda */
[data-theme="emerald"] {
  --theme-hero-bg: radial-gradient(130% 120% at 50% 0%, #062a1b 0%, #0d4029 45%, #052115 100%);
  --theme-hero-pattern: rgba(26, 198, 119, 0.05);
  --theme-primary: #1ac677;
  --theme-primary-hover: #16b06a;
  --theme-primary-active: #0e854e;
  --theme-accent: #1ac677;
  --theme-accent-light: #b9eed5;
  --theme-accent-soft: #ecf9ee;
  --theme-accent-badge: #ecf9ee;
  --theme-accent-badge-text: #0d4029;
  --theme-slider-thumb: #1ac677;
  --theme-slider-track: #b9eed5;
}

/* Reset y base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--theme-text-dark);
  background-color: #ffffff;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
  background-color: var(--theme-bg-light);
}

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

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.25s ease;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--theme-text-dark);
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.brand-logo .dot {
  color: var(--theme-primary);
  font-size: 32px;
  line-height: 0;
  margin-left: -4px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--theme-accent-badge);
  color: var(--theme-accent-badge-text);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--theme-primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--theme-border);
  padding: 12px;
  min-width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-text-dark);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
  background: var(--theme-accent-soft);
  color: var(--theme-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme picker pill */
.theme-switcher {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.theme-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.theme-btn:hover {
  transform: scale(1.15);
}

.theme-btn.active {
  border-color: #0f172a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.42);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--theme-primary);
  border: 1.5px solid var(--theme-primary);
}

.btn-outline:hover {
  background: var(--theme-accent-soft);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  background: var(--theme-hero-bg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 64px 24px 80px 24px;
}

.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--theme-hero-pattern) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-left {
  position: relative;
}

/* Floating interactive chips */
.floating-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: chipFloat 6s ease-in-out infinite;
}

.floating-chip-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.floating-chip-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.floating-chip-badge {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--theme-primary);
  padding: 2px 8px;
  border-radius: 999px;
}

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

.hero-flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--theme-accent-light);
  display: inline-block;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent-light);
  box-shadow: 0 0 8px var(--theme-accent-light);
}

/* Simulator Card (Interactive) */
.simulator-card {
  background: #ffffff;
  color: var(--theme-text-dark);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.simulator-top {
  padding: 34px 34px 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-field-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-text-dark);
}

.sim-field-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--theme-primary);
  letter-spacing: -1.2px;
  line-height: 1.1;
}

.sim-dias-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--theme-accent-badge);
  color: var(--theme-accent-badge-text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Custom Sliders */
.sim-slider-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.sim-range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--theme-primary) 0%, var(--theme-primary) var(--pct, 25.9%), var(--theme-slider-track) var(--pct, 25.9%), var(--theme-slider-track) 100%);
  outline: none;
  cursor: pointer;
}

.sim-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--theme-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.sim-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sim-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--theme-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.sim-minmax-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text-muted);
}

/* Devuelves Box */
.sim-devuelves-box {
  background: var(--theme-accent-soft);
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: 20px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-devuelves-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--theme-text-dark);
}

.sim-devuelves-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--theme-primary);
  letter-spacing: -1.2px;
}

.sim-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(29, 78, 216, 0.38);
  transition: all 0.2s ease;
}

.sim-cta-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.48);
  color: #ffffff;
}

/* Simulator Bottom / Breakdown */
.simulator-bottom {
  background: #f8fafc;
  border-top: 1px solid var(--theme-border);
  padding: 24px 34px 28px 34px;
}

.sim-disclaimer {
  font-size: 12px;
  color: var(--theme-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sim-disclaimer a {
  color: var(--theme-primary);
  text-decoration: underline;
  font-weight: 600;
}

.sim-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sim-breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sim-breakdown-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--theme-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sim-breakdown-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--theme-text-dark);
}

.sim-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--theme-text-muted);
  position: relative;
}

.sim-info-icon:hover {
  color: var(--theme-primary);
}

/* Tooltip popover */
.sim-tooltip-text {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sim-info-icon:hover .sim-tooltip-text {
  opacity: 1;
}

/* Sección 2: Cómo pedir un préstamo */
.steps-section {
  padding: 96px 24px;
  background: #ffffff;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--theme-primary);
  background: var(--theme-accent-badge);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.2;
  color: var(--theme-text-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--theme-text-muted);
}

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

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--theme-bg-light);
  border: 1px solid var(--theme-border);
  padding: 22px 28px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.step-card:hover {
  transform: translateX(6px);
  border-color: var(--theme-primary);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.08);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

.step-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-text-dark);
  margin-bottom: 4px;
}

.step-text p {
  font-size: 14px;
  color: var(--theme-text-muted);
}

/* Steps illustration card */
.steps-visual-card {
  background: linear-gradient(145deg, #0d1b2a 0%, #1b263b 100%);
  border-radius: 28px;
  padding: 36px;
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
  position: relative;
  overflow: hidden;
}

.visual-account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.visual-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.visual-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--theme-accent);
}

.visual-available-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.visual-available-amount {
  font-size: 38px;
  font-weight: 900;
  color: var(--theme-accent-light);
  margin: 8px 0;
}

.visual-approved-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 180, 216, 0.2);
  color: var(--theme-accent-light);
  border: 1px solid rgba(0, 180, 216, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.visual-chart-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-chart-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.chart-bars-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 120px;
  padding-bottom: 8px;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 38px;
  border-radius: 8px 8px 0 0;
  transition: height 0.5s ease;
}

.chart-bar.b1 { height: 45px; background: #64748b; }
.chart-bar.b2 { height: 75px; background: var(--theme-accent); }
.chart-bar.b3 { height: 110px; background: var(--theme-accent-light); }

.chart-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* Sección 3: Requisitos */
.req-section {
  padding: 96px 24px;
  background: var(--theme-bg-light);
}

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

.req-card {
  background: #ffffff;
  border: 1px solid var(--theme-border);
  border-radius: 24px;
  padding: 32px 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: var(--theme-primary);
}

.req-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--theme-accent-badge);
  color: var(--theme-accent-badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.req-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-text-dark);
  line-height: 1.3;
}

.req-card p {
  font-size: 14px;
  color: var(--theme-text-muted);
  line-height: 1.5;
}

/* Sección 4: Casos de uso / Carrusel */
.use-section {
  padding: 96px 24px;
  background: #ffffff;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.use-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.use-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 119, 182, 0.12);
  border-color: var(--theme-primary);
}

.use-img-wrap {
  height: 210px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.use-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.use-card:hover .use-img {
  transform: scale(1.05);
}

.use-content {
  padding: 24px;
}

.use-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--theme-text-dark);
}

.use-content p {
  font-size: 14px;
  color: var(--theme-text-muted);
  line-height: 1.5;
}

/* Sección 5: Ventajas y Garantías */
.features-section {
  padding: 96px 24px;
  background: var(--theme-hero-bg);
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 34px 28px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.feature-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover .feature-icon-badge {
  transform: translateY(-3px) scale(1.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.feature-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.feature-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
  padding: 96px 24px;
  background: #ffffff;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--theme-border);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-text-dark);
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s ease;
  font-size: 15px;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 14px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--theme-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--theme-primary);
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 72px 24px 36px 24px;
  font-size: 14px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1240px;
  margin: 36px auto 0 auto;
  font-size: 12px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-legal-text {
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .req-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .use-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .main-nav {
    display: none;
  }
  .header-container {
    padding: 12px 20px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 48px 18px 60px 18px;
  }
  .hero-title {
    font-size: 38px;
    letter-spacing: -0.6px;
  }
  .sim-breakdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .simulator-top, .simulator-bottom {
    padding: 22px 20px;
  }
  .steps-section, .requirements-section, .use-cases-section, .features-section, .faq-section {
    padding: 56px 18px;
  }
  .site-footer {
    padding: 54px 18px 30px 18px;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }
  .header-container {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .brand-logo {
    font-size: 22px;
    gap: 6px;
  }
  .brand-logo .dot {
    font-size: 26px;
  }
  .brand-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  .header-actions {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .header-actions .btn {
    padding: 6px 11px !important;
    font-size: 12px !important;
  }
  .theme-switcher {
    padding: 2px;
  }
  .theme-btn {
    width: 20px;
    height: 20px;
  }
  .hero-section {
    padding: 38px 14px 48px 14px;
  }
  .hero-title {
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .req-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sim-breakdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sim-field-value {
    font-size: 30px;
    letter-spacing: -0.8px;
  }
  .simulator-top, .simulator-bottom {
    padding: 18px 16px;
  }
  .steps-visual-card {
    padding: 20px 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-float-tooltip {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 25px;
  }
  .hero-pills-row {
    gap: 8px;
  }
  .hero-pill {
    font-size: 11px;
    padding: 6px 10px;
  }
  .sim-field-value {
    font-size: 26px;
  }
  .sim-dias-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .sim-date-badge {
    font-size: 12px;
    padding: 4px 10px;
  }
  .sim-breakdown-title {
    font-size: 10px;
  }
  .sim-breakdown-val {
    font-size: 12px;
    word-break: break-word;
  }
  .sim-cta-btn {
    font-size: 15px;
    padding: 13px 18px;
  }
  .faq-question {
    font-size: 14.5px;
    padding: 14px 16px;
  }
  .faq-answer {
    padding: 0 16px 14px 16px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .sim-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .header-actions .btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
}

/* ==========================================================================
   ESTILOS COMPARTIDOS RESPONSIVOS: FORMULARIOS Y PORTAL CLIENTE
   ========================================================================== */
.confirm-details-grid,
.credit-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .confirm-details-grid,
  .credit-details-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP CON PULSO Y TOOLTIP
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  animation: wa-pulse 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
  color: #ffffff !important;
  animation: none;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  display: block;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 72px;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
