@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── VARIABLES (Look & Feel de Tu Talonario v2.1) ─── */
:root {
  --white:    #FFFFFF;
  --paper:    #F8FAFC;
  --paper-2:  #F1F5F9;
  --ink:      #0F172A;
  --ink-2:    #334155;
  --ink-3:    #64748B;
  --ink-4:    #94A3B8;
  --line:     #E2E8F0;
  --line-2:   #CBD5E1;

  --blue-xd:  #1E3A8A;
  --blue-dk:  #1E40AF;
  --blue:     #2563EB;
  --blue-md:  #3B82F6;
  --blue-lt:  #BFDBFE;
  --blue-xl:  #EFF6FF;

  --green:    #16A34A;
  --green-lt: #F0FDF4;
  --green-bd: #BBF7D0;
  --red:      #DC2626;
  --red-lt:   #FEF2F2;
  --red-bd:   #FECACA;
  --amber:    #D97706;
  --amber-lt: #FFFBEB;
  --amber-bd: #FDE68A;

  /* Radios */
  --r-xs: 8px;    /* inputs, badges */
  --r-sm: 10px;   /* botones */
  --r:    12px;   /* modales, tarjetas pequeñas */
  --r-lg: 16px;   /* cards principales */

  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Courier New', monospace;

  --fz-body:  15px;
  --fz-sm:    13px;
  --fz-xs:    12px;
  --fz-lbl:   12px;
  
  --max-w: 1200px;
}

/* ─── GLOBAL ─── */
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fz-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.12s ease;
}
a:hover {
  color: var(--blue-dk);
}

/* ─── LAYOUT & CONTAINERS ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

header.nav-header {
  background: var(--white);
  border-bottom: 2px dashed var(--ink-4); /* Línea punteada horizontal estilo talonario */
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO MULTIHOJA */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-xd);
  letter-spacing: -.025em;
  cursor: pointer;
}
.logo-link span {
  color: var(--green); /* Contraste verde moderno para el branding */
}
.logo-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--blue-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

/* NAV LINKS */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* hamburguesa móvil */
.mob-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink-2);
  font-size: 24px;
  cursor: pointer;
}

