/*
 * VERTICALES — ÍNDICE DE ESTILOS
 *
 * 01. page-verticales-new.php — ajustes de la plantilla principal
 * 02. part-faq-verticales.php — preguntas frecuentes
 *
 * Archivos externos que permanecen separados:
 * - verticales-iconos.css
 * - verticales-general.css
 *
 * Sin CSS embebido:
 * - part-012-seccion.php — hero/slider
 * - carpeta data (archivos PHP) — contenido dinámico por vertical
 */

/* ==========================================================================
   01. page-verticales-new.php — ajustes de la plantilla principal
   ========================================================================== */

    p {
    margin-top: 0;
    margin-bottom: 10px;
}

.swiper-slide[data-slug="autopartes"] img {
    border-radius: 70px;
    width: 100%;
    margin-left: 0px;
    margin-top: -17px;
}

@media (max-width: 991px) {
    .mobile-custom-selector-wrapper

 {
        display: block;
        width: 100%;
        margin-bottom: 25px;
        margin-top: -54px;
    }
    
   
    .empty-state p {
        color: #002955;
        text-align: center;
        font-family: Ubuntu;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 122.4%;
        width: 325px;
    }
    .swiper-slide[data-slug="autopartes"] img {
    border-radius: 70px;
    width: 100%;
    margin-left: 0px;
    margin-top: -100px;
    
}


}

/* ==========================================================================
   02. part-faq-verticales.php — preguntas frecuentes
   ========================================================================== */

/* ===== SECCIÓN FAQ (layout general) ===== */


/* Desktop / tablet */
.faq-inner-verticalesfaq {
  display: grid !important;
  grid-template-columns:1.2fr .8fr;
  gap:136px;
  align-items:center;
  margin-left: 142px;
      margin-top: -80px;
}

@media (max-width: 992px){
  .faq-inner-verticalesfaq {
    grid-template-columns:1fr;
    gap:32px;
    align-items:flex-start;
    margin-left:0;
    margin-right:0;
    padding:0 24px;
  }

  .faq-left,
  .faq-right {
    justify-self:center;
    width:100%;
    max-width: 760px;
  }
}

/* ===== Título ===== */
.faq-title {
  color: #002955;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 43px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 761px;
  margin: 0 auto 24px auto; /* centrado horizontal */
}

@media (min-width: 992px) {
  .faq-title {
    margin: 0 auto 90px auto;
  }
}

@media (max-width:576px){
  .faq-title{
    font-size:26px;
  }
  
   .empty-state {
       width: 100%;
   }
}

/* ===== Acordeón “card” blanca con chevrón ===== */
.faq-accordion .accordion-item{
  border:none;
  background:transparent;
  margin-bottom:12px;
}

.faq-accordion .accordion-button {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 14px 16px;
  color: #6A00A7;
  font-family: 'Ubuntu', sans-serif;
  font-size: 25px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  padding-left: 45px;
}

.faq-accordion .accordion-button:focus{
  border:none;
  box-shadow:0 0 0 .2rem rgba(106,0,167,.08);
}

.faq-accordion .accordion-button:not(.collapsed){
  color:#6A00A7 !important;
  box-shadow:0 2px 18px rgba(0,0,0,.08);
}

