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

html {
  font-size: 18px;
}

:root {
  --primary: #0f0b77;
  --primary-light: #3d39c4;
  --dark: #0D1117;
  --dark-card: #161B22;
  --dark-mid: #1C2333;
  --light-bg: #F8F7F4;
  --text-light: #E6E6E6;
  --text-muted: #8B949E;
  --white: #FFFFFF;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark);
  color: var(--text-light);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 11, 119, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-light);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #0D1117 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 11, 119, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-sub {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 11, 119, 0.5);
}

/* HERO CURSOR */
#hero-cursor {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,90,255,0.45) 0%, rgba(61,57,196,0.2) 35%, transparent 65%);
  pointer-events: none;
  top: 0;
  left: 0;
  z-index: 0;
  will-change: transform;
  filter: blur(18px);
}

/* INTRO */
.section-intro {
  background-color: var(--dark);
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.intro-container {
  max-width: 800px;
  text-align: center;
}

.intro-greeting {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.intro-body {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0.65rem;
}

.intro-body:last-of-type {
  margin-bottom: 0;
}

.intro-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.intro-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(61,57,196,0.4);
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(61,57,196,0.12);
  backdrop-filter: blur(4px);
  animation: badge-float 3s ease-in-out infinite;
}

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

.badge-icon { font-size: 1rem; }

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* DECO RINGS */
.intro-deco {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  pointer-events: none;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(61,57,196,0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 4s ease-in-out infinite;
}

.deco-ring-1 { width: 160px; height: 160px; animation-delay: 0s; }
.deco-ring-2 { width: 210px; height: 210px; animation-delay: 0.6s; border-style: dashed; }
.deco-ring-3 { width: 260px; height: 260px; animation-delay: 1.2s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.04); }
}

/* SECTIONS */
.section {
  min-height: 100vh;
  padding: 8rem 2rem;
  display: flex;
  align-items: center;
}

.section .container {
  width: 100%;
}

/* ANIMACIONES */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-animate .card,
.section-animate .mvv-card,
.section-animate .contact-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section-animate.visible .card,
.section-animate.visible .mvv-card,
.section-animate.visible .contact-item {
  opacity: 1;
  transform: translateY(0);
}

.section-animate.visible .card:nth-child(1),
.section-animate.visible .mvv-card:nth-child(1),
.section-animate.visible .contact-item:nth-child(1) { transition-delay: 0.1s; }

.section-animate.visible .card:nth-child(2),
.section-animate.visible .mvv-card:nth-child(2),
.section-animate.visible .contact-item:nth-child(2) { transition-delay: 0.2s; }

.section-animate.visible .card:nth-child(3),
.section-animate.visible .mvv-card:nth-child(3),
.section-animate.visible .contact-item:nth-child(3) { transition-delay: 0.3s; }

.section-animate.visible .card:nth-child(4),
.section-animate.visible .contact-item:nth-child(4) { transition-delay: 0.4s; }

.section-dark {
  background-color: var(--dark);
}

.section-light {
  background-color: var(--light-bg);
  color: var(--dark);
}

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

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-title.light {
  color: var(--white);
}

.section-title.primary {
  color: var(--primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 3rem;
}

.section-desc {
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  max-width: 750px;
  margin: 0 auto;
}

/* NOSOTROS */
.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.nosotros-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.nosotros-item:hover {
  transform: translateY(-4px);
}

.nosotros-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.nosotros-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.nosotros-item p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.8;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--dark-card);
  border: 1px solid rgba(15, 11, 119, 0.3);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 57, 196, 0.7);
}

.card-featured {
  border-color: var(--primary-light);
  background: linear-gradient(145deg, #1C2333, #161B22);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.card-range {
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card-yield {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7b78e8;
  line-height: 1.2;
}

.card-annual {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.card-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  transition: letter-spacing 0.2s;
}

.card-link:hover .card-more {
  letter-spacing: 2px;
}

.tax-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

/* MVV */
.mvv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mvv-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .mvv-top { grid-template-columns: 1fr; }
  .mvv-bottom { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .mvv-bottom { grid-template-columns: 1fr; }
}

.mvv-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.mvv-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mvv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.mvv-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
}

.values-list {
  list-style: none;
  padding: 0;
}

.value-item {
  border-bottom: 1px solid #e8e8f0;
  cursor: pointer;
  user-select: none;
}

.value-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  transition: color 0.2s;
}

.value-item:hover .value-header {
  color: var(--primary);
}

.value-arrow {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s;
  display: inline-block;
}

.value-item.open .value-arrow {
  transform: rotate(90deg);
}

.value-desc {
  max-height: 0;
  overflow: hidden;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0;
}

