/* FAQ page specific styles */
@charset "utf-8";

.faq-page {
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    background-attachment: fixed;
    background-position: top center;
    background-size: 100% auto;
    background-image: url(../imagenes/informacion-tecnica/bg-FHDa4f0.webp);      
    height: auto;         
}

.faq-container {
  background-color: rgba(0, 0, 0, .6);
  background: linear-gradient(180deg, rgba(0, 0, 0, .7) 30%, rgba(0, 0, 0, 0) 100%)
}

.faq-page-titulo {
  padding-top: 70px;  
  margin-inline: auto;
  width: 90%;
  color: #fff;
  text-align: center;  
  font-size: clamp(2.3rem, 4.3vw, 2.8rem);
  font-family: "Barlow", sans-serif;
  text-wrap: balance;  
  font-weight: 500;
  letter-spacing: -.005em;
}

.faq-page-subtitulo {
    display: block;
    margin: 20px auto 40px;
    width: 90%;
    max-width: 1000px;
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: #fff;
    text-align: center;
    text-wrap: balance;
    letter-spacing: .01em;     
}

/* FAQ accordion arrow icon */
.faq-accordion-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.2em;
    height: 1.2em;
    padding: 2px;
    background-color: #2c6296;
    border-radius: 50%;
    margin-right: 15px;
}

.faq-accordion li:hover .faq-accordion-arrow {
    display: flex;
    padding: 2px;
    background-color: red;
    border-radius: 50%;
    transform: rotate(90deg);
    transition: all .3s ease
}

.faq-accordion li.activo .faq-accordion-arrow,
.faq-accordion li.is-open .faq-accordion-arrow {
    background-color: #27ba4d;
    transform: rotate(270deg);
    transition: all .3s ease
}

/* FAQ highlighted blue block */
.faq-blue,
.faq-highlight--blue {
    color: #fff;
    background-color: #154576
}

/* FAQ split content section */
.faq-split {
    display: flex
}

.faq-split > div {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center
}

.faq-split img {
    width: 100%
}

/* FAQ-exclusive consumption tables */
.faq-table-container {
    overflow: auto;
    height: 60vh;    
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, .2);
    border-bottom: 8px #aaa solid
}

.faq-table-container table {
    display: block;
    width: 100%;
    box-sizing: border-box
}

.faq-table-container td {
    padding: 4px;
    font-size: 12px
}

tr.faq-table-row--body td span {
    display: flex;
    align-items: center;
    min-height: 22px;
    font-family: arial, sans-serif;
    padding-left: 5px;
}

.faq-table-row--body td:first-child {
    width: 100px
}

.faq-table-row--head td {
    background: #1fa5a8;
    background: linear-gradient(22deg, #1fa5a8 0, #1ab7ba 48%);
    color: #fff;
    font-weight: 400;
    font-size: 13px
}

.faq-table-header h4 {
    background-color: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: clamp(1.4rem, 2.3vw, 1.6rem);
    font-weight: 600;
    text-wrap: balance;    
    padding-block: 2.45rem;    
}

.faq-table-header.faq-table-header--appliances {
    position: relative;
    background-image: url("../imagenes/informacion-tecnica/bg-consumos-tipicos-electrodomesticos.webp");
    background-size: auto 100%;
    /* background-attachment: fixed; */
    background-position: top center;
    padding-top: 12vw;
    filter: brightness(1.2) contrast(0.7);
}

.faq-table-header.faq-table-header--motors {
    position: relative;
    background-image: url("../imagenes/informacion-tecnica/bg-consumos-tipicos-motores-m.webp");
    background-size: auto 100%;
    background-attachment: fixed;
    background-position: top center;
    padding-top: 16vw
}

/* FAQ card container styles */
.faq-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80%;
    max-width: 900px;
    margin: .5vw;   
    margin-bottom: 10px;  
}

