/* ============================================================
   PROCRECE — Stylesheet
   Paleta: Teal / Verde / Turquesa / Naranja acento / Morado suave
   Tipografía: Syne (títulos) + DM Sans (cuerpo)
   ============================================================ */

/* ─── Variables ─── */
:root {
  --teal:        #00c9a7;
  --teal-dark:   #009e84;
  --green:       #2dda8a;
  --green-dark:  #1caf6b;
  --purple:      #7c6bff;
  --purple-light:#ede8ff;
  --orange:      #ff7c45;
  --orange-light:#fff0e8;
  --cyan:        #18d6e8;
  --white:       #ffffff;
  --bg:          #f6faf9;
  --surface:     #ffffff;
  --gray-50:     #f0f4f3;
  --gray-100:    #e2eceb;
  --gray-200:    #c4d8d5;
  --gray-400:    #7fa89e;
  --gray-600:    #4a6d65;
  --gray-800:    #213d37;
  --text:        #1a3832;
  --text-muted:  #5a7870;

  --gradient:    linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  --gradient-h:  linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  --shadow-sm:   0 2px 8px rgba(0,150,120,0.08);
  --shadow-md:   0 8px 32px rgba(0,150,120,0.12);
  --shadow-lg:   0 20px 60px rgba(0,150,120,0.16);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --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; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
input, select, button { font-family: inherit; }

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0,201,167,0.4); }
  70%{ box-shadow: 0 0 0 12px rgba(0,201,167,0); }
  100%{box-shadow: 0 0 0 0 rgba(0,201,167,0); }
}

.fade-in { opacity: 0; animation: fadeInUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── Utility ─── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 16px;
  color: var(--text);
}
.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.section-tag.light {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,201,167,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,201,167,0.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  animation: pulse-ring 2s infinite;
}
.btn-whatsapp:hover {
  background: #1ebb56;
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
.btn-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: var(--transition);
}
.btn-credit:hover { gap: 10px; color: var(--green-dark); }
.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn-whatsapp-large:hover { background: #1ebb56; transform: translateY(-2px); }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  background: var(--gray-50);
  color: var(--teal-dark);
}
.nav-link i { font-size: 0.65rem; transition: var(--transition); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown:hover .fa-chevron-down,
.dropdown.open .fa-chevron-down { transform: rotate(180deg); }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.dropdown-menu li a i {
  width: 20px;
  color: var(--teal);
  font-size: 0.85rem;
}
.dropdown-menu li a:hover {
  background: var(--gray-50);
  color: var(--teal-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8faf6 0%, #f0f8ff 50%, #f8f0ff 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  bottom: -100px; left: -80px;
}
.shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--orange), transparent 70%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
}
.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero-badge i { color: var(--orange); }
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.pill i { color: var(--teal); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Finance cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 440px;
}
.finance-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  animation: float 5s ease-in-out infinite;
}
.main-card {
  width: 300px;
  border: 1px solid var(--gray-100);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.card-label { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); }
.card-badge { font-size: 0.72rem; color: var(--green-dark); font-weight: 600; }
.card-amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.card-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.card-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 0.7rem; color: var(--text-muted); }
.meta-val { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.progress-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  margin-bottom: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.mini-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  animation: float 4s ease-in-out infinite;
}
.mini-card i { font-size: 1.2rem; margin-bottom: 2px; }
.mini-1 {
  top: 30px; left: -10px;
  animation-delay: 0.5s;
  border: 1px solid var(--gray-100);
}
.mini-1 i { color: var(--teal); }
.mini-2 {
  bottom: 50px; right: -10px;
  animation-delay: 1.2s;
  border: 1px solid var(--gray-100);
}
.mini-2 i { color: var(--orange); }

/* ─── SIMULATOR ─── */
.simulator-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.simulator-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
.simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.sim-controls {
  padding: 40px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sim-field { display: flex; flex-direction: column; gap: 10px; }
.sim-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.sim-field label i { color: var(--teal); }
.field-value {
  margin-left: auto;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Slider */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--teal) 0%, var(--teal) 50%, var(--gray-100) 50%);
  outline: none;
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 2px 8px rgba(0,150,120,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0,150,120,0.4);
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  box-shadow: 0 2px 8px rgba(0,150,120,0.3);
  cursor: pointer;
}
.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.num-input {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.num-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,201,167,0.12); }

