/* -----------------------------VARIABLES----------------------------- */
:root {
    --brand-bg: rgba(90, 127, 150, 0.96);
    --overlay-bg: rgba(90, 127, 150, 0.90);
    --accent: #b3d334;
    --header-h: 60px;
    --menu-item-gap: 22px;
    --menu-letterspace: .08em;
    --font-family: "Rajdhani", sans-serif;
    --footer-main-bg: #DEDEDE;
    --footer-bottom-bg: #C7C4C7;
    --pattern-height: clamp(100px, 12vw, 180px);
}

/* -----------------------------SHARED----------------------------- */
body {
    font-family: var(--font-family);
    margin: 0;
}

.title {
    font-size: clamp(20px, 2.3vw, 24px);
    font-weight: 700;
    text-transform: uppercase;

}

.regular-text {
    font-size: clamp(16px, 1.8vw, 20px);
}

.section-title {
    font-size: 20px;
    color: #29363E
}

.section-subtitle {
    font-size: 16px;
    color: #55809B;
    font-weight: 700;
}

.bold-text {
    color: #29363E
}

.normal-text {
    font-size: 16px;
    color: #6D7073;
}

.separator {
    width: 20%;
    height: 14px;
    background-color: #A4D0DA;
    border-radius: 20px;
    margin-top: 32px;
}

.spacer-md {
    margin: 0px 0px 0px 0px;
}

.spacer-lg {
    margin: 0px 0px 0px 0px;
}

.spacer {
    display: none;
}

.banner-pattern {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: clamp(100px, 12vw, 180px);
    background-image: url("../assets/images/Banner_pattern.webp");
    background-repeat: repeat-x;
    background-size: contain;
    opacity: 0.35;
    pointer-events: none;
    z-index: 3;
    top: calc(100% - (clamp(100px, 12vw, 180px) * 0.50));
}

.main-content {
    margin-top: clamp(40px, 8vw, 120px);
    margin-bottom: clamp(80px, 10vw, 140px);
}