/* ─── TYPOGRAPHY ─── */
.t-h1 { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.15; }
.t-h2 { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; text-align: center; }
.t-h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.t-body { font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.t-small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.t-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.t-mono { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: .04em; font-weight: 600; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);   /* 10px redondeado */
  cursor: pointer;
  transition: all 0.12s ease-in-out;
  white-space: nowrap;
  font-family: var(--font);
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-p { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-p:hover { background: #1D4ED8; border-color: #1D4ED8; box-shadow: 0 4px 12px rgba(37,99,235,0.15); }

.btn-dk { background: var(--blue-dk); color: #fff; border-color: var(--blue-dk); }
.btn-dk:hover { background: var(--blue-xd); border-color: var(--blue-xd); }

.btn-s { background: var(--white); color: var(--ink-2); border-color: var(--line-2); }
.btn-s:hover { background: var(--paper); border-color: var(--ink-4); }

.btn-g { background: transparent; color: var(--blue); border-color: transparent; }
.btn-g:hover { background: var(--blue-xl); }

.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-xl { padding: 16px 36px; font-size: 16px; font-weight: 800; border-radius: var(--r); }

/* ─── CARDS & SECTIONS ─── */
.card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.01);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hd {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-body {
  padding: 24px;
}

/* ─── SEPARADOR PUNTEADO (El Troquel del Talonario) ─── */
.sep {
  border: none;
  border-top: 2px dashed var(--ink-4);
  margin: 16px 0;
}
.sep-v {
  width: 0;
  border-left: 2px dashed var(--ink-4);
  align-self: stretch;
  margin: 0;
  flex-shrink: 0;
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.b-blue { background: var(--blue-xl); color: var(--blue-dk); border: 1.5px solid var(--blue-lt); }
.b-green { background: var(--green-lt); color: var(--green); border: 1.5px solid var(--green-bd); }
.b-red { background: var(--red-lt); color: var(--red); border: 1.5px solid var(--red-bd); }
.b-amber { background: var(--amber-lt); color: var(--amber); border: 1.5px solid var(--amber-bd); }
.b-gray { background: var(--paper-2); color: var(--ink-3); border: 1.5px solid var(--line-2); }

/* ─── HERO SECTION ─── */
.hero {
  padding: 80px 0 64px;
  background: radial-gradient(circle at 80% 20%, var(--blue-xl) 0%, transparent 60%);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-tag {
  align-self: flex-start;
}
.hero-title span {
  color: var(--blue);
  position: relative;
}
.hero-desc {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.hero-features-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}
.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-features-list svg {
  color: var(--green);
}

/* ─── LIVE APP PREVIEW (MOCKUPS INTERACTIVOS) ─── */
.hero-preview {
  position: relative;
  width: 100%;
}
.mockup-container {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 8px 8px 0px var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 580px;
  margin-left: auto;
}
.mockup-topbar {
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-controls {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-4);
}
.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--line-2);
}

.mockup-tabs {
  display: flex;
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--line);
}
.mockup-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-right: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.1s;
}
.mockup-tab-btn.active {
  background: var(--white);
  color: var(--blue-dk);
  border-bottom: 2px solid var(--blue);
}

.mockup-content {
  padding: 16px;
  background: var(--white);
  min-height: 380px;
}

/* Previsualización del Panel de Control */
.mock-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.mock-stat {
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  background: var(--paper);
}
.mock-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.mock-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
}
.mock-table th {
  background: var(--blue-xd);
  color: var(--white);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px;
  text-align: left;
}
.mock-table td {
  padding: 8px;
  font-size: 12px;
  border-bottom: 1.5px solid var(--line);
}
.mock-table tr:last-child td {
  border-bottom: none;
}

/* Previsualización de Venta (Look Talonario) */
.mock-nv-header {
  background: var(--blue-xd);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--r-xs) var(--r-xs) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-nv-body {
  border: 1.5px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--r-xs) var(--r-xs);
  display: flex;
}
.mock-nv-left {
  flex: 1.3;
  padding: 12px;
}
.mock-nv-right {
  flex: 0.8;
  padding: 12px;
  background: var(--paper);
  border-left: 1.5px dashed var(--ink-4);
}
.mock-nv-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-2);
}
.mock-nv-item:last-child {
  border-bottom: none;
}

.mock-nv-sum {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
}
.mock-nv-sum.total {
  font-weight: 800;
  font-size: 13px;
  border-top: 1.5px solid var(--line-2);
  padding-top: 4px;
  color: var(--blue-dk);
}

.mock-input {
  width: 100%;
  height: 32px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-xs);
  padding: 0 8px;
  font-size: 11px;
  margin-top: 4px;
  outline: none;
}
.mock-input:focus {
  border-color: var(--blue);
}

.mock-btn {
  width: 100%;
  height: 32px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--r-xs);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}
.mock-btn.dark {
  background: var(--blue-dk);
}

