/*
Theme Name: DiscoMóvil BCN - Divi Child
Theme URI: https://discomovilbcn.es
Description: Tema child de Divi personalizado para DiscoMóvil BCN con diseño moderno oscuro y acentos neón
Author: DiscoMóvil BCN
Author URI: https://discomovilbcn.es
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: discomovil-bcn-child
*/

/* ============================================
   IMPORTACIONES DE FUENTES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
  /* Colores principales */
  --dm-neon-yellow: #d4ff00;
  --dm-neon-orange: #ff4d00;
  --dm-dark-bg: #0a0a0a;
  --dm-surface: #1a1a1a;
  --dm-border: #333333;
  --dm-white: #ffffff;
  --dm-white-70: rgba(255, 255, 255, 0.7);
  --dm-white-60: rgba(255, 255, 255, 0.6);
  --dm-white-50: rgba(255, 255, 255, 0.5);
  --dm-white-40: rgba(255, 255, 255, 0.4);
  --dm-white-10: rgba(255, 255, 255, 0.1);
  --dm-white-5: rgba(255, 255, 255, 0.05);
  
  /* Fuentes */
  --dm-font-heading: 'Oswald', sans-serif;
  --dm-font-body: 'Open Sans', sans-serif;
  
  /* Sombras */
  --dm-shadow-glow: 0 0 20px rgba(212, 255, 0, 0.4);
  --dm-shadow-glow-lg: 0 0 40px rgba(212, 255, 0, 0.5);
}

/* ============================================
   ESTILOS BASE
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dm-dark-bg) !important;
  color: var(--dm-white);
}

/* Selección de texto */
::selection {
  background: var(--dm-neon-yellow);
  color: var(--dm-dark-bg);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dm-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--dm-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dm-neon-yellow);
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */
h1, h2, h3, h4, h5, h6,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_text h6 {
  font-family: var(--dm-font-heading) !important;
}

/* Títulos con gradiente */
.dm-text-gradient {
  background: linear-gradient(135deg, var(--dm-neon-yellow) 0%, #a8cc00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BOTONES PERSONALIZADOS
   ============================================ */
.dm-btn-primary {
  background-color: var(--dm-neon-yellow) !important;
  color: var(--dm-dark-bg) !important;
  padding: 16px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.dm-btn-primary:hover {
  box-shadow: var(--dm-shadow-glow-lg) !important;
  transform: scale(1.02) !important;
}

.dm-btn-secondary {
  background-color: transparent !important;
  color: var(--dm-white) !important;
  padding: 16px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border: 2px solid var(--dm-white-30) !important;
  transition: all 0.3s ease !important;
}

.dm-btn-secondary:hover {
  border-color: var(--dm-neon-yellow) !important;
  color: var(--dm-neon-yellow) !important;
}

/* Botones de Divi override */
.et_pb_button {
  font-family: var(--dm-font-body) !important;
}

.et_pb_button.dm-btn-primary {
  background-color: var(--dm-neon-yellow) !important;
  color: var(--dm-dark-bg) !important;
}

.et_pb_button.dm-btn-primary:after {
  display: none !important;
}

/* ============================================
   EFECTOS GLOW
   ============================================ */
.dm-glow {
  box-shadow: var(--dm-shadow-glow);
}

.dm-glow-lg {
  box-shadow: var(--dm-shadow-glow-lg);
}

.dm-border-glow {
  border-color: rgba(212, 255, 0, 0.5) !important;
  box-shadow: 0 0 10px rgba(212, 255, 0, 0.2);
}

/* ============================================
   CARDS PERSONALIZADAS
   ============================================ */
.dm-card {
  background-color: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.5s ease;
}

.dm-card:hover {
  border-color: rgba(212, 255, 0, 0.5);
  transform: translateY(-8px);
}

/* ============================================
   SECCIONES
   ============================================ */
.dm-section-dark {
  background-color: var(--dm-dark-bg) !important;
}

.dm-section-surface {
  background-color: var(--dm-surface) !important;
}

/* ============================================
   NAVEGACIÓN PERSONALIZADA
   ============================================ */
#main-header {
  background-color: transparent !important;
  box-shadow: none !important;
}

#main-header.et-fixed-header {
  background-color: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

#et-top-navigation {
  font-weight: 500;
}

#top-menu li a {
  color: var(--dm-white-80) !important;
  transition: color 0.3s ease;
}