/* BANNERS DE PÁGINAS CON TABS */
.banner-cover {
    position: relative;
    overflow: visible;
    width: 100%;
    height: clamp(260px, 40vh, 480px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.25s ease;
    opacity: 1;
}

.banner-cover.is-fading {
    opacity: 0;
}

.tech-img {
    height: clamp(160px, 35vw, 480px);
    width: auto;
}

@media(min-width: 321px) and (max-width: 426px) {
    .tech-img {
        height: 200px;
    }
}

/* -----------------------------FIN SHARED----------------------------- */


/* HEADER */
.site-header {
    height: var(--header-h);
    z-index: 2000;
    /* más alto que el video y cualquier overlay */
    background: var(--brand-bg);
}

.brand-logo {
    height: clamp(20px, 3vw, 34px);
    width: auto;
    display: block;
}

.logo-link img {
    transition: transform 0.3s;
}

.logo-link:hover img {
    transform: scale(1.03);
}

/* BOTON MENU */
.menu-btn {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ÍCONOS */
.menu-btn i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: opacity .25s ease, transform .25s ease;
}

.menu-btn i.fa-bars {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.menu-btn i.fa-xmark {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

/* TRANSICIÓN DEL ÍCONO MENÚ A LA X */
.menu-btn.is-open i.fa-bars {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.menu-btn.is-open i.fa-xmark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}



/* -----------------------------MENÚ OVERLAY----------------------------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: var(--overlay-bg);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, visibility .25s;
    z-index: 1900;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.overlay-menu li+li {
    margin-top: var(--menu-item-gap);
}

.overlay-menu a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: var(--menu-letterspace);
    font-weight: 700;
    font-size: clamp(14px, 2vw, 20px);
    color: #e8f1f6;
    transition: color 0.2s ease;
}

.overlay-menu a.active {
    color: var(--accent);
}

.overlay-menu a:hover {
    color: var(--accent);
}


/* -----------------------------INICIO (index)----------------------------- */
/* VÍDEO */
.video-section {
    position: relative;
    width: 100%;
    aspect-ratio: 18/9;
      --fade: 0;
    opacity: calc(1 - var(--fade));
    transition: opacity 0.4s ease;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(65%) blur(calc(2px * var(--fade)));
    opacity: calc(1 - var(--fade));
    transform: translateY(calc(12px * var(--fade)));
    transition: opacity 0.05s linear;
    /* suaviza ligeros saltos */
    will-change: opacity, filter, transform;
}


.after-video {
    --content-fade: 0;
    opacity: var(--content-fade);
    transform: translateY(calc(30px * (1 - var(--content-fade))));
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-line {
    display: none;
    border: 0;
    border-top: 2px solid #ccc;
    margin-top: 2rem;
}

.container-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(12px, 4vw, 48px);
}

.main-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    min-width: 250px;
    border: 2px solid var(--accent);
    border-radius: 9999px;
    color: var(--accent);
    background: transparent;
    font-size: clamp(18px, 3vw, 24px);
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color .25s ease, color .25s ease, transform .15s ease;
}

.main-btn:hover {
    background-color: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.container-btn .main-btn.active {
    background-color: var(--accent);
    color: #fff;
}

.huelleros-img {
    height: clamp(167px,
            calc(167px + (430 - 167) * ((100vw - 360px) / (1440 - 360))),
            430px);
    ;
    width: auto;
    display: block;
    max-width: 100%;
}

.clients-section {
    margin-top: clamp(16px, 4.2vw, 48px);
    margin-bottom: 0;
}

.logos-scroller {
    margin-top: 16px;
    position: relative;
    overflow: hidden;
    width: 100%;
    --speed: 28s;
    --gap: clamp(24px, 5vw, 64px);
    padding-block: .5rem;
}

.logos-track {
    display: inline-flex;
    align-items: center;
    gap: var(--gap);
    animation: scroll var(--speed) linear infinite;
    will-change: transform;
}

.logos-show {
    margin-top: 16px;
    display: inline-flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    gap: clamp(24px, 5vw, 64px);
    padding-block: .5rem;
}

.logo {
    height: clamp(24px, 4vw, 32px);
    width: auto;
    display: block;
    filter: grayscale(1) opacity(.6);
    transition: filter .2s ease, transform .2s ease;
}

.logo:hover {
    filter: grayscale(0) opacity(.9);
    transform: translateY(-2px);
}

.logos-scroller:hover .logos-track {
    animation-play-state: paused;
}

/* Animación de desplazamiento continuo */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.world-section {
    background-blend-mode: normal;
    background: url("../assets/images/Mapa_bg.webp") center center / cover no-repeat;
}

.img-text {
    text-align: end;
}

.world-title {
    font-size: clamp(42px, 6vw, 84px);
    line-height: clamp(42px, 6vw, 84px);
    font-weight: 700;
    color: rgb(41, 54, 62);
    text-shadow: rgb(255, 255, 255) -4px -4px 1px, rgb(255, 255, 255) 4px 4px 1px, rgb(255, 255, 255) -4px 4px 1px, rgb(255, 255, 255) 4px -4px 1px;
}

.world-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    color: rgb(41, 54, 62);
    text-shadow: rgb(255, 255, 255) -2px -2px 1px, rgb(255, 255, 255) 2px 2px 1px, rgb(255, 255, 255) -2px 2px 1px, rgb(255, 255, 255) 2px -2px 1px;

}

.world-img {
    max-width: clamp(60px, 10vw, 121px);
    height: auto;
}

.world-img-label {
    font-size: clamp(14px, 2vw, 20px);
    color: rgb(41, 54, 62);
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: rgb(255, 255, 255) -2px -2px 1px, rgb(255, 255, 255) 2px 2px 1px, rgb(255, 255, 255) -2px 2px 1px, rgb(255, 255, 255) 2px -2px 1px;
}

/* -----------------------------BIOMETRIA----------------------------- */
#biometriaBanner {
    background-image: url("../assets/images/banners/Banner_biometria.jpg");
}

.first-col {
    display: flex;
    justify-content: end;
}

.second-col {
    display: flex;
    justify-content: start;
}

.bio-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.bio-card-img {
    margin: 0px 16px;
    height: clamp(210px, 16vw, 270px);
    width: auto;
}

.bio-card-label {
    background-image: url("../assets/images/pattern_cases.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: clamp(88px, 24vw, 160px) auto;
    padding: 14px 8px;
    margin: 16px 8px 0px 8px;
}

.bio-card-label h3 {
    margin-bottom: 0px;
    font-size: clamp(24px, 3.6vw, 32px);
    color: #29363E;
    text-align: center;
}

.bio-cta {
    position: absolute;
    right: 18px;
    bottom: -20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background-color: #557f9a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media(max-width: 321px) {
    .bio-cta {
        right: 16px;
        bottom: -24px;
        width: 52px;
        height: 52px;
    }
}

@media(max-width: 426px) {
    .bio-cta {
        bottom: -26px;
    }
}

.bio-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.bio-title {
    font-size: 24px;
    color: #55809B;
}

.row-margin-lg {
    margin-bottom: 64px;
}

/* -----------------------------FIRMA DIGITAL----------------------------- */
#firmaBanner {
    background-image: url("../assets/images/banners/Banner_Firma-digital-tecnología.jpg");
}

.line-break {
    display: block;
}

.title-align {
    display: flex;
    justify-content: end;
}

.logo-grid {
    max-height: 35px;
    width: auto;
}

/* -----------------------------NOSOTROS----------------------------- */
#nosotrosBanner {
    background-image: url("../assets/images/banners/Banner_nosotros.jpg");
}

