/* ============================================================
   DeCaLogic — Landing Page Promocional & SEO (100% Mobile Responsive & PWA)
   Desarrollado por Informática Ducal - 2026
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --primary-dark: #1d4ed8;
  --secondary: #06b6d4;
  --accent: #38bdf8;
  --dark-bg: #0b1329;
  --dark-surface: #111d3d;
  --dark-card: #16244d;
  --dark-border: #1e3a8a;
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --text-main: #0f172a;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --text-white: #f8fafc;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/* Tipografía y Gradientes */
.text-gradient {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Clases Utilitarias */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: #ffffff !important; }
.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-warning { color: #f59e0b !important; }
.text-success { color: #22c55e !important; }
.text-danger { color: #ef4444 !important; }
.text-info { color: #06b6d4 !important; }

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }

.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

.rounded { border-radius: 10px !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50px !important; }

.small { font-size: 0.82rem !important; }
.fw-bold { font-weight: 700 !important; }
.font-monospace { font-family: var(--font-mono) !important; }
.fs-6 { font-size: 1rem !important; }

/* Contenedores */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   NAVBAR & NAVEGACIÓN
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 19, 41, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.navbar .nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta .btn {
  white-space: nowrap;
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.mobile-nav-cta {
  display: none !important;
}

/* Botón Hamburguesa */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  width: 42px;
  height: 42px;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

/* Backdrop para Menú Móvil */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 13, 29, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
}

.w-100 {
  width: 100%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  line-height: 1.4;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

/* Botón Guía PDF */
.hero-guide-wrapper {
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 100%;
}

.hero-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50px;
  font-size: 0.84rem;
  padding: 0.55rem 1.35rem;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
  box-sizing: border-box;
}

.hero-guide-btn:visited,
.hero-guide-btn:active,
.hero-guide-btn:focus {
  color: #ffffff !important;
}

.hero-guide-btn span,
.hero-guide-btn strong {
  color: #ffffff !important;
}

.hero-guide-btn .guide-accent {
  color: #38bdf8 !important;
  font-weight: 700;
}

.hero-guide-btn:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: #38bdf8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stat-item {
  text-align: left;
}

.stat-item .stat-num {
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Card Mockup DeCA en Hero */
.mockup-card {
  background: rgba(17, 29, 61, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.2);
  position: relative;
  transition: var(--transition);
}

.mockup-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(37, 99, 235, 0.3);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}

.mockup-tag {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.mockup-qr-container {
  background: rgba(11, 19, 41, 0.92);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.mockup-qr-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.6rem;
  text-align: center;
  width: 100%;
  letter-spacing: 0.02em;
}

.mockup-qr-box {
  background: #ffffff;
  padding: 0.65rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.mockup-qr-box img {
  display: block;
  margin: 0 auto;
}

.mockup-qr-hash {
  font-size: 0.74rem;
  color: var(--accent);
  font-family: var(--font-mono);
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ============================================================
   BARRA DE GARANTÍAS Y NORMAS
   ============================================================ */
.law-bar {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.law-bar-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-light);
  align-items: center;
}

.law-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.law-item i {
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
.section {
  padding: 90px 0;
}

.section-light {
  background: #f8fafc;
  color: var(--text-main);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

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

.section-title {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-light);
  line-height: 1.6;
}

.section-light .section-desc {
  color: #475569;
}

/* ============================================================
   BENTO GRID DE FUNCIONALIDADES
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

.bento-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.bento-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
  color: #ffffff;
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ============================================================
   CÓMO FUNCIONA (3 PASOS)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ============================================================
   TABLA COMPARATIVA (Desktop Table & Mobile Cards)
   ============================================================ */
.table-responsive {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.5rem;
  text-align: left;
}

.comparison-table thead th {
  background: #0f172a;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

/* ============================================================
   CALCULADORA ROI INTERACTIVA
   ============================================================ */
.calc-box {
  background: var(--dark-surface);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.calc-range {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #1e3a8a;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 12px var(--primary);
  border: 2px solid #fff;
}

.calc-results {
  background: rgba(11, 19, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.calc-saving-num {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  color: #4ade80;
  font-family: var(--font-mono);
  margin: 0.5rem 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
  gap: 1rem;
}

.faq-question i {
  transition: transform 0.25s ease;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.75rem 1.35rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

/* ============================================================
   FORMULARIO DE CONTACTO / DEMO
   ============================================================ */
.contact-form {
  background: #0b1329;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-grid-2 .form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-white);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(11, 19, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #070d1d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   MODAL SIMULADOR QR DE INSPECCIÓN
   ============================================================ */
.simulador-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.simulador-content {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}

.simulador-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 0.5rem;
}

.simulador-badge-police {
  background: rgba(37, 99, 235, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.simulador-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.simulador-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.simulador-body {
  padding: 1.5rem;
}

.simulador-screen {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.simulador-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 10px;
  padding: 1rem;
}

.simulador-status i {
  font-size: 2rem;
  flex-shrink: 0;
}

.simulador-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.simulador-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 0.4rem;
  gap: 0.75rem;
}

.simulador-row strong, .simulador-row span:last-child {
  color: #f1f5f9;
  text-align: right;
  word-break: break-word;
}

.simulador-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* TABLETS Y PORTÁTILES PEQUEÑOS (<= 1080px) */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-desc {
    text-align: justify;
    text-justify: inter-word;
  }

  .stat-item {
    text-align: center;
  }
  
  .mockup-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.bento-wide {
    grid-column: span 2;
  }

  .calc-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
  }

  /* Menú Móvil / Drawer */
  .nav-links, .nav-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links.show-mobile {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    right: 0;
    width: min(340px, 85vw);
    height: calc(100vh - 72px);
    background: #0b1329;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    z-index: 999;
    animation: slideInRight 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .nav-links.show-mobile li {
    width: 100%;
  }

  .nav-links.show-mobile a {
    display: block;
    font-size: 1.05rem;
    padding: 0.65rem 0.5rem;
    border-radius: 6px;
  }

  .nav-links.show-mobile a:hover,
  .nav-links.show-mobile a.active {
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
  }

  .nav-links.show-mobile .mobile-nav-cta {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.show-mobile .mobile-nav-cta .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* SMARTPHONES Y TABLETS VERTICALES (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 55px 0;
  }

  .hero-section {
    padding: 95px 0 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto 1.25rem auto;
    display: inline-flex;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
  }

  .hero-guide-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-guide-btn {
    width: 100%;
    font-size: 0.78rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-top: 1.25rem;
  }

  .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-align: left;
  }

  .stat-item .stat-num {
    font-size: 1.3rem;
    margin-right: 0.5rem;
  }

  .stat-item .stat-label {
    margin-top: 0;
    font-size: 0.74rem;
    color: #cbd5e1;
    text-align: right;
  }

  .mockup-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mockup-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .mockup-tag {
    align-self: flex-start;
    white-space: normal;
    font-size: 0.68rem;
  }

  .mockup-qr-container {
    padding: 1rem 0.6rem;
    width: 100%;
    box-sizing: border-box;
  }

  .mockup-qr-label {
    font-size: 0.72rem;
    word-break: break-word;
  }

  .mockup-qr-hash {
    font-size: 0.68rem;
    word-break: break-all;
    flex-wrap: wrap;
  }

  .law-bar-content {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .law-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.78rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bento-card.bento-wide {
    grid-column: span 1;
  }

  .bento-card {
    padding: 1.5rem 1.25rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .contact-form {
    padding: 1.75rem 1.25rem;
  }

  /* Transformación de la Tabla Comparativa a Tarjetas */
  .table-responsive {
    overflow-x: visible;
    box-shadow: none;
    background: transparent;
  }

  .comparison-table {
    min-width: 0;
    width: 100%;
    display: block;
    background: transparent;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .comparison-table tbody tr {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  }

  .comparison-table tbody td {
    display: block;
    padding: 0;
    border: none;
  }

  .comparison-table tbody td:nth-child(1) {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
  }

  .comparison-table tbody td:nth-child(2) {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.5rem;
    color: #991b1b;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .comparison-table tbody td:nth-child(2)::before {
    content: "Papel Tradicional:";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #dc2626;
    margin-bottom: 0.2rem;
  }

  .comparison-table tbody td:nth-child(3) {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    color: #166534;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .comparison-table tbody td:nth-child(3)::before {
    content: "Plataforma DeCaLogic:";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #16a34a;
    margin-bottom: 0.2rem;
  }
}

/* SMARTPHONES COMPACTOS (<= 500px) */
@media (max-width: 500px) {
  .law-bar-content {
    grid-template-columns: 1fr;
  }

  .brand-logo span {
    font-size: 1.15rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .bento-header {
    gap: 0.85rem;
  }

  .bento-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .bento-title {
    font-size: 1.05rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .calc-box {
    padding: 1.25rem 1rem;
  }

  .calc-results {
    padding: 1.25rem 1rem;
  }

  .simulador-body, .simulador-header, .simulador-footer {
    padding: 1rem;
  }

  .simulador-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .simulador-row strong, .simulador-row span:last-child {
    text-align: left;
  }
}

/* PANTALLAS ULTRA COMPACTAS (<= 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-guide-btn {
    font-size: 0.7rem;
    padding: 0.5rem 0.65rem;
  }

  .stat-item {
    padding: 0.6rem 0.75rem;
  }

  .stat-item .stat-num {
    font-size: 1.15rem;
  }

  .stat-item .stat-label {
    font-size: 0.68rem;
  }

  .mockup-card {
    padding: 1rem 0.75rem;
  }
}

/* ============================================================
   DeCaLogic — Estilos Stepper Wizard Onboarding Landing 2026
   ============================================================ */
.pub-stepper-container {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(17, 29, 61, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.15);
  overflow: hidden;
}

.pub-stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1.25rem;
  background: rgba(11, 19, 41, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.pub-step-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  z-index: 2;
  cursor: default;
  transition: var(--transition);
}

.pub-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.pub-step-badge.active {
  color: #ffffff;
}

.pub-step-badge.active .pub-step-circle {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
  transform: scale(1.08);
}

.pub-step-badge.completed .pub-step-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

.pub-stepper-body {
  padding: 2.25rem 2rem;
}

.pub-step-pane {
  animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pub-stepper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem 1.75rem;
  background: rgba(11, 19, 41, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pub-summary-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.pub-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.pub-summary-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.pub-summary-item strong {
  font-size: 0.95rem;
  color: #ffffff;
}

@media (max-width: 640px) {
  .pub-stepper-header {
    padding: 1rem;
  }
  .pub-step-badge span.step-title-txt {
    display: none;
  }
  .pub-stepper-body {
    padding: 1.5rem 1rem;
  }
  .pub-stepper-footer {
    padding: 1rem;
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .pub-stepper-footer button {
    width: 100%;
  }
}

/* ============================================================
   PÁGINAS LEGALES (Aviso Legal, Privacidad, Cookies)
   ============================================================ */
.legal-page {
  background: var(--dark-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-container {
  padding-top: 100px;
  padding-bottom: 60px;
  flex: 1;
}

.legal-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-box-highlight {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-box-highlight ul {
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.legal-box-highlight li {
  margin-bottom: 0.4rem;
}

.legal-alert-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.legal-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 1.75rem 1.25rem;
  }
  .legal-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   WIDGET FLOTANTE DE WHATSAPP DIRECTO
   ============================================================ */
.whatsapp-float-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: waPulse 2s infinite;
  z-index: -1;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-float-badge {
  background: rgba(11, 19, 41, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
}

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

@media (max-width: 640px) {
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .whatsapp-float-badge {
    display: none;
  }
}

/* ============================================================
   BOTÓN FLOTANTE "VOLVER ARRIBA" (SCROLL TO TOP)
   ============================================================ */
.back-to-top-btn {
  position: fixed;
  bottom: 95px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(30, 58, 138, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

@media (max-width: 640px) {
  .back-to-top-btn {
    bottom: 82px;
    right: 24px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* ============================================================
   BANNER DE CONSENTIMIENTO DE COOKIES RGPD / AEPD
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 19, 41, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1.25rem 0;
  z-index: 10000;
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.cookie-text strong {
  color: #ffffff;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .cookie-actions button {
    flex: 1;
  }
}

/* ============================================================
   SECCIÓN DE CAPTURAS & SHOWCASE DE LA APLICACIÓN
   ============================================================ */
.section-capturas {
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15) 0%, #080e22 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.showcase-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.showcase-tab {
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.showcase-tab:hover {
  color: #fff;
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.showcase-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  border-color: #38bdf8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.showcase-display {
  max-width: 1050px;
  margin: 0 auto;
}

.showcase-panel {
  animation: fadeInScale 0.35s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mockup-browser-frame {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 99, 235, 0.15);
  margin-bottom: 2rem;
}

.mockup-browser-header {
  background: #1e293b;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-address-bar {
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  padding: 0.25rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.mockup-badge-live {
  font-size: 0.68rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-badge-live .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.mockup-img-wrapper {
  position: relative;
  background: #0b1329;
  line-height: 0;
}

.mockup-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mockup-browser-frame:hover .mockup-screenshot {
  transform: scale(1.01);
}

.showcase-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.showcase-feat-item {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.showcase-feat-item:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.showcase-feat-item i {
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.showcase-feat-item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.showcase-feat-item p {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}