.value-item.open .value-desc {
  max-height: 200px;
  padding-bottom: 0.75rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background: var(--dark-mid);
  border-radius: 8px;
  border: 1px solid rgba(15, 11, 119, 0.25);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: #070A0E;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(15, 11, 119, 0.3);
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--white);
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer-note {
  max-width: 600px;
  margin: 1.5rem auto 0.4rem;
  font-style: italic;
  line-height: 1.6;
}

.footer-copy {
  margin-top: 1.5rem;
  color: #444;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-col-title {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.35) !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem !important;
}

.footer-nav-link {
  display: block;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
  margin-bottom: 0;
}

.footer-nav-link:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* WHATSAPP FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

/* CONTACTO — divisor dentro del item */
.contact-divider {
  width: 40px;
  height: 1px;
  background: rgba(61,57,196,0.3);
  margin: 0.9rem auto;
}

/* CITAS */
.citas-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}

.cal-panel {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid var(--primary);
  width: 320px;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.cal-nav {
  background: none;
  border: 1px solid rgba(15,11,119,0.2);
  color: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s;
}

.cal-nav:hover { background: rgba(15,11,119,0.08); }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-blank { visibility: hidden; }

.cal-day {
  aspect-ratio: 1;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #333;
  transition: background 0.2s, color 0.2s;
}

.cal-day:hover:not(:disabled) { background: rgba(15,11,119,0.1); color: var(--primary); }
.cal-day.cal-selected { background: var(--primary); color: var(--white); }
.cal-day.cal-disabled { color: #ccc; cursor: default; }

/* SLOTS */
.cita-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.slots-wrapper {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid var(--primary);
}

.slots-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slot-btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(15,11,119,0.25);
  border-radius: 4px;
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.slot-btn:hover:not(:disabled) { background: rgba(15,11,119,0.08); }
.slot-btn.slot-selected { background: var(--primary); color: var(--white); border-color: var(--primary); }
.slot-btn.slot-ocupado,
.slot-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  border-color: rgba(15,11,119,0.1);
}

/* FORMULARIO CITA */
#cita-form {
  flex-direction: column;
  gap: 0.8rem;
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid var(--primary);
}

.cita-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15,11,119,0.2);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.cita-input:focus { border-color: var(--primary); }

.btn-cita {
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-cita:hover { opacity: 0.88; }

.cita-confirm {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 3px solid var(--primary);
  text-align: center;
}

.confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.btn-cita-outline {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--primary);
  background: none;
  border-radius: 4px;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cita-outline:hover { background: rgba(15,11,119,0.07); }

@media (max-width: 768px) {
  .citas-layout { grid-template-columns: 1fr; }
  .cal-panel { width: 100%; }
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: 10px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem 2.5rem;
  position: relative;
  color: #333;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.modal-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.5rem 0 0.6rem;
}

.modal-box p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.modal-box ul {
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
}

.modal-box ul li {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 0.3rem;
}

.modal-firma {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.firma-campo {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.firma-campo span {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.firma-linea {
  height: 1px;
  background: #ccc;
  margin-top: 1.5rem;
}

.modal-version {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  font-style: italic;
}

@media (max-width: 600px) {
  .modal-firma { grid-template-columns: 1fr; }
}

.consentimiento-box {
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  background: rgba(15, 11, 119, 0.04);
  margin-top: 1rem;
}

.consentimiento-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem !important;
}

.consentimiento-box p:last-child {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

.btn-descarga {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.btn-descarga:hover { opacity: 0.88; }

.footer-link {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

/* PROCESO */
.proceso-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.proceso-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  position: relative;
}

.proceso-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  margin-top: 3rem;
  flex-shrink: 0;
}

.proceso-connector span {
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(100,90,255,0.5), rgba(100,90,255,0.2));
  position: relative;
}

.proceso-connector span::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  border-left: 8px solid rgba(100,90,255,0.5);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paso-numero {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: rgba(100,90,255,0.6);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.paso-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.paso-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.paso-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.paso-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.paso-list li {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  padding-left: 1.1rem;
  position: relative;
}

.paso-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(100,90,255,0.8);
  font-size: 0.7rem;
  font-weight: 700;
}

.paso-nota {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.proceso-footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color .2s;
}

.faq-item.faq-open {
  border-color: rgba(100,90,255,0.4);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(100,90,255,0.8);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}

.faq-item.faq-open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.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); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 11, 119, 0.15);
  flex-direction: column;
  padding: 0.5rem 2rem 1.25rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(15, 11, 119, 0.08);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary-light); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .hero h1 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .intro-greeting {
    text-align: center;
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .proceso-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .proceso-connector {
    transform: rotate(90deg);
    margin: 0;
    padding: 0.25rem 0;
  }

  .proceso-step {
    max-width: 100%;
    width: 100%;
  }
}