#top-menu li a:hover {
  color: var(--dm-neon-yellow) !important;
}

#top-menu li.current-menu-item a {
  color: var(--dm-neon-yellow) !important;
}

/* Logo */
.logo_container {
  font-family: var(--dm-font-heading);
}

/* CTA en menú */
.et_menu_container .et_pb_button {
  background-color: var(--dm-neon-yellow) !important;
  color: var(--dm-dark-bg) !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.dm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.dm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 1));
  pointer-events: none;
}

.dm-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 8px 16px;
}

.dm-hero-tag-icon {
  color: var(--dm-neon-yellow);
}

.dm-hero-tag-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* Stats en hero */
.dm-hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-hero-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-hero-stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--dm-neon-yellow);
}

.dm-hero-stat-value {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--dm-white);
}

.dm-hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.dm-about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--dm-neon-yellow);
  color: var(--dm-dark-bg);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--dm-shadow-glow-lg);
}

.dm-about-badge-value {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

.dm-about-badge-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

/* Feature items */
.dm-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212, 255, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dm-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dm-neon-yellow);
}

.dm-feature-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.dm-service-card {
  position: relative;
  background: var(--dm-dark-bg);
  border: 1px solid var(--dm-border);
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
  transition: all 0.5s ease;
}

.dm-service-card:hover {
  border-color: rgba(212, 255, 0, 0.5);
  transform: translateY(-8px);
}

.dm-service-card-gradient {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 16px;
}

.dm-service-card:hover .dm-service-card-gradient {
  opacity: 1;
}

.dm-service-card-content {
  position: relative;
  z-index: 1;
}

.dm-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(212, 255, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s ease;
}

.dm-service-card:hover .dm-service-icon {
  background: rgba(212, 255, 0, 0.2);
}

.dm-service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--dm-neon-yellow);
}

.dm-service-title {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--dm-white);
  margin-bottom: 12px;
}

.dm-service-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Service item pequeño */
.dm-service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.dm-service-item:hover {
  border-color: rgba(212, 255, 0, 0.3);
  transform: translateY(-4px);
}

.dm-service-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212, 255, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dm-service-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dm-neon-yellow);
}

.dm-service-item-title {
  font-weight: 600;
  color: var(--dm-white);
  margin-bottom: 4px;
}

.dm-service-item-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.dm-stats-section {
  background: linear-gradient(to bottom, var(--dm-dark-bg), var(--dm-surface));
  border-top: 1px solid var(--dm-border);
  border-bottom: 1px solid var(--dm-border);
}

.dm-stat-item {
  text-align: center;
}

.dm-stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(212, 255, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dm-stat-icon svg {
  width: 32px;
  height: 32px;
  color: var(--dm-neon-yellow);
}

.dm-stat-value {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  font-size: 48px;
  color: var(--dm-white);
  margin-bottom: 8px;
}

.dm-stat-label {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.dm-testimonial-card {
  background: var(--dm-surface);
  border: 1px solid var(--dm-border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
}

.dm-testimonial-quote {
  position: absolute;
  top: -24px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--dm-neon-yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-testimonial-quote svg {
  width: 24px;
  height: 24px;
  color: var(--dm-dark-bg);
}

.dm-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.dm-testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--dm-neon-yellow);
  color: var(--dm-neon-yellow);
}

.dm-testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  min-height: 120px;
}

.dm-testimonial-author {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--dm-white);
}

.dm-testimonial-event {
  color: rgba(255, 255, 255, 0.5);
}

/* Navegación del carrusel */
.dm-testimonial-nav {
  display: flex;
  gap: 8px;
}

.dm-testimonial-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--dm-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dm-testimonial-nav-btn:hover {
  border-color: var(--dm-neon-yellow);
  color: var(--dm-neon-yellow);
}