.faq-accordion .accordion-button::after {
  content: "";
  background-image: url("https://zeuserp.tech/wp-content/themes/zeus-2023/images/newdownfaq.svg") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 10px;
  width: 18px;
  height: 10px;
  transition: transform 0.25s ease;
  transform: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.faq-accordion .accordion-body {
  background: #fff;
  margin-top: -12px;
  border-radius: 0px 0px 20px 20px;
  padding: 14px 45px;
  color: #002955;
  text-align: justify;
  font-family: Ubuntu;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

/* Ocultos por defecto (Ver más) */
.extra-question{
  display:none;
}

/* Botón “Ver más”  */
.faq-cta{
  display:flex;
  justify-content:center;
  margin-top:45px;
}

@media (min-width: 992px) {
  .btn.btn-faq {
    display: flex;
    width: 236px;
    height: 45px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 15px;
    background: linear-gradient(270deg, #00CDCD -107.23%, #6A00A7 99.93%);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    color: #FFF;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .btn.btn-faq:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: white;
  }
}

/* ===== Derecha: robot + chips ===== */
.faq-right{
  display:grid;
  justify-items:center;
  gap:14px;
}

.faq-robot{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* iconos ZEON / AYUDA */
.faq-badges{
  display:grid;
  grid-auto-flow:column;
  gap:16px;
}

.chip{
  display:grid;
  justify-items:center;
  text-decoration:none;
}

/* ===== Chips ZEON / AYUDA con íconos personalizados ===== */
.chip-icon {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
}

.chip-label {
  color: #002955;
  text-align: center;
  font-family: Ubuntu;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 126.4%;
}

/* Ícono ZEON */
.chip-zeon .chip-icon {
  background-image: url('https://zeuserp.tech/wp-content/themes/zeus-2023/images/icono-zeon.svg');
}

/* Ícono AYUDA */
.chip-ayuda .chip-icon {
  background-image: url('https://zeuserp.tech/wp-content/themes/zeus-2023/images/icono-ayuda.svg');
}

/* Hover de los íconos */
.chip:hover .chip-icon {
  transform: translateY(-2px);
}

/******** Estilos Mobile *****************/
@media (max-width: 768px) {

  .seccion-verticales-faq {
    padding: 32px 0;
  }

  .faq-inner-verticalesfaq {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: flex-start;
    margin-left:0;
    margin-right:0;
    padding:0 16px;
    margin-top: 15px;
  }

  .accordion {
    margin-top: -40px;
  }


    .faq-title {
        width: 358px;
        font-size: 26px;
        margin: 0 auto 70px;
        text-align: center;
    }

  .faq-accordion .accordion-button {
    font-size: 16px !important;
    padding: 12px 10px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }

  .faq-accordion .accordion-body {
    padding: 12px 21px;
    font-size: 16px;
    line-height: 1.45;
    margin-top: -8px;
    border-radius: 0 0 12px 12px;
    width: 100%;
  }

  .faq-right {
    gap: 18px;
    justify-items: center;
  }

  .faq-robot {
    width: 95%;
    max-width: 360px;
    margin-left: 4px;
  }

  .faq-badges {
    display: grid;
    grid-auto-flow: column;
    gap: 24px;
    justify-content: center;
    margin-left: 15px;
  }

  .chip {
    transition: transform .25s ease, box-shadow .25s ease;
  }

  .chip-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
  }

  .chip-label {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #002955;
    text-align: center;
  }
}

/* Hover solo donde haya hover real */
@media (hover: hover) {
  .chip:hover {
    transform: translateY(-2px);
  }
}

/* Íconos de chips (todas resoluciones) */
.chip-zeon .chip-icon {
  background-image: url('https://zeuserp.tech/wp-content/themes/zeus-2023/images/faq-zeon.png');
}
.chip-ayuda .chip-icon {
  background-image: url('https://zeuserp.tech/wp-content/themes/zeus-2023/images/faq-ayuda.png');
}

/* Flecha del acordeón (sobrescribe por las dudas) */
.faq-accordion .accordion-button::after {
  content: "";
  background-image: url("https://zeuserp.tech/wp-content/themes/zeus-2023/images/newdownfaq.svg") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 10px;
  width: 18px;
  height: 10px;
  transition: transform .25s ease;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}


/** Nuevo estilo corregido */

/* 1. Margen de -150px por defecto (Página principal) */
.seccion-verticales-faq {
    background: #F7F7F7;
    margin-top: -90px;
    transition: margin-top 0.3s ease;
}
/* 2. Cuando se carga una vertical, devolvemos el margen a la normalidad */
body.vertical-activa .seccion-verticales-faq {
    margin-top: 0px; /* Aquí puedes ajustarlo a 20px o lo que mejor quede en la vertical */
}
