.hero-sectioncontac {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url(../images/contacto/fondo-contacto.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
    background-position: center center;
    padding: 0px;
    border-radius: 0px;
}

.hero-sectioncsc {
    position: static;
    width: 100%;
    background: no-repeat;
    background-image: url(../images/contacto/bg_tramaco_contacto_movil.png);
    background-position: center;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-radius: 10px;
}

.hero-fullscreen {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    /*height: 100vh;*/
    /*padding: 0 0 0 100px;*/
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: white;
}

.contact-item {
    text-align: center;
    margin: 0 0rem;
}

.contact-item .icon-text {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.contact-item .icon {
    font-size: 1.75rem;
    margin-right: 0.25rem;
    display: flex;
    align-items: center;
}

.contact-item .icon img {
    width: auto;
}


.contact-item .icon.email-icon,
.contact-item .email-text {
    color: #2F58CD;
}

.contact-item .icon.phone-icon,
.contact-item .phone-text {
    color: #2F58CD;
}

.contact-item .icon.whatsapp-icon,
.contact-item .whatsapp-text {
    color: #2F58CD;
}

.contact-item .value-box {
    background-color: white;
    border: 1px solid #2A52F3;
    border-radius: 5px;
    padding: 0.75rem 1.25rem;
    display: inline-block;
    font-size: 1.2rem;
    font-family: "NexaBook", sans-serif;
    color: #000981;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contactoh2 {
    font-family: "NexaBlack", sans-serif;
    font-size: 2rem;
    color: #000981;
    margin-bottom: 0rem;
    text-align: center;
    line-height: 1;
}

.contact-item p.title.is-5 {
    font-size: 1.75rem;
    margin-bottom: 0;
    line-height: 1;
}


/* preguntas frecuenteas */

.social-icons1 {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center
}

.social-icon-link1 {

    /* Color azul para los iconos sociales, para que se vean */
    font-size: 1.8rem;
    margin: 0 10px 0 10px;
    transition: color 0.2s ease;

}

.faq-section {
    padding: 3rem 0;
    margin-top: 0rem;
}

.faq-container {
    background-color: white;
    border: 1px solid #2a52f33b;
    border-radius: 10px;
    padding: 2.5rem;
}

.faq-title {
    color: #000981;
    font-size: 3.1rem;
    font-family: "NexaXBold", sans-serif;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: left;
}

.faq-questions {
    margin-right: 1.5rem;
}

.faq-question-item {
    background-color: white;
    border: 1px solid #2A52F3;
    border-radius: 10px;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-weight: 600;
    color: #000981;
}

.faq-question-item:hover {
    background-color: #0009811A;
}

.faq-question-item.is-active {
    background-color: #2A52F3;
    border-color: #2A52F3;
    color: white;
}

.faq-answer-box {
    background-color: #2A52F3;
    border-radius: 20px;
    font-size: 1.5rem;
    padding: 1.5rem 2rem;
    color: white;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.faq-answer-box p {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer-box ul {
    list-style: disc;
    font-size: 1.5rem;
    margin-left: 1.5rem;
}

.faq-answer-box ul li {
    color: white;
    margin-bottom: 0.5rem;
}

.faq-answer:not(.is-active) {
    display: none;
}


.expandable-section.is-active .expandable-header .legal {
    color: white;
}

.expandable-section.is-active .expandable-header-legal .legal {
    color: white;
}

.expandable-section:not(.is-active):hover .expandable-header .legal {
    color: white;
}

.expandable-section:not(.is-active):hover .expandable-header-legal {
    color: white;
}

.servicio-card-legal {
    background-color: ##00098105;
    border: 1px solid #2a52f320;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 120px;
    font-family: "NexaBook", sans-serif;
    color: #000981;
}

.expandable-section {

    border-radius: 10px;
    margin-bottom: 0px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.expandable-header {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    background-color: white;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border-radius: 15px;
    border: 1px solid #2A52F3;
}

.expandable-section:not(.is-active):hover {
    border-color: transparent;

}

.expandable-section:not(.is-active):hover .expandable-header {
    background-color: #000981;
    color: white;
}

.expandable-section:not(.is-active):hover .expandable-header .componentes,
.expandable-section:not(.is-active):hover .expandable-header .componentest {
    color: white;
}

.expandable-section:not(.is-active):hover .expandable-header .icon-wrapper {
    background-color: rgba(255, 255, 255, 1);
    border-color: white;
}

.expandable-section:not(.is-active):hover .expandable-header .icon-wrapper img {}

.expandable-section:not(.is-active):hover .expandable-header .arrow-icon-wrapper {
    background-color: white;
}

.expandable-section:not(.is-active):hover .expandable-header .arrow-icon-wrapper svg {
    fill: #209CEE;
}

.expandable-section.is-active .expandable-header {
    background-color: #000981;
    color: white;
    border-bottom: 0px solid #dbdbdb;
}

.expandable-section.is-active .expandable-header-legal {
    background-color: #000981;
    color: white;
    border-bottom: 0px solid #dbdbdb;
}

.expandable-section.is-active .expandable-header .componentes,
.expandable-section.is-active .expandable-header .componentest {
    color: white;
}

.expandable-section.is-active .expandable-header .icon-wrapper {
    background-color: white;
    border-color: white;
}

.expandable-section.is-active .expandable-header .icon-wrapper img {}

.expandable-section.is-active .expandable-header .arrow-icon-wrapper {
    background-color: white;
}

.expandable-section.is-active .expandable-header .arrow-icon-wrapper svg {
    fill: #2A52F3;
    transform: rotate(90deg);
}

.expandable-section.is-active .expandable-content {
    max-height: 3000px;
    opacity: 1;
    visibility: visible;
    padding-bottom: 1.5rem;
    padding-top: 0.5rem;
    border-top: 0px solid #dbdbdb;
}

.expandable-content {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.5s ease-out, visibility 0.5s;
    padding: 0 0rem;
    background-color: white;
    border-top: 0px solid transparent;
}




.expandable-content .columns {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.expandable-content .column {
    padding: 0.75rem;
}

.expandable-content .inner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    border-radius: 15px;
    background-color: #fbfbfb;
    border: 0px solid #e0e0e0;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
    height: 100%;
    overflow: hidden;
}

.expandable-content .inner-item:hover {
    background-color: #2A52F3;
    color: white;
    transform: translateY(-3px);
}

.expandable-content .inner-item .item-image-container {
    position: relative;
    width: 100%;
    height: 25vh;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.expandable-content .inner-item .item-title {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    color: #FFF;
    background-color: #000981;
    border-radius: 10px 10px 0 0;
    font-family: "NexaBlack", sans-serif;
    text-transform: uppercase;
    text-align: center;
    z-index: 5;
    transition: opacity 0.3s ease-in-out;
}

.expandable-content .inner-item .hover-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0;
    z-index: 10;
    flex-direction: column;
    font-family: "NexaBlack", sans-serif;
    background: linear-gradient(0deg, rgba(0, 9, 129, 0.8) 0%, rgba(42, 82, 243, 0.4) 100%);
    padding: 1rem;
    transition: opacity 0.3s ease-in-out;
    border-radius: 15px;
}

.expandable-content .inner-item .hover-title {
    font-family: "NexaBlack", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.expandable-content .inner-item .hover-text {
    font-family: "NexaBook", sans-serif;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0;
    max-width: 90%;
}

.expandable-content .inner-item:hover .hover-overlay {
    opacity: 1;
}

.expandable-content .inner-item:hover .item-title {
    opacity: 0;
}

.expandable-section.is-active .expandable-header {
    background-color: #000981;
    color: white;
    border-bottom: 0px solid #dbdbdb;
}

.expandable-section.is-active .expandable-header .componentes,
.expandable-section.is-active .expandable-header .componentest,
{
color: white;
}

.expandable-section.is-active .expandable-header .icon-wrapper {
    background-color: rgb(255, 255, 255);
    border-color: #000981;
}

.expandable-section.is-active .expandable-header .icon-wrapper img {}

.expandable-section.is-active .expandable-header .arrow-icon-wrapper {
    background-color: white;
}

.expandable-section.is-active .expandable-header .arrow-icon-wrapper svg {
    fill: #2A52F3;
    transform: rotate(90deg);
}



.expandable-section:hover {
    border-color: transparent;
}

ul {
    /* Bolita rellena por defecto (disco) */
    list-style-type: disc;
}


@media (max-width: 768px) {
    .contact-section .columns {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding-top: 3rem;
        padding-bottom: 3rem !important;
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }

    .texto-contacto-slide {
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.2;
        text-align: justify;
        font-family: "NexaBook", sans-serif;
    }

    .texto-contacto-slide1 {
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.2;
        padding-left: 2rem;
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: justify;
        font-family: "NexaBook", sans-serif;
    }

    .espacio-texto-contacto-slide {
        padding-bottom: 0px;
        padding-top: 5px;
    }

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .faq-container {
        padding: 1.5rem;
    }

    .faq-questions {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .faq-title {
        text-align: center;
    }

    .servicio-cardc {
        background-color: #2A52F3;
        border: 1px solid #2A52F3;
        border-radius: 8px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        color: #FFF;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-height: 200px;
    }

    .servicios-grid-container {
        display: grid;
        gap: 20px;
        padding: 15px 0;
        margin: 15px 0;
        max-width: 1200px;
        margin: 0 auto;
    }

    .expandable-section.is-active .expandable-content {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding-bottom: 0rem;
        padding-top: 0.5rem;
        border-top: 0px solid #dbdbdb;
    }

    .componentes {
        font-size: 1.2rem;
        color: #000981;
    }

    .columns.is-multiline {
    margin-left: -0rem;
    margin-right: -0rem;
    padding: 0 0 20px 0;
}

}