/* ==============================================================================
   tuCurrante.com - Hoja de Estilos Oficial de la Web Promocional
   Diseño Moderno, Glassmorphism, Micro-interacciones y 100% Responsive Móvil
   ============================================================================== */

:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #f0fdfa;
  --primary-glow: rgba(13, 148, 136, 0.25);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --secondary-border: #334155;
  
  --accent: #f59e0b;
  --accent-hover: #d97706;
  
  --bg-main: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --bg-light: #f8fafc;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --text-dark-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: #e2e8f0;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(13, 148, 136, 0.35);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Tipografía y Enlaces */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilidades */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: #2dd4bf;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-glow {
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
  animation: pulse-badge 3s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.98); }
}

/* ==============================================================================
   Botones Premium
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ==============================================================================
   Barra Superior de Anuncio y Header Responsive
   ============================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #0f766e 0%, #0d9488 50%, #0369a1 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.announcement-badge {
  font-weight: 800;
  color: #fef08a;
}

.announcement-link {
  text-decoration: underline;
  margin-left: 6px;
  color: #a5f3fc;
  font-weight: 700;
  display: inline-block;
}

.announcement-link:hover {
  color: #ffffff;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand-info {
  display: flex;
  flex-direction: column;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav-brand-text {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
  line-height: 1.1;
}

.nav-brand-text span {
  color: var(--primary);
}

.nav-brand-tagline {
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 10px 18px;
  font-size: 13.5px;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 20px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Menú Móvil Desplegable */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(13, 148, 136, 0.15);
  border-color: var(--primary);
  color: #2dd4bf;
}