/* ====== TABS NAV ====== */
.tabs-nav {
    margin-top: clamp(30px, 4.2vw, 60px);
    display: flex;
    justify-content: center;
    gap: clamp(32px, 6vw, 80px);
    padding-bottom: 8px;
    overflow-x: auto;
}

.tab-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0 0 6px 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: clamp(16px, 1.8vw, 20px);
    color: #9a9fa5;
    cursor: pointer;
    flex: 0 0 auto;
    transition: 0.25s ease;
}

.tab-btn:hover {
    color: #2f3a42;
}

.tab-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: #2f3a42;
    /* color del subrayado */
    transition: width 0.2s ease;
}

.tab-btn.active {
    color: #2f3a42;
}

.tab-btn.active::after {
    width: 100%;
}

/* ====== PANELS ====== */

.tab-panels {
    margin-top: clamp(24px, 3vw, 32px);
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.2s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#nosotrosImg {
    height: clamp(362px, 65vw, 624px);
    width: auto;
}

#especializeBg {
    background: #55809B;
    padding: 32px 0px 32px 0px;
}

.specialize-container {
    display: flex;
    align-items: center;
    height: 100px;
    width: 100%;
    background: #fff;
    padding: 0px 8px 0px 24px;
    border-radius: 15px;
}

.specialize-img {
    display: inline;
    height: 48px;
    width: auto;
}

.specialize-label {
    display: inline;
    margin-left: 16px;
    font-size: clamp(14px, 3.7vw, 20px);
    color: #55809B;
    font-weight: 600;
    line-height: 20px;
}

.ally-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    align-items: center;
    width: 100%;
    background: #fff;
    padding: 16px clamp(24px, 2.5vw, 50px);
    border-radius: 15px;
    height: clamp(180px, 40vw, 240px);
}

.ally-img {
    height: 70px;
    width: auto;
}

.ally-label {
    text-align: center;
    font-size: clamp(14px, 2.1vw, 20px);
    color: #55809B;
    font-weight: 600;
    line-height: 20px;
    margin-top: 16px;
}

.ally-separator {
    height: clamp(48px, 10vw, 120px);
}

#specializedText {
    font-weight: 700;
}

#isotipoImg {
    height: clamp(250px, 50vw, 445px);
    width: auto;
}

.allies-logo {
    height: clamp(64px, 9vw, 80px);
    width: auto;
}

/* CASOS DE ÉXITO */
.sector-card {
    position: relative;
    width: 100%;
    height: clamp(65px, 10.8vw, 100px);
    max-width: 860px;
    margin: 0 auto clamp(32px, 5.8vw, 56px) auto;
    border-radius: 15px;
    background: #ffffff;
    padding: 14px 96px 14px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
    background-image: url("../assets/images/pattern_cases.svg");
    background-repeat: no-repeat;
    background-position: right 135px center;
    background-size: clamp(88px, 24vw, 160px) auto;
    opacity: 1;
}