.dm-testimonial-nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Dots indicador */
.dm-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dm-testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dm-testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.dm-testimonial-dot.active {
  width: 32px;
  background: var(--dm-neon-yellow);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.dm-faq-item {
  background: var(--dm-dark-bg);
  border: 1px solid var(--dm-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dm-faq-item.active {
  border-color: rgba(212, 255, 0, 0.3);
}

.dm-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

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

.dm-faq-question-text {
  font-weight: 600;
  color: var(--dm-white);
  padding-right: 16px;
}

.dm-faq-icon {
  width: 20px;
  height: 20px;
  color: var(--dm-neon-yellow);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.dm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.dm-faq-item.active .dm-faq-answer {
  max-height: 500px;
}

.dm-faq-answer-content {
  padding: 0 24px 20px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.dm-cta-section {
  position: relative;
  overflow: hidden;
}

.dm-cta-bg {
  position: absolute;
  inset: 0;
}

.dm-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
}

.dm-cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dm-dark-bg), transparent, var(--dm-dark-bg));
}

.dm-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.dm-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(212, 255, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.dm-cta-icon svg {
  width: 40px;
  height: 40px;
  color: var(--dm-neon-yellow);
}

.dm-cta-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.dm-cta-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.dm-cta-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--dm-neon-yellow);
}

/* ============================================
   FOOTER
   ============================================ */
.dm-footer {
  background: var(--dm-dark-bg);
  border-top: 1px solid var(--dm-border);
}

.dm-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dm-footer-brand svg {
  width: 32px;
  height: 32px;
  color: var(--dm-neon-yellow);
}

.dm-footer-brand-text {
  font-family: var(--dm-font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--dm-white);
}

.dm-footer-brand-text span {
  color: var(--dm-neon-yellow);
}

.dm-footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.dm-footer-social {
  display: flex;
  gap: 12px;
}

.dm-footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.dm-footer-social-link:hover {
  background: var(--dm-neon-yellow);
  color: var(--dm-dark-bg);
}

.dm-footer-social-link svg {
  width: 20px;
  height: 20px;
}

.dm-footer-title {
  font-family: var(--dm-font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--dm-white);
  margin-bottom: 24px;
}

.dm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dm-footer-links li {
  margin-bottom: 12px;
}

.dm-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s ease;
}

.dm-footer-links a:hover {
  color: var(--dm-neon-yellow);
}

.dm-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.dm-footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--dm-neon-yellow);
  flex-shrink: 0;
}

.dm-footer-bottom {
  border-top: 1px solid var(--dm-border);
  padding: 24px 0;
}

.dm-footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.dm-footer-legal {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  transition: color 0.3s ease;
}

.dm-footer-legal:hover {
  color: var(--dm-neon-yellow);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes dm-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dm-pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 255, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 255, 0, 0.6);
  }
}

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

.dm-animate-fadeInUp {
  animation: dm-fadeInUp 0.6s ease-out forwards;
}

.dm-animate-pulseGlow {
  animation: dm-pulseGlow 2s ease-in-out infinite;
}

.dm-animate-float {
  animation: dm-float 3s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .dm-hero {
    min-height: auto;
    padding: 120px 0 80px;
  }
  
  .dm-stat-value {
    font-size: 36px;
  }
  
  .dm-testimonial-card {
    padding: 32px;
  }
  
  .dm-testimonial-text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .dm-about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 24px;
    display: inline-block;
  }
  
  .dm-hero-stat {
    justify-content: center;
  }
  
  .dm-cta-contact {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ============================================
   OVERRIDE DIVI DEFAULTS
   ============================================ */
.et_pb_row {
  padding: 0 !important;
}

.et_pb_column {
  margin-bottom: 0 !important;
}

.et_pb_section {
  padding: 0 !important;
}

/* Fondo oscuro para todas las secciones por defecto */
.et_pb_section:not(.et_pb_section_0) {
  background-color: var(--dm-dark-bg);
}

/* Texto blanco por defecto */
.et_pb_text {
  color: var(--dm-white);
}

/* Links */
a {
  color: var(--dm-neon-yellow);
  transition: color 0.3s ease;
}

a:hover {
  color: #b8e600;
}

/* Formularios */
input, textarea, select {
  background: var(--dm-surface) !important;
  border: 1px solid var(--dm-border) !important;
  color: var(--dm-white) !important;
  border-radius: 8px !important;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--dm-neon-yellow) !important;
  box-shadow: 0 0 0 2px rgba(212, 255, 0, 0.2) !important;
}

/* Placeholder */
::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}