.mobile-menu-actions {
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Media Queries para Header */
@media (max-width: 1240px) {
  .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 13px;
  }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-actions .nav-btn-login {
    display: none;
  }
  .nav-actions .nav-btn-register {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .top-announcement-bar {
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .nav-container {
    height: 62px;
    padding: 0 16px;
    gap: 10px;
  }
  .nav-logo-img {
    height: 32px;
  }
  .nav-brand-text {
    font-size: 16px;
  }
  .nav-brand-tagline {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .nav-actions .nav-btn-register {
    display: none;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, rgba(11, 15, 25, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 20px 0;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 15px;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ==============================================================================
   Hero Preview / Mockup interactivo
   ============================================================================== */
.hero-mockup-wrapper {
  margin-top: 50px;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.hero-mockup-screen {
  background: #0f172a;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.mockup-topbar {
  background: #1e293b;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--secondary-border);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url {
  background: #0f172a;
  padding: 4px 20px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font-mono);
  color: #38bdf8;
  border: 1px solid var(--secondary-border);
}

/* ==============================================================================
   Especialidades y Gremios (Tabs interactivos)
   ============================================================================== */
.trades-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.trade-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.trade-tab-btn:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.trade-tab-btn.active {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(13, 148, 136, 0.05));
  border-color: var(--primary);
  color: #2dd4bf;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.25);
}

.trade-content-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.trade-content-card.active {
  display: grid;
}

@media (max-width: 900px) {
  .trade-content-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.trade-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
}

.trade-features-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #cbd5e1;
}

.trade-features-list li span.check {
  color: #2dd4bf;
  font-weight: 900;
}

/* ==============================================================================
   Simulador Interactivo de Ventanas / Planos Técnicos 2D
   ============================================================================== */
.simulator-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .simulator-section-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.simulator-box {
  background: #0f172a;
  border: 1px solid var(--secondary-border);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}

.simulator-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #334155;
  padding-bottom: 10px;
  gap: 8px;
}

.simulator-box-title {
  font-weight: 800;
  font-size: 14px;
  color: #f8fafc;
}

.simulator-box-badge {
  font-size: 11px;
  background: #065f46;
  color: #6ee7b7;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
}

.sim-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.sim-control-group {
  min-width: 0;
}

.sim-control-group.full-width {
  grid-column: span 2;
}

.sim-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.sim-select, .sim-input {
  width: 100%;
  box-sizing: border-box;
  background: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.sim-select:focus, .sim-input:focus {
  border-color: var(--primary);
}

.sim-canvas-area {
  background: #ffffff;
  border-radius: var(--radius-sm);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sim-canvas-area svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.sim-price-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.4);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #2dd4bf;
  font-weight: 700;
  font-size: 13.5px;
  gap: 8px;
}

.sim-price-number {
  font-size: 20px;
  font-family: var(--font-mono);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .simulator-box {
    padding: 16px;
  }
  .sim-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sim-control-group.full-width {
    grid-column: span 1;
  }
  .sim-canvas-area {
    height: 180px;
    padding: 8px;
  }
  .sim-price-badge {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding: 10px 14px;
  }
}

/* ==============================================================================
   Ventajas y Características Clave (Grid)
   ============================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 148, 136, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #2dd4bf;
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================================================
   Paso a Paso / Flujo de Trabajo
   ============================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

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

/* ==============================================================================
   Tabla Comparativa (Método Tradicional vs tuCurrante.com)
   ============================================================================== */
.comparison-section {
  background: #0d1322;
}

.comparison-table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.comparison-table thead tr {
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
}

.comparison-table th {
  padding: 20px 24px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.comparison-table th.col-process {
  color: #94a3b8;
  font-weight: 700;
  width: 26%;
}

.comparison-table th.col-traditional {
  color: #f87171;
  font-weight: 800;
  width: 37%;
}

.comparison-table th.col-tucurrante {
  color: #2dd4bf;
  font-weight: 900;
  background: rgba(13, 148, 136, 0.1);
  width: 37%;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
}

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

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td {
  padding: 18px 24px;
  vertical-align: middle;
  line-height: 1.5;
}

.comparison-table td.col-process {
  font-weight: 700;
  color: #ffffff;
}

.comparison-table td.col-traditional {
  color: #cbd5e1;
}

.comparison-table td.col-tucurrante {
  color: #2dd4bf;
  background: rgba(13, 148, 136, 0.04);
}

.comparison-table td.col-tucurrante strong {
  color: #ffffff;
}

/* Versión Móvil en Tarjetas Comparativas */
.comparison-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.comp-mobile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.comp-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.comp-card-row {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-card-row:last-child {
  margin-bottom: 0;
}

.comp-card-row.comp-bad {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.comp-card-row.comp-bad p {
  font-size: 13.5px;
  color: #fca5a5;
  line-height: 1.45;
}

.comp-card-row.comp-good {
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.35);
}

.comp-card-row.comp-good p {
  font-size: 13.5px;
  color: #99f6e4;
  line-height: 1.45;
}

.comp-card-row.comp-good p strong {
  color: #ffffff;
}

.comp-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comp-tag.bad {
  color: #f87171;
}

.comp-tag.good {
  color: #2dd4bf;
}

@media (max-width: 768px) {
  .comparison-table-wrapper {
    display: none;
  }
  .comparison-mobile-cards {
    display: flex;
  }
}

/* ==============================================================================
   Tarifas / Precios
   ============================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #111e2e 0%, #0f172a 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 0 40px rgba(13, 148, 136, 0.25);
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pricing-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.pricing-plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 16px;
  font-family: var(--font-mono);
}

.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li span.icon {
  color: #2dd4bf;
  font-weight: bold;
}

/* ==============================================================================
   Preguntas Frecuentes (FAQ Accordion)
   ============================================================================== */
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  transition: transform 0.3s;
  font-size: 18px;
  color: var(--primary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

/* ==============================================================================
   CTA Final Banner
   ============================================================================== */
.final-cta-card {
  background: linear-gradient(135deg, #0d9488 0%, #0f172a 100%);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
  .final-cta-card {
    padding: 40px 20px;
  }
}

.final-cta-card h2 {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .final-cta-card h2 {
    font-size: 26px;
  }
}

.final-cta-card p {
  font-size: 16px;
  color: #e2e8f0;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ==============================================================================
   Footer
   ============================================================================== */
.footer {
  background: #070a11;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

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

.footer-col h5 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==============================================================================
   Páginas Legales (Aviso Legal, Privacidad, Términos, Cookies)
   ============================================================================== */
.legal-header-section {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.1) 0%, rgba(11, 15, 25, 0) 100%);
  border-bottom: 1px solid var(--border-color);
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.legal-breadcrumbs a:hover {
  text-decoration: underline;
}

.legal-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

.legal-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2dd4bf;
  margin: 20px 0 10px;
}

.legal-card p {
  margin-bottom: 16px;
}

.legal-card ul, .legal-card ol {
  margin: 12px 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-card li {
  color: #cbd5e1;
}

.legal-card strong {
  color: #ffffff;
}

.legal-card a {
  color: #2dd4bf;
  text-decoration: underline;
}

.legal-card a:hover {
  color: #ffffff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13.5px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.legal-table th, .legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 28px;
  }
  .legal-card {
    padding: 24px 18px;
  }
  .legal-card h2 {
    font-size: 19px;
  }
}