.sector-title {
    text-transform: uppercase;
    text-align: center;
    font-size: clamp(14px, 4vw, 32px);
    color: #4b5a66;
    font-weight: 500;
}

.sector-title strong {
    font-weight: 700;
}


.sector-cta {
    position: absolute;
    right: 18px;
    bottom: -18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background-color: #557f9a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sector-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

@media (max-width: 575.98px) {
    .sector-card {
        padding: 12px 75px 12px 22px;
        background-position: right 55px center;
    }

    .sector-cta {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: -14px;
    }
}

.section-card {
    position: relative;
    width: 100%;
    max-width: 416px;
    max-height: 340px;
    padding: 32px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.section-img {
    margin: auto;
    height: clamp(210px, 16vw, 270px);
    width: auto;
}

@media(min-width: 768px) and (max-width: 1000px) {
    .section-img {
        height: 155px;
        width: auto;
    }
}

.back-btn {
    position: absolute;
    bottom: -32px;
    padding: 10px 32px;
    border-color: transparent;
    color: #fff;
    background: #55809B;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    border-radius: 9999px;
    font-size: clamp(14px, 2.1vw, 20px);
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.case-title {
    font-size: 36px;
    color: #29363E;
    margin: 0px 0px 0px;
}

.case-subtitle {
    font-size: 36px;
    color: #55809B;
}

.caseclient-title {
    font-size: 20px;
    color: #29363E;
    margin: 0px 0px 0px;
}

.nos-client-img {
    /* height: clamp(40px, 5.5vw, 70px);
    width: auto; */

    width: clamp(140px, 15vw, 255px);
    height: auto;
}

.client-title {
    font-size: 20px;
    color: #29363E
}

.client-product {
    font-size: 30px;
    color: #55809B;
    font-weight: 700;
}

/* Contenedor de logos */
.clients-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 24px;
}

.client-logo {
    flex: 0 0 16%;
    max-width: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen del logo */
.client-logo img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
}

@media (max-width: 991.98px) {
    .client-logo {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (max-width: 576px) {
    .client-logo {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .clients-logos-wrapper {
        column-gap: 16px;
        row-gap: 16px;
    }
}

@media (max-width: 768px) {
    .client-product {
        text-align: center;
    }

    .client-title {
        text-align: center;
    }
}

/* -----------------------------ACREDITACIONES----------------------------- */
#bannerAcreditaciones {
    background-image: url("../assets/images/banners/Banner_acreditaciones.jpg");
}

.accreditation-title {
    font-size: 36px;
    color: #29363E;
    font-weight: 700;
}

.accreditation-separator {
    height: clamp(16px, 2.4vw, 32px);
}

.accreditation-table-wrapper {
    border-radius: 4px;
    overflow: hidden;
}

.accreditation-table thead {
    background-color: #f7f7f7;
}

.accreditation-table thead th {
    text-transform: uppercase;
    font-weight: 700;
    color: #303840;
    background: #FAFAFA;
    padding: 16px 24px;
    border-bottom: 3px;
}

.accreditation-table td {
    padding: 18px 24px;
    color: #303840;
    border-top: 1px solid #e1e1e1;
}

.cell-icon {
    font-size: 22px;
    margin-right: 12px;
    color: #273640;
}

.accreditation-table td.text-center {
    font-weight: 600;
}

/* Links de versiones */
.accreditation-links a,
.accreditation-links a i {
    color: #000;
    text-decoration: none;
    padding-bottom: 2px;
    transition: transform 0.2s ease;
}

.accreditation-links .iconless-link {
    text-decoration: none;
}

.accreditation-links a:hover,
.accreditation-links a:hover i {
    color: #55809B;
    transform: translateY(-2px)
}

.accreditation-links a:active,
.accreditation-links a:active i {
    color: #BDD92D;
    transform: translateY(-2px)
}

.simple-accred-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.simple-accred-table td {
    padding: 18px 24px;
    color: #303840;
    border-top: 1px solid #e1e1e1;
}

.simple-accred-table th:first-child,
.simple-accred-table td:first-child {
    width: 20%;
}

.simple-accred-table th:last-child,
.simple-accred-table td:last-child {
    width: 80%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .accreditation-title {
        text-align: center;
    }

    .accreditation-table thead {
        display: none;
    }

    .accreditation-table,
    .accreditation-table tbody,
    .accreditation-table tr,
    .accreditation-table td,
    .simple-accred-table th:first-child,
    .simple-accred-table td:first-child,
    .simple-accred-table th:last-child,
    .simple-accred-table td:last-child {
        display: block;
        width: 100%;
    }

    .accreditation-table tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid #e1e1e1;
    }

    .accreditation-table th,
    .accreditation-table td {
        text-align: center;
    }

    .accreditation-table td {
        padding: 4px 18px 10px 18px;
    }

    .accreditation-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        text-transform: uppercase;
        color: #fff;
        font-weight: 600;
        margin-bottom: 4px;
        text-align: center;
        width: 100%;
    }

    .download-icon {
        margin-bottom: 0px;
    }

    .accreditation-table td[data-label="Entidad"] {
        background: #55809B;
        color: #fff;
        font-weight: 700;
    }

    .accreditation-links {
        text-align: center;
    }

    .accreditation-links {
        text-align: center;
    }

    .accreditation-links .iconless-link {
        text-decoration: underline;
        text-decoration-color: var(--accent);
    }

    .accreditation-table th:first-child {
        color: #627288;
        font-weight: 700;
    }

    .simple-accred-table thead {
        display: none;
    }

    .simple-accred-table,
    .simple-accred-table tbody,
    .simple-accred-table tr,
    .simple-accred-table td {
        display: block;
        width: 100%;
    }

    .simple-accred-table tr {
        margin-bottom: 1rem;
        border-bottom: 1px solid #e1e1e1;
    }

    .simple-accred-table td {
        padding: 12px 18px;
        text-align: center;
    }

    .simple-accred-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 6px;
        color: #fff;
        text-align: center;
    }

    /* Primera columna con color distinto en móvil */
    .simple-accred-table td[data-label="Entidad"] {
        background: #55809B;
        color: #fff;
        font-weight: 700;
    }
}



/* -----------------------------FAQ----------------------------- */
#bannerFaq {
    background-image: url("../assets/images/banners/Banner_preguntas-frecuentes.jpg");
}

