/**
 * Socii Custom Styles - ALTA ESPECIFICIDAD
 * Diseño personalizado replicando app.socii.pro
 * IMPORTANTE: Este CSS debe sobrescribir TODO el CSS de Quark
 */

/* ============================================
   IMPORTS - Fuentes e Iconos
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/* ============================================
   VARIABLES CSS - Sistema de Diseño
   ============================================ */
:root {
  /* Colores Principales */
  --socii-primary: #2563EB !important;
  --socii-primary-light: #3B82F6 !important;
  --socii-primary-dark: #1D4ED8 !important;
  --socii-secondary: #F59E0B !important;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1D4ED8 100%) !important;
  --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}

/* ============================================
   RESET TIPOGRAFÍA - FORZAR OUTFIT
   ============================================ */
body,
#page-wrapper body,
.modular body,
body * {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* ============================================
   MATERIAL DESIGN ICONS - CONFIGURACIÓN
   ============================================ */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased !important;
}

/* ============================================
   SECCIÓN HERO - ESTILO COMPLETO
   ============================================ */
.modular .hero-section,
section.hero-section {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1D4ED8 100%) !important;
  color: white !important;
  padding: 6rem 2rem !important;
  text-align: center !important;
  margin: 0 !important;
}

.hero-section h1,
.hero-section h2 {
  color: white !important;
  font-size: 3rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem !important;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.25rem !important;
  margin-bottom: 2rem !important;
}

/* ============================================
   BOTONES - DISEÑO COMPLETO
   ============================================ */
.btn,
a.btn,
.hero-buttons a,
.hero-buttons .btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
}

.btn-primary,
a[href*=register],
a[href*=Prueba] {
  background: white !important;
  color: #2563EB !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

.btn-primary:hover {
  background: #f9fafb !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

.btn-secondary {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* ============================================
   TARJETAS - DISEÑO COMPLETO
   ============================================ */
.card,
.modular .card {
  background: white !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e5e7eb !important;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0,0,0,0.1) !important;
  transform: translateY(-4px) !important;
}

/* ============================================
   SECCIÓN PRECIOS - DISEÑO ESPECÍFICO
   ============================================ */
.pricing-card {
  position: relative !important;
  background: white !important;
  border-radius: 1rem !important;
  padding: 2.5rem !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  border: 2px solid #e5e7eb !important;
}

.pricing-card.popular {
  border: 3px solid #2563EB !important;
  transform: scale(1.05) !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2) !important;
}

.badge,
.pricing-badge {
  display: inline-flex !important;
  padding: 0.5rem 1rem !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: white !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.price-amount {
  font-size: 3rem !important;
  font-weight: 800 !important;
  color: #2563EB !important;
  line-height: 1 !important;
}

.price-old {
  text-decoration: line-through !important;
  color: #9ca3af !important;
  font-size: 1.25rem !important;
}

/* ============================================
   FAQ - ACCORDION
   ============================================ */
details.faq-item {
  background: white !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
  border: 1px solid #e5e7eb !important;
  transition: all 0.3s ease !important;
}

details.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

details.faq-item[open] {
  border-left: 4px solid #2563EB !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1) !important;
}

details.faq-item summary {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  cursor: pointer !important;
  list-style: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

details.faq-item summary::-webkit-details-marker {
  display: none !important;
}

/* ============================================
   ICONOS - TAMAÑOS Y COLORES
   ============================================ */
.card-icon,
.feature-icon {
  width: 3.5rem !important;
  height: 3.5rem !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%) !important;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1rem !important;
}

.card-icon .material-symbols-outlined,
.feature-icon .material-symbols-outlined {
  color: white !important;
  font-size: 2rem !important;
}

/* ============================================
   TRUST BADGE
   ============================================ */
.trust-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.5rem !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 999px !important;
  color: white !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

/* ============================================
   COLORES DE TEXTO
   ============================================ */
.text-primary,
strong {
  color: #2563EB !important;
}

.text-secondary {
  color: #F59E0B !important;
}

/* ============================================
   BACKGROUNDS
   ============================================ */
.bg-gray-50 {
  background-color: #f9fafb !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1D4ED8 100%) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-section h1,
  .hero-section h2 {
    font-size: 2rem !important;
  }
  
  .hero-section {
    padding: 4rem 1rem !important;
  }
  
  .pricing-card.popular {
    transform: none !important;
  }
  
  .price-amount {
    font-size: 2.5rem !important;
  }
}

/* ============================================
   SOBRESCRIBIR ESTILOS DE QUARK ESPECÍFICOS
   ============================================ */
#body .modular,
.modular-row {
  padding: 0 !important;
  margin: 0 !important;
}

.modular .hero {
  padding: 0 !important;
  margin: 0 !important;
}

/* Quitar sombras y bordes de Quark */
.modular .card.spectre,
.modular .features .card {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  border: 1px solid #e5e7eb !important;
}

/* ============================================
   HEADER - ESTILO SOCII
   ============================================ */
#header {
  background: #2563EB !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

#header .navbar,
#header .navbar a,
#header .navbar-section a,
#header nav a,
#header .navigation a {
  color: white !important;
}

#header .navbar a:hover,
#header .navigation a:hover {
  color: #fbbf24 !important;
}