/* Teléfono móvil flotante */
.floating-mobile {
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 180px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  z-index: 10;
}
.mobile-notch {
  width: 80px;
  height: 12px;
  background: var(--ink);
  margin: 0 auto;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.mobile-content {
  padding: 10px;
}

/* ─── SECCIÓN BENEFICIOS ─── */
.benefits {
  padding: 80px 0;
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.benefit-card {
  padding: 32px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-lt);
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-xl);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── SECCIÓN PRECIOS ─── */
.pricing {
  padding: 80px 0;
  background: var(--paper);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}
.price-card.popular {
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(37,99,235,0.08);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 4px 16px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}

.price-header {
  margin-bottom: 24px;
}
.price-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.price-tagline {
  font-size: 13px;
  color: var(--ink-3);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.price-currency {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
}
.price-original {
  font-size: 14px;
  text-decoration: line-through;
  color: var(--ink-4);
  margin-bottom: 20px;
  display: block;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.price-features li svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-gateways {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line);
}
.gateway-logo {
  height: 20px;
  opacity: 0.65;
  transition: opacity 0.12s;
}
.gateway-logo:hover {
  opacity: 1;
}

/* ─── PRICING CAROUSEL ─── */
.pricing-carousel-wrap {
  position: relative;
  margin-top: 48px;
}

.pricing-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pricing-carousel::-webkit-scrollbar { display: none; }

.pricing-carousel .price-card {
  flex: 0 0 min(320px, calc(85vw));
  scroll-snap-align: center;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Desktop: vuelve a grid normal */
@media (min-width: 769px) {
  .pricing-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    padding: 24px 0 20px;
  }
  .pricing-carousel .price-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}

/* ─── CABECERA DE PLAN (GRADIENTE) ─── */
.plan-header {
  padding: 28px 28px 24px;
  color: var(--white);
  text-align: center;
}
.plan-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 12px;
}
.plan-header .price-name {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.plan-header .price-tagline {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.5;
}

.plan-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ─── VARIANTE AZUL — Plan Básico ─── */
.price-card.card-blue .plan-header {
  background: linear-gradient(140deg, #1E3A8A 0%, #2563EB 100%);
}
.price-card.card-blue .price-amount   { color: #2563EB; }
.price-card.card-blue .price-features li svg { color: #2563EB; }
.price-card.card-blue .btn-plan {
  background: #2563EB; border-color: #2563EB; color: var(--white);
}
.price-card.card-blue .btn-plan:hover {
  background: #1D4ED8; border-color: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.price-card.card-blue { border-color: #BFDBFE; }

/* ─── VARIANTE VERDE — RUS Plus ─── */
.price-card.card-green .plan-header {
  background: linear-gradient(140deg, #065F46 0%, #059669 100%);
}
.price-card.card-green .price-amount   { color: #059669; }
.price-card.card-green .price-features li svg { color: #059669; }
.price-card.card-green .btn-plan {
  background: #059669; border-color: #059669; color: var(--white);
}
.price-card.card-green .btn-plan:hover {
  background: #047857; border-color: #047857;
  box-shadow: 0 4px 12px rgba(5,150,105,0.25);
}
.price-card.card-green { border-color: #A7F3D0; }

/* ─── VARIANTE MORADO — RUC Plus ─── */
.price-card.card-purple .plan-header {
  background: linear-gradient(140deg, #4C1D95 0%, #7C3AED 100%);
}
.price-card.card-purple .price-amount   { color: #7C3AED; }
.price-card.card-purple .price-features li svg { color: #7C3AED; }
.price-card.card-purple .btn-plan {
  background: #7C3AED; border-color: #7C3AED; color: var(--white);
}
.price-card.card-purple .btn-plan:hover {
  background: #6D28D9; border-color: #6D28D9;
  box-shadow: 0 4px 12px rgba(124,58,237,0.25);
}
.price-card.card-purple { border-color: #DDD6FE; }

/* btn-plan hereda los estilos base de .btn */
.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.12s ease-in-out;
  font-family: var(--font);
  line-height: 1.2;
  text-decoration: none;
}
.btn-plan:hover { transform: translateY(-1px); }

/* ─── POPULAR BADGE (sobre la cabecera de color) ─── */
.price-card.popular .popular-badge {
  background: #FEF08A;
  color: #713F12;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ─── DOTS DE NAVEGACIÓN ─── */
.pricing-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 12px;
}
.pricing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.pricing-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--blue);
}
@media (min-width: 769px) {
  .pricing-dots { display: none; }
}

/* ─── FLECHAS DEL CARRUSEL ─── */
.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  z-index: 5;
  transition: all 0.15s;
}
.carousel-arrow:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.05);
}
.carousel-arrow.prev { left: -20px; }
.carousel-arrow.next { right: -20px; }
@media (min-width: 769px) {
  .carousel-arrow { display: flex; }
}

/* ─── COMPARATIVA DE SOLUCIONES ─── */
.comparison {
  padding: 80px 0;
  background: var(--white);
}
.comp-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comp-table th {
  background: var(--blue-xd);
  color: var(--white);
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}
.comp-table th:not(:first-child) {
  text-align: center;
  width: 25%;
}
.comp-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1.5px solid var(--line);
}
.comp-table tr:hover td {
  background: var(--paper);
}
.comp-table td:not(:first-child) {
  text-align: center;
}
.comp-check {
  color: var(--green);
  font-size: 18px;
}
.comp-cross {
  color: var(--red);
  font-size: 18px;
}
.comp-highlight {
  font-weight: 700;
  color: var(--blue-dk);
}

/* ─── FAQ ACCORDION ─── */
.faq {
  padding: 80px 0;
  background: var(--paper);
}
.faq-grid {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.12s;
}
.faq-item:focus-within {
  border-color: var(--blue-lt);
}
.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}
.faq-icon {
  font-size: 18px;
  color: var(--ink-3);
  transition: transform 0.2s;
}
.faq-a {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-2);
  display: none;
  line-height: 1.6;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--blue);
}
.faq-item.open .faq-a {
  display: block;
}

/* ─── FOOTER ─── */
footer.site-footer {
  background: var(--white);
  border-top: 2px dashed var(--ink-4);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}
.footer-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1.5px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--ink-4);
}
.footer-reclamaciones {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--amber-bd);
  background: var(--amber-lt);
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--r-xs);
  transition: all 0.12s;
}
.footer-reclamaciones:hover {
  background: var(--amber-bd);
  color: #92400E;
}