.faq-accordion {
    border-top: 1px solid #e1e1e1;
}

.faq-item {
    border-bottom: 1px solid #e1e1e1;
}

.faq-header {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #222933;
    cursor: pointer;
}

.faq-header:focus {
    outline: none;
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222933;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-header[aria-expanded="true"] .faq-icon {
    background: #b3d334;
}

.faq-icon::before {
    content: "+";
}

.faq-header[aria-expanded="true"] .faq-icon::before {
    content: "–";
}

.faq-question {
    flex: 1;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.faq-body p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #29363E;
}

.faq-item.open .faq-body {
    padding-top: 8px;
    padding-bottom: 16px;
}

.faq-header,
.faq-icon,
.faq-question {
    transition: color 0.25s ease, background-color 0.25s ease;
}

.faq-header:hover .faq-question {
    color: #b3d334;
}

.faq-header:hover .faq-icon {
    background: #b3d334;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 14px 16px;
        font-size: 16px;
    }

    .faq-body {
        padding: 0 16px;
    }

    .faq-item.open .faq-body {
        padding-top: 6px;
        padding-bottom: 14px;
    }
}


/* -----------------------------CONTACTO----------------------------- */
#bannerContacto {
    background-image: url("../assets/images/banners/Banner_contacto.jpg");
}

.contact-title {
    font-size: clamp(32px, 5.1vw, 65px);
    line-height: clamp(42px, 6vw, 65px);
    font-weight: 700;
    color: #55809B;
}