/* Custom select */
.custom-select-wrapper { position: relative; }
.custom-select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.custom-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,201,167,0.12); }
.select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.75rem;
}

/* Form inside simulator */
.sim-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sim-form h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-form h3 i { color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-group input {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,201,167,0.12); }
.form-group input.error { border-color: #ff5b5b; }
.form-error {
  font-size: 0.75rem;
  color: #e53e3e;
  min-height: 16px;
  display: block;
}

/* Results panel */
.sim-results {
  padding: 40px;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white);
}
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.9;
}
.results-type-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.result-highlight { text-align: center; padding: 16px 0; }
.result-label { font-size: 0.82rem; opacity: 0.85; }
.result-amount {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.result-sub { font-size: 0.78rem; opacity: 0.75; }
.result-details {
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(4px);
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.detail-row span { display: flex; align-items: center; gap: 8px; opacity: 0.85; }
.detail-row i { width: 16px; }
.detail-row strong { font-weight: 700; }
.total-row {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 10px;
  font-size: 0.95rem;
}
.total-row strong { font-size: 1.05rem; }

/* Donut chart */
.results-donut {
  position: relative;
  width: 120px;
  margin: 0 auto;
}
.donut-svg { width: 100%; }
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-center span { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; }
.donut-center small { font-size: 0.65rem; opacity: 0.75; }
.donut-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.78rem;
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.capital i { color: var(--white); }
.intereses i { color: rgba(255,255,255,0.4); }
.results-disclaimer {
  font-size: 0.72rem;
  opacity: 0.7;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.5;
}

/* ─── ABOUT ─── */
.about-section {
  padding: 100px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
.about-text p { color: var(--text-muted); line-height: 1.75; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.value-icon.teal { background: rgba(0,201,167,0.12); color: var(--teal-dark); }
.value-icon.green { background: rgba(45,218,138,0.12); color: var(--green-dark); }
.value-icon.purple { background: var(--purple-light); color: var(--purple); }
.value-icon.orange { background: var(--orange-light); color: var(--orange); }
.value-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.value-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ─── CREDITS ─── */
.credits-section {
  padding: 100px 0;
  background: var(--white);
}
.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.credit-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.credit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.credit-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.personal  { background: rgba(0,201,167,0.12); color: var(--teal-dark); }
.auto      { background: rgba(45,218,138,0.12); color: var(--green-dark); }
.hipo      { background: var(--purple-light); color: var(--purple); }
.agrario   { background: rgba(255,124,69,0.12); color: var(--orange); }
.liquidez  { background: rgba(24,214,232,0.12); color: #0ea5b5; }
.credit-card h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.credit-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.credit-features { display: flex; flex-direction: column; gap: 6px; }
.credit-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.credit-features i { color: var(--teal); font-size: 0.7rem; }

/* ─── STATS ─── */
.stats-section {
  padding: 80px 0;
  background: var(--gradient);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.88rem; opacity: 0.85; }

/* ─── CONTACT ─── */
.contact-section {
  padding: 100px 0;
  background: var(--bg);
}
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--purple) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  top: -80px; right: 100px;
  border-radius: 50%;
}
.cta-content { display: flex; flex-direction: column; gap: 16px; color: var(--white); }
.cta-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}
.cta-content p { opacity: 0.85; font-size: 1rem; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.cta-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--white);
  text-align: center;
  min-width: 140px;
}
.cta-card i { font-size: 1.6rem; margin-bottom: 4px; }
.cta-card span { font-size: 0.78rem; opacity: 0.8; }
.cta-card strong { font-size: 1.1rem; font-weight: 700; }

/* ─── FOOTER ─── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 60px 0 0;
}
.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn.wa  { background: rgba(37,211,102,0.1); color: #25d366; }
.social-btn.call{ background: rgba(0,201,167,0.1); color: var(--teal-dark); }
.social-btn.mail{ background: rgba(124,107,255,0.1); color: var(--purple); }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.2); }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul li a i { color: var(--teal); width: 16px; font-size: 0.8rem; }
.footer-col ul li a:hover { color: var(--teal-dark); }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-list li i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.contact-list li a { color: var(--text-muted); transition: var(--transition); }
.contact-list li a:hover { color: var(--teal-dark); }
.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── WhatsApp float ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-ring 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebb56; }

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: var(--white);
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: var(--teal); font-size: 1.1rem; }

/* ─── Scroll reveal ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-visual { flex-direction: row; justify-content: center; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-link { width: 100%; font-size: 1rem; padding: 12px 14px; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: flex; flex-direction: column; }
  .btn-whatsapp { width: 100%; justify-content: center; }

  .simulator-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .credits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cta-visual { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { justify-content: center; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .sim-controls { padding: 24px; }
  .sim-results { padding: 28px 24px; }
}

/* ─── Nav privacy button ─── */
.nav-privacy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.nav-privacy-btn i { color: var(--teal); font-size: 0.9rem; }
.nav-privacy-btn:hover {
  background: var(--gray-50);
  color: var(--teal-dark);
}

/* ─── Footer privacy link ─── */
.footer-privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--teal-dark);
  font-weight: 600;
  transition: var(--transition);
  padding: 0;
}
.footer-privacy-link i { font-size: 0.8rem; }
.footer-privacy-link:hover { color: var(--teal); }