/* ─── INTERACTIVE APP VERIFICATION (CONSULTA.HTML) ─── */
.consultation-wrap {
  padding: 64px 0 96px;
}
.query-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.form-span-2 {
  grid-column: span 2;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.input {
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-xs);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  outline: none;
  transition: all 0.12s;
  width: 100%;
}
.input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

/* Simulación de Ticket/Factura Física Impresa en la consulta */
.receipt-preview-container {
  display: flex;
  justify-content: center;
}
.paper-receipt {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: var(--r);
  width: 100%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.paper-receipt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue-xd);
}
.receipt-header {
  padding: 24px 20px 16px;
  text-align: center;
  border-bottom: 2px dashed var(--line-2);
}
.receipt-body {
  padding: 20px;
}
.receipt-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.receipt-totals {
  border-top: 2px dashed var(--ink-4);
  padding-top: 12px;
  margin-top: 12px;
}
.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 500;
}
.receipt-total-row.final {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  border-top: 1.5px solid var(--line-2);
  padding-top: 8px;
  margin-top: 8px;
}
.receipt-footer {
  padding: 16px 20px 24px;
  border-top: 2px dashed var(--line-2);
  text-align: center;
}
.receipt-qr {
  width: 96px;
  height: 96px;
  margin: 12px auto;
  border: 1px solid var(--line-2);
  padding: 4px;
  background: var(--white);
}

/* ─── BLOG LAYOUT ─── */
.blog-wrap {
  padding: 64px 0 96px;
}
.blog-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.blog-search-bar {
  max-width: 480px;
  margin: 24px auto 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-lt);
  box-shadow: 0 12px 24px rgba(0,0,0,0.03);
}
.blog-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-xl) 0%, var(--blue-lt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dk);
  font-size: 40px;
}
.blog-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}
.blog-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}
.blog-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
}

/* ─── BLOG ARTICLE TEMPLATE ─── */
.article-wrap {
  padding: 64px 0 96px;
  max-width: 800px;
  margin: 0 auto;
}
.article-header {
  margin-bottom: 40px;
  text-align: center;
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.article-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.article-banner {
  height: 320px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--blue-xl) 0%, var(--blue-lt) 100%);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dk);
  font-size: 64px;
}
.article-body {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}
.article-body p {
  margin-bottom: 24px;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.article-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--paper-2);
  padding: 20px 24px;
  border-radius: 0 var(--r) var(--r) 0;
  font-weight: 500;
  color: var(--blue-xd);
  margin: 24px 0;
}
.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}