.contact-text {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.contact-value {
    font-size: 20px;
    color: #29363E;
}

.contact-section-bg {
    background: url("../assets/images/Mapa_bg.webp") center center / cover no-repeat;
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: screen;
}

.contact-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

.contact-label {
    font-size: 16px;
    color: #29363E;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #26323b;
}

.terms-link {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #A4D0DA;
}

.terms-link:hover {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #55809B;
}

.contact-input {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #55809B;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

.contact-input:focus {
    border-color: #A4D0DA;
    box-shadow: none;
}

.contact-privacy {
    font-size: 14px;
    color: #26323b;
}

.contact-privacy a {
    color: #26323b;
    text-decoration: underline;
}

.contact-submit {
    padding: 12px 40px;
    font-size: 18px;
}

.contact-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(20%);
}

.form-check-input {
    width: 22px;
    height: 22px;
    margin-top: 0.2rem;
    border: 2px solid #A4D0DA;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    transition: all .25s ease;
}

.form-check-input:hover {
    border-color: #b3d334;
}

.form-check-input:checked {
    background-color: #b3d334;
    border-color: #b3d334;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg width='16' height='13' viewBox='0 0 16 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.5 6L6 10.5L14.5 2' stroke='white' stroke-width='3' stroke-linecap='round'/%3e%3c/svg%3e");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    flex-shrink: 0;
}

.form-check .form-check-label {
    display: flex;
    align-self: end;
}

/* Mensajes */
.contact-feedback {
    font-size: 14px;
    color: #3a6f3a;
}

.contact-feedback-error {
    color: #b64141;
}

/* MAPA */
.contact-map-wrapper {
    width: 100%;
    aspect-ratio: 16 / 12;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .contact-section {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .contact-map-wrapper {
        margin-top: 16px;
    }
}


/* -----------------------------FOOTER----------------------------- */
.footer {
    position: relative;
    color: #3a3a3a;
    font-family: var(--font-family);
}

.footer-pattern {
    position: absolute;
    right: 0;
    width: 65%;
    height: var(--pattern-height);
    top: calc(-0.5 * var(--pattern-height));
    pointer-events: none;
    overflow: hidden;
}

.footer-pattern svg {
    width: 100%;
    height: 100%;
    display: block;
}


.footer-main {
    background-color: var(--footer-main-bg);
    padding-top: calc(var(--pattern-height) * 0.6);
}


.footer-main p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 350px;
}

.footer-link {
    color: inherit;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-logo .logo-img {
    height: clamp(20px, 3vw, 32px);
    width: auto;
    display: block;
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    color: #222;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .spacer-lg {
        margin: 0px 0px 64px 0px;
    }

    .row-margin-lg {
        margin-bottom: 0px;
    }
}

@media(max-width: 768px) {
    .first-col {
        justify-content: center;
    }

    .second-col {
        justify-content: center;
    }

    .line-break {
        display: none;
    }

    .title-align {
        justify-content: start;
    }
}

@media (max-width: 769px) {
    .footer-main .row>div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-card {
        max-height: 248px;
    }

    .back-btn {
        bottom: -24px;
    }
}

@media(max-width: 426px) {
    .clients-section {
        margin-bottom: 2rem;
    }

    .logo {
        height: 30px;
    }

    .logos-show {
        justify-content: center;
    }

    .mobile-line {
        display: block;
    }

    .img-text {
        text-align: center !important;
    }

    .world-section {
        background: none !important;
    }

    .contact-section-bg {
        background: none !important;
    }

    .banner-pattern {
        top: calc(100% - (clamp(100px, 12vw, 180px) * 0.20));
    }

    .tabs-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-bottom: none;
    }

    .tab-btn {
        padding-bottom: 4px;
    }

    .tab-btn::after {
        height: 2px;
    }

    .spacer {
        display: block;
        height: 32px;
    }

    .specialize-container {
        padding: 4px 4px 4px 4px;
        display: block;
        height: 110px;
    }

    .specialize-img {
        display: block;
    }

    .specialize-label {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-left: 0px;
        margin-top: 4px;
        height: 35px;
        line-height: 16px;
    }

    .ally-label {
        line-height: 16px;
    }

    .case-title {
        text-align: center;
    }

    .case-subtitle {
        text-align: center;
    }

    .contact-submit {
        width: 100%;
    }
}



@media (min-width: 711px) {

    .banner-cover {
        height: clamp(260px, 40vh, 480px);
    }
}

@media (max-width: 710px) {

    .banner-cover {
        height: auto;
        aspect-ratio: 15/7;
    }

    .container-btn {
        flex-direction: column;
        align-items: center;
        gap: clamp(8px, 3vw, 20px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-video {
        transition: none;
    }
}

@keyframes fadeInBanner {
    to {
        opacity: 1;
    }
}