/* ==========================================================
   JIGOX FINAL ORANGE FIXES
   Corrige restos morados y compacta secciones del index.
   Cargar este archivo DESPUÉS de main.css, elements.css y responsive.css.
========================================================== */
:root{
  --jx-orange:#ff7a00;
  --jx-orange-2:#ff9d2e;
  --jx-orange-3:#ffb000;
  --jx-orange-dark:#c94f00;
  --jx-black:#050505;
  --jx-black-2:#0c0c0c;
  --jx-white:#ffffff;
  --jx-muted:#d7d7d7;
  --jx-border:rgba(255,122,0,.24);
}

/* Quitar morado global */
::selection{background:var(--jx-orange)!important;color:#050505!important;}
::-moz-selection{background:var(--jx-orange)!important;color:#050505!important;}
::-webkit-scrollbar-thumb{background:var(--jx-orange)!important;}
.site-preloader .spinner{background-color:var(--jx-orange)!important;}
.dl-cursor:before{background:var(--jx-orange)!important;opacity:.42!important;}
.dl-cursor.cursor-grow:before{opacity:.62!important;}

/* Botón subir */
#scrollup,
#scroll-top,
.scroll-to-top{border-radius:16px!important;}
#scroll-top,
.scroll-to-top{
  background:linear-gradient(135deg,var(--jx-orange),var(--jx-orange-3))!important;
  color:#050505!important;
  box-shadow:0 16px 32px rgba(255,122,0,.32)!important;
}
.scroll-to-top i,
#scroll-top i{color:#050505!important;}
.scroll-to-top:hover,
#scroll-top:hover{opacity:1!important;filter:brightness(1.07);transform:translateY(0) scale(1.03)!important;}

/* Menú, enlaces, iconos, footer */
.header-menu-wrap ul li>a:hover,
.header-menu-wrap ul li.active>a,
.header-menu-wrap ul li>a.active,
a:hover,
.footer-contact li span,
.widget-title h3,
.section-heading h3,
.jx-section-title h3,
.contact-title h2 span{
  color:var(--jx-orange)!important;
}
.header-menu-wrap ul li>a:before,
.header-menu-wrap ul li>a:after,
.widget-title h3:before,
.widget-title h3:after{
  background:var(--jx-orange)!important;
}
.social-list li a,
.contact-section .contact-details li i{
  background:rgba(255,122,0,.16)!important;
  border:1px solid rgba(255,122,0,.25)!important;
}
.social-list li a:hover,
.contact-section .contact-details li i:hover{
  background:var(--jx-orange)!important;
  color:#050505!important;
}
.footer-section{
  background:
    radial-gradient(circle at 15% 18%, rgba(255,122,0,.10), transparent 26%),
    linear-gradient(180deg,#050505 0%, #080808 100%)!important;
  border-top:1px solid rgba(255,122,0,.18)!important;
}
.copyright-wrap{margin-top:70px!important;}
.copyright-wrap:before{
  background:linear-gradient(135deg,var(--jx-orange),var(--jx-orange-3))!important;
  opacity:.96!important;
  box-shadow:0 -10px 28px rgba(255,122,0,.16)!important;
}
.copyright-wrap p{
  color:#050505!important;
  font-weight:800!important;
  letter-spacing:.1px;
}

/* Figuras del hero y figuras del template en naranja */
.hero-section:before,
.latest-matches-list:before,
.promo-item:before,
.testimonial-item:before{
  background:linear-gradient(90deg,rgba(255,122,0,0),rgba(255,122,0,.95),rgba(255,122,0,0))!important;
}
.hero-element .shape,
.hero-element .shape:before,
.team-thumb .shape,
.team-content h3,
.team-content:before,
.team-details-wrap,
.match-info,
.match-category,
.post-category,
.play-btn,
.subscribe-form .submit,
.match-details-header .vs{
  background:linear-gradient(135deg,#ff7a00 0%,#ff9d2e 42%,#ffb000 100%)!important;
  color:#050505!important;
}
.hero-element .shape:before,
.team-thumb .shape:before,
.team-details-wrap:before{
  background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.22),rgba(255,255,255,.22) 1px,transparent 1px,transparent 6px)!important;
}
.participate-team:before,
.participate-team:after{
  background:linear-gradient(135deg,#ff7a00,#ffb000)!important;
}
.match-details-header,
.latest-matches-list,
.promo-item,
.testimonial-item,
.sponsor-grid .sponsor-item,
.accordion-item{
  background:linear-gradient(90deg,rgba(255,122,0,.08),rgba(255,122,0,.22),rgba(255,122,0,.08))!important;
}
.watch-info a:hover,
.swiper-pagination-bullet-active{color:var(--jx-orange)!important;background:var(--jx-orange)!important;}

/* Chatbot naranja */
.jx-chat-toggle,
.jx-chat-form button{
  background:linear-gradient(135deg,var(--jx-orange),var(--jx-orange-3))!important;
  color:#050505!important;
  box-shadow:0 18px 42px rgba(255,122,0,.32)!important;
}
.jx-chat-badge{background:#fff!important;border-color:#050505!important;}
.jx-chat-panel{border-color:rgba(255,122,0,.28)!important;background:rgba(5,5,5,.98)!important;}
.jx-chat-header{background:linear-gradient(135deg,rgba(255,122,0,.25),rgba(255,255,255,.06))!important;}
.jx-chat-message.user .jx-bubble{background:linear-gradient(135deg,var(--jx-orange),var(--jx-orange-2))!important;color:#050505!important;}
.jx-chip{border-color:rgba(255,122,0,.38)!important;background:rgba(255,122,0,.10)!important;color:#fff!important;}
.jx-chip:hover{border-color:rgba(255,122,0,.68)!important;background:rgba(255,122,0,.20)!important;}

/* Herramientas compactas */
.jx-tools-compact-section{padding:76px 0!important;}
.jx-tool-tabs{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:18px;
  position:relative;
  z-index:1;
}
.jx-tool-panel{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  border:1px solid rgba(255,122,0,.18);
  border-radius:24px;
  padding:22px;
  box-shadow:0 24px 54px rgba(0,0,0,.30);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.jx-tool-panel:hover{transform:translateY(-4px);border-color:rgba(255,122,0,.45);box-shadow:0 30px 64px rgba(255,122,0,.10);}
.jx-tool-panel.featured{grid-row:span 2;background:radial-gradient(circle at 15% 15%,rgba(255,122,0,.18),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025));}
.jx-tool-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px;}
.jx-tool-icon{
  width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  background:linear-gradient(135deg,var(--jx-orange),var(--jx-orange-3));
  color:#050505;font-size:27px;box-shadow:0 18px 36px rgba(255,122,0,.22);
}
.jx-tool-head h3{color:#fff!important;font-size:22px;margin:0 0 5px;line-height:1.2;}
.jx-tool-head p{color:rgba(255,255,255,.68);margin:0;line-height:1.55;font-size:14px;}
.jx-tool-pills{display:flex;flex-wrap:wrap;gap:9px;}
.jx-tool-pills span{
  border:1px solid rgba(255,122,0,.28);
  background:rgba(255,122,0,.08);
  color:#fff2e6;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  line-height:1;
  font-weight:700;
}

/* FAQ desplegable */
.jx-faq-accordion-section{padding:76px 0!important;}
.jx-faq-accordion{
  max-width:980px;
  margin:0 auto;
  display:grid;
  gap:13px;
  position:relative;
  z-index:1;
}
.jx-faq-item{
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.022));
  border:1px solid rgba(255,122,0,.18);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.25);
}
.jx-faq-item summary{
  cursor:pointer;
  list-style:none;
  color:#fff;
  font-size:18px;
  font-weight:900;
  padding:20px 58px 20px 22px;
  position:relative;
}
.jx-faq-item summary::-webkit-details-marker{display:none;}
.jx-faq-item summary:after{
  content:"+";
  position:absolute;right:20px;top:50%;transform:translateY(-50%);
  width:30px;height:30px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,122,0,.12);border:1px solid rgba(255,122,0,.28);
  color:var(--jx-orange);font-size:22px;line-height:1;
}
.jx-faq-item[open] summary{background:linear-gradient(90deg,rgba(255,122,0,.16),rgba(255,255,255,.02));}
.jx-faq-item[open] summary:after{content:"–";background:linear-gradient(135deg,var(--jx-orange),var(--jx-orange-3));color:#050505;}
.jx-faq-item p{color:rgba(255,255,255,.72);margin:0;padding:0 22px 22px;line-height:1.7;}
.jx-cta-box.compact{max-width:980px;margin-left:auto;margin-right:auto;}

/* Reducir espacio visual donde se sienta pesado */
.jx-stack-grid{display:none!important;}
.jx-faq-grid{display:none!important;}
.jx-stack-card,.jx-faq-card{box-shadow:none!important;}

@media(max-width:991px){
  .jx-tool-tabs{grid-template-columns:1fr;}
  .jx-tool-panel.featured{grid-row:auto;}
  .copyright-wrap:before{width:70%!important;}
}
@media(max-width:767px){
  .jx-tools-compact-section,.jx-faq-accordion-section{padding:62px 0!important;}
  .jx-tool-panel{padding:20px;}
  .jx-tool-head{gap:12px;}
  .jx-tool-head h3{font-size:20px;}
  .jx-faq-item summary{font-size:16px;padding:18px 54px 18px 18px;}
  .jx-faq-item p{padding:0 18px 18px;}
  .copyright-wrap:before{width:100%!important;}
  .copyright-wrap p{text-align:center;}
}


/* =====================================================
   JIGOX - Limpieza de contenido y secciones menos saturadas
   ===================================================== */
.jx-intro-services .section-heading p,
.jx-client-focused-section .jx-section-title p,
.jx-process-clean-section .jx-section-title p,
.jx-tools-compact-section .jx-section-title p,
.jx-faq-accordion-section .jx-section-title p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.jx-intro-services .post-content-wrap { padding: 24px; }
.jx-intro-services .post-content h3 { font-size: 21px; line-height: 1.25; margin-bottom: 10px; }
.jx-intro-services .post-content p { font-size: 15.5px; line-height: 1.65; }
.jx-intro-services .post-thumb img { height: 230px; width: 100%; object-fit: cover; }

.jx-client-focused-section { padding: 76px 0; }
.jx-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-benefit { min-height: auto; padding: 24px; }
.compact-benefit p { font-size: 15.5px; }

.jx-process-clean-section { padding: 78px 0; }
.jx-process-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jx-process-mini-grid .jx-process-card { padding: 24px 22px; min-height: 190px; }
.jx-process-mini-grid .jx-process-card p { font-size: 15px; line-height: 1.6; }
.jx-process-mini-grid .jx-step-number { font-size: 46px; }

.jx-tool-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.jx-tool-summary .jx-tool-panel { padding: 22px; }
.jx-tool-summary .jx-tool-head h3 { margin-bottom: 4px; }
.jx-tool-summary .jx-tool-head p { margin-bottom: 0; font-size: 14.5px; }
.jx-tool-summary .jx-tool-pills span { margin-bottom: 0; }

.jx-games-section .jx-game-card p,
.jx-faq-accordion .jx-faq-item p { font-size: 15.5px; line-height: 1.65; }

#contacto-jigox .section-heading p { max-width: 540px; }

@media (max-width: 991px) {
    .jx-benefit-grid,
    .jx-process-mini-grid,
    .jx-tool-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .hero-content h1 { font-size: 42px; line-height: 46px; }
    .jx-hero-subtitle { font-size: 16px; line-height: 1.6; }
    .jx-benefit-grid,
    .jx-process-mini-grid,
    .jx-tool-summary { grid-template-columns: 1fr; }
    .jx-intro-services .post-thumb img { height: 200px; }
}