/* ─── MODAL AVISO DE PRIVACIDAD ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 56, 50, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

/* Header */
.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-100);
  background: linear-gradient(135deg, rgba(0,201,167,0.06) 0%, rgba(124,107,255,0.06) 100%);
  flex-shrink: 0;
}
.modal-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.modal-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.modal-close {
  margin-left: auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--gray-100); color: var(--text); transform: rotate(90deg); }

/* Body */
.modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-behavior: smooth;
}
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-track { background: var(--gray-50); }
.modal-body::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

.modal-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}

/* Sección */
.modal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}
.modal-section h3 i { color: var(--teal); font-size: 0.9rem; }
.modal-section p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.modal-section a { color: var(--teal-dark); font-weight: 500; }
.modal-section a:hover { text-decoration: underline; }
.modal-section ul { display: flex; flex-direction: column; gap: 7px; padding-left: 4px; }
.modal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.modal-section ul li i.fa-check { color: var(--teal); margin-top: 3px; font-size: 0.7rem; flex-shrink: 0; }
.modal-section ul li i.fa-circle { color: var(--gray-200); margin-top: 5px; font-size: 0.5rem; flex-shrink: 0; }

/* Data grid */
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.data-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.data-item i { color: var(--teal); font-size: 1rem; margin-bottom: 2px; }
.data-item strong { font-size: 0.82rem; color: var(--text); }
.data-item span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.data-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(124,107,255,0.07);
  border: 1px solid rgba(124,107,255,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
}
.data-note i { color: var(--purple); margin-top: 2px; flex-shrink: 0; }

/* ARCO steps */
.arco-steps { display: flex; flex-direction: column; gap: 10px; }
.arco-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px dashed var(--gray-100);
}
.modal-date i { color: var(--teal); }

/* Footer */
.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  background: var(--gray-50);
  flex-shrink: 0;
}

/* Responsive modal */
@media (max-width: 600px) {
  .modal-box { border-radius: var(--radius-lg); max-height: 95vh; }
  .modal-header { padding: 18px 20px; }
  .modal-body { padding: 20px; gap: 20px; }
  .modal-footer { padding: 16px 20px; justify-content: stretch; }
  .modal-footer .btn-primary,
  .modal-footer .btn-ghost { flex: 1; justify-content: center; }
  .data-grid { grid-template-columns: 1fr; }
  .modal-header h2 { font-size: 1.05rem; }
}

/* ──────────────────────────────────────────────────────────────
   LOGO IMAGEN — navbar y footer
   Modifica width/height para ajustar el tamaño de tu logo
   ────────────────────────────────────────────────────────────── */
.logo-img {
  width: 38px;          /* ← ANCHO del logo en navbar  */
  height: 38px;         /* ← ALTO  del logo en navbar  */
  object-fit: contain;
  display: block;
  border-radius: 0;     /* ← Cambia a 8px si quieres bordes redondeados */
}
.footer .logo-img {
  width: 34px;          /* ← ANCHO del logo en footer  */
  height: 34px;         /* ← ALTO  del logo en footer  */
}