/* ─── COMPLIANCE PAGES (RECLAMACIONES, TERMINOS) ─── */
.legal-wrap {
  padding: 64px 0 96px;
  max-width: 840px;
  margin: 0 auto;
}
.legal-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
}
.legal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
  text-align: center;
}
.legal-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.legal-body h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 28px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.legal-body p {
  margin-bottom: 16px;
}

/* ─── MENÚ MÓVIL DRAWER ─── */
.mob-drawer {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 2px dashed var(--ink-4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  z-index: 99;
  flex-direction: column;
}
.mob-drawer.open {
  display: flex;
}
.mob-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  display: block;
  transition: background 0.1s, color 0.1s;
}
.mob-link:hover,
.mob-link.active {
  background: var(--paper);
  color: var(--blue);
}
.mob-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 24px 20px;
}
.mob-drawer-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ─── RESPONSIVE MEDIA QUERIES ─── */
@media (max-width: 1024px) {
  .t-h1 { font-size: 36px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-features-list {
    justify-content: center;
  }
  .mockup-container {
    margin: 0 auto;
  }
  .benefits-grid, .pricing-grid, .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mob-toggle {
    display: block;
  }
  .t-h1 { font-size: 30px; }
  .t-h2 { font-size: 24px; }
  .hero { padding: 48px 0 40px; }
  .hero-desc { font-size: 16px; }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-self: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .benefits, .comparison, .pricing, .faq { padding: 56px 0; }
  .benefits-grid, .pricing-grid, .blog-grid, .query-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-span-2 {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-mobile {
    display: none;
  }
  .price-gateways {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .t-h1 { font-size: 26px; }
  .t-h2 { font-size: 20px; }
  .hero { padding: 36px 0 32px; }
  .hero-desc { font-size: 15px; }
  .price-amount { font-size: 40px; }
  .price-card { padding: 32px 20px; }
  .benefit-card { padding: 24px; }
  .faq-q { font-size: 14px; padding: 16px 18px; }
  .faq-a { padding: 0 18px 16px; font-size: 13px; }
  .legal-card { padding: 28px 20px; }
  .mockup-container { font-size: 11px; }
}

/* ══════════════════════════════════════
   SECCIÓN MÓDULOS (rediseño 2026-06)
   Cards con los colores e iconos de los
   módulos reales de la aplicación.
══════════════════════════════════════ */
.modules { padding: 72px 0; background: var(--paper); }
.modules .t-h2 { text-align: center; }
.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.mod-card {
  background: var(--white);
  border: 1px solid #F1F5F9;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}
.mod-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mod-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}
.mod-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 920px) {
  .mod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .modules { padding: 48px 0; }
  .mod-grid { grid-template-columns: 1fr; }
  .mod-card { padding: 20px; }
}

/* Precio anual bajo el precio mensual (sin tachado) */
.price-anual {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 4px 0 10px;
}
.price-anual strong { color: var(--green); }

/* ══════════════════════════════════════
   SECCIÓN SHOWCASE (comerciante + app)
══════════════════════════════════════ */
.showcase { padding: 72px 0; background: var(--white); }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showcase-art { max-width: 460px; margin: 0 auto; }
.showcase-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 12px 0 20px;
}
.showcase-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.showcase-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.showcase-list strong { color: var(--ink); }
.showcase-check {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
@media (max-width: 880px) {
  .showcase { padding: 48px 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 28px; }
  .showcase-art { max-width: 360px; }
  .showcase-content .t-h2 { text-align: center !important; }
  .showcase-content { text-align: center; }
  .showcase-list { text-align: left; }
  .showcase-content .btn { width: 100%; }
}