#header .logo h3,
#header .logo a {
  color: white !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
}

/* Header cuando está fixed */
body.header-fixed #header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: #2563EB !important;
}

/* Ajustar padding del body para compensar header fixed */
body.header-fixed {
  padding-top: 80px !important;
}

/* ============================================
   MENÚ HAMBURGUESA - SOBRESCRIBIR TODO
   ============================================ */
#menu-toggle .material-symbols-outlined {
  font-size: 2rem !important;
  font-weight: 300 !important;
}

/* ============================================
   FORMULARIO CONTACTO - CENTRAR reCAPTCHA Y BOTÓN
   ============================================ */
#contacto-wrapper .form-field.captcha {
  display: flex !important;
  justify-content: center !important;
  margin: 1.5rem 0 !important;
}

#contacto-wrapper .form-actions {
  display: flex !important;
  justify-content: center !important;
  margin-top: 1.5rem !important;
}

#contacto-wrapper .form-actions button[type=submit] {
  background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%) !important;
  color: white !important;
  padding: 1rem 3rem !important;
  border: none !important;
  border-radius: 0.5rem !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3) !important;
  transition: transform 0.2s ease !important;
}

#contacto-wrapper .form-actions button[type=submit]:hover {
  transform: translateY(-2px) !important;
}

/* ============================================
   FORMULARIO - FORZAR CENTRADO
   ============================================ */
.form-field.captcha,
.form-field[data-type="captcha"],
div.g-recaptcha {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 1.5rem auto !important;
  width: 100% !important;
}

.form-actions,
.form-button-wrapper,
form .buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}

/* Asegurar que el iframe de reCAPTCHA se centre */
.g-recaptcha > div {
  margin: 0 auto !important;
}

/* ============================================
   RECAPTCHA Y BOTÓN - CENTRADO DEFINITIVO
   ============================================ */
.g-recaptcha-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 2rem 0 !important;
  width: 100% !important;
}

#g-recaptcha-contacto {
  display: inline-block !important;
  margin: 0 auto !important;
}

#contacto-wrapper .form-group.captcha,
#contacto-wrapper .form-field.captcha {
  text-align: center !important;
  display: block !important;
  margin: 2rem 0 !important;
}

/* ============================================
   PRECIOS - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    section > div > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    section > div > div > div[style*="transform: scale(1.05)"] {
        transform: none !important;
    }
}
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #334155;
}

.footer-hero h3 {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-hero p {
    color: #94a3b8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

footer h4 {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #2563EB;
}

.footer-copyright {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-copyright p {
    margin: 0;
}

@media (max-width: 768px) {