.faq-card-header {
    position: relative;
    display: flex;
    align-items: center;
    background: radial-gradient(circle, #2c6296 0, #124e8a 100%);
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    border-radius: 10px 10px 0 0
}

.faq-card-header-title {
    width: 100%
}

.faq-card-header-title h3 {
    display: block;
    margin: 38px 38px;
    color: #fff;
    text-align: left;    
    font-size: 1.25rem;    
    font-weight: 500;
    font-family: "Inter", sans-serif;    
    line-height: 1.6em;
    text-wrap: balance;
}

.faq-card-body {
    position: relative;
    padding: 0;
    background-color: #fff;
    height: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    border-radius: 0 0 2px 2px
}

/* FAQ divider */
.faq-divider {
    width: 100%;
    max-width: 900px;
    height: 4px;
    margin: 0 auto .5vw auto;
    background: radial-gradient(circle, #f72428 0, #fea2a3 100%);
    border-top: 1px #fff solid
}

/* FAQ text content wrapper */

.faq-text-title {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  color: black;
  font-weight: 600;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 40px;
  padding: 0;
  text-align: center;
  text-wrap: balance;
}

.faq-text {
    display: block;
    width: 100%;
    padding: 30px 5vw 40px 5vw;
    line-height: 1.7;
    color: #444;
    text-align: left;
    font-family: "RobotoL", sans-serif;
    font-size: 1.05rem
}

.faq-text p {
    display: block;
    margin: 0;
    padding-bottom: 1.8em;
    font-family: "RobotoL", sans-serif;
    text-align: justify;
    
}

.faq-text img {
    display: block;
    margin: 1.5em auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px
}

.faq-text small {
    color: #666;
    font-size: 0.9em
}

.faq-text a {
    color: #00377a;
    font-weight: 500;
    transition: all .3s ease;
    text-decoration: none
}

.faq-text a:hover {
    color: #00377a;
    text-decoration: underline;
    opacity: 0.8
}

/* FAQ highlighted box */
.faq-box,
.faq-box--note {
    padding: 18px 20px;
    margin: 1em 0 2em;
    border-right: 5px solid #1fa5a8;
    border-left: none;
    background-color: #edecec;
    border-radius: 4px;
    text-align: left;    
}

.faq-box--important {
    border-right-color: #c93c3c;
    border-left: none;
    background-color: #fef8f8
}

/* FAQ text color utilities */
.faq-text-blue {
    color: #00377a;
}

.faq-text-red {
    color: red !important
}

.faq-text-gray {
    color: #999 !important
}

/* FAQ headings */
.faq-heading {
    margin: 1.2em 0 0.8em 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #00377a;
    text-align: left;
}

.faq-heading-gray {
    background-color: #e0e0e0;
    text-align: left;
    padding: 0.8em 1em;
    font-weight: 800;
    margin: 0 auto 1.2em auto;
    font-size: 1.35em;    
    border-left: 4px solid #00377a;
    color: #00377a;
    letter-spacing: 0.5px
}

/* FAQ lists */
.faq-index {
    margin-left: 3em;
    margin-top: 2.5em;
    margin-bottom: 4em;
    padding: 0
}

.faq-index li {
    margin: 0.5em 0;
    padding-left: 0;
    padding-right: 0;    
}

.faq-index a {
    text-decoration: none;
    font-weight: 600;
    color: #999;
    font-family: robotoM;
    font-weight: 400;

}

.faq-index a:hover {
    color: var(--azul-titulos);        
    text-decoration: none;
}
.faq-list-title {
  display: block;
  font-weight: 500;
  margin: 1.5em 0 .8em 0;
  font-size: 1.1rem;
  color: #444;  
}

.faq-list-item span {
    margin-left: 0
}

.faq-optional {
    font-style: italic;
    color: #00377a;
    margin-top: 1.5em;
    margin-bottom: 0.9em;
    padding-right: 12px;
    padding-left: 0;
    text-align: left;
    font-weight: 500
}

.faq-list-item {
  font-weight: bold;
  margin: .2em 0 .7em 0;
  padding-left: 0;
  color: #444;
}

.faq-list-style {
    list-style-type: disc;
    margin-left: 1.5em;
    margin-right: 1.8em;        
    padding-bottom: 7px;
    font-family: "RobotoL", sans-serif;
    font-size: .98rem;
    color: #000000;
}
.faq-list-style-red {
  margin-bottom: .7em;
  font-size: 15px;
  background-image: url(../imagenes/iconos/bullet-triangulo.svg);
  background-position: left top 2px;
  background-repeat: no-repeat;
  background-size: .3em;
  padding-left: 12px;
  font-family: robotoL;
  color: #444;
}

.faq-list-style li {
    margin-bottom: 0.9em;
    font-size: 1rem;
    line-height: 1.6;
    padding-right: 16px;
    padding-left: 0;
    color: #000000;
    font-family: "RobotoL",sans-serif;
}

.faq-accordion {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none
}

.faq-accordion > li {
    width: 100%;
    list-style: none;  
    transition: all .3s ease;     
}

.faq-li-text {
  width: 94%;
}

.faq-li-text:hover {
  transform: scale(1.02);
  transform-origin: 0%;  
  font-weight: 600;
  transition: all .2s ease;
}

/* FAQ accordion items */
.faq-acc-item {
    position: relative;
    padding: 0;
    border: none;
}

.faq-acc-item > .faq-content {
    display: none;
    width: 100%
}

.faq-acc-item.activo > .faq-content,
.faq-acc-item.is-open > .faq-content {
    display: block
}

/* Accordion header items (li without faq-acc-item class) - DOM structure dependent */
.faq-accordion > li:not(.faq-acc-item) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    font-family: 'robotoM', sans-serif;
    font-size: 1.1rem;
    color: #444;
    transition: all .5s ease;
    background-size: .3em;
    padding: 1.4em .4em .8em;
    padding-left: 3vw;
    border-bottom: 1px rgba(0, 0, 0, .3) dashed;
    text-wrap: balance;

}

/* Header hover state - add visual feedback */
.faq-accordion > li:not(.faq-acc-item):hover {
    background-color: rgba(0, 0, 0, 0.02);    
}

/* Content item directly after header */
.faq-accordion > li:not(.faq-acc-item) + li.faq-acc-item {
    display: block
}

/* When header has activo class, highlight it */
.faq-accordion > li:not(.faq-acc-item).activo {
    background-color: #eee;
    color: #00377a
}

.faq-accordion > li:not(.faq-acc-item).activo:hover {
    background-color: rgba(39, 186, 77, .1)
}

/* General container adjustments */
.faq-container {
    max-width: 100%;
    margin: 0 auto
}

/* Final scoped color enforcement for nested FAQ content */
.faq-text-blue {
    color: #00377a;
}

.faq-text-red {
    color: red;
}

.faq-text-gray {
    color: #999;
}

@media (max-width:900px) {
    .faq-table-container td {
        padding: 3vw;
        font-size: 12px
    }
}

@media (max-width:600px) {

  
      .faq-container {
        background-attachment: fixed
      }

      .faq-page-titulo {
        text-align: center;
      }

      .faq-page-subtitulo {
            font-size: 1.2rem;
            font-family: sans-serif;
            color: #fff;
            width: 95%;
            margin: 20px auto 30px;
      }
    
    .faq-split {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center
    }

    .faq-split>div {
      width: 100%;
    }

    .faq-card {
        width: 100%;
        max-width: 95%;
        margin-top: 3vw
    }

    .faq-card-header-title h3 { 
        line-height: 1.3em
    }

    .faq-accordion > li:not(.faq-acc-item) {
        font-size: 1.05rem
    }    
    .faq-list-style {
      padding-bottom: 8px;
    }
}

