/* ==================== 
   RESET Y TIPOGRAFÍA BASE 
   ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", Arial, sans-serif !important;
    color: var(--blue);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Variables de diseño */
:root {
    --orange:#E86C3C;
    --blue: #001388;
    --light-blue: #e9f0ff;
    --gray: #ccc;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0);
    --transition: all 0.3s ease;
}

/* ==================== 
   ESTRUCTURA DE PÁGINA 
   ==================== */
/* Tamaños de tipografía globales */
h1 {
    font-size: 40px !important;
    font-weight: 600 !important;
}

h2 {
    font-size: 24px !important;
}

h3 {
    font-size: 18px !important;
}

p {
    font-size: 16px;
}
main {
    flex: 1;
}

.color-primary {
    color: var(--blue);
}

.color-secondary {
    color: var(--orange);
}   

/* ==================== 
   HOME PAGE 
   ==================== */
.top-home {
    background: url('https://static.nibw.es/sxs/HOME/AdobeStock_565285126-4000x2000.webp ') no-repeat center center;
    background-size: cover;
    background-color: #000; /* Fallback por si la imagen tarda */
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}
.title-home {
    font-size: 42px;
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    animation: fadein 1s;
}
.header-content {
    padding-top: 10%;
}
.subtitle-home {
    font-size: 22px;
    color: var(--blue);
    font-weight: 600;
    margin: 1rem 0;
    animation: fadein 1s;
}
.text-home {
    font-size: 18px;
    color: #000;
    max-width: 575px;
    animation: fadein 1s;
}
/* Estilo para los círculos de los íconos */


.oval-icon{
    position:relative;
}

.oval-icon::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    background-color: var(--orange);
    position: relative;
    z-index: -1;
    transition: all 0.3s ease-in-out 0s;
    opacity: 0.3;
    top: 5px;
    left: 25px;
}

/* Ajuste de texto en móviles */
@media (max-width: 768px) {
    .step-icon {
        width: 40px;
    }
    h4 {
        font-size: 1rem;
    }
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}



/* === RESPONSIVE: Ajuste para tablet landscape y Surface Pro (992px - 768px) === */
@media (max-width: 992px) and (min-width: 769px) {
    

    /* Ajuste del ícono */
    .step-icon {
        margin: 0 auto;
    }

    /* Opcional: reduce el espacio entre elementos si se aprietan */
    .col-md-3 {
        flex: 0 0 23%;
        max-width: 23%;
    }
}

/* ==================== 
   MENÚ FIJO Y NAVEGACIÓN 
   ==================== */
.wrapmenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background-color: var(--white);
    box-shadow: none; /* 🔴 Eliminado: antes usaba var(--shadow-sm) */
    transition: var(--transition);
    border: none; /* Asegura que no haya borde */
}
@media (min-width: 576px) {
    .wrapmenu {
        padding-top: 10px;
    }
}

.navbar-custom {
    margin-left: 15%;
}
.navbar-custom .nav-link {
    font-size: 1.25rem;       
    font-weight: 400;         
    text-align: left;         
}
.navbar-custom .dropdown-item {
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
}

.navbar {
    background-color: var(--white) !important;
    box-shadow: none !important; /* Asegura sin sombra */
    border: none !important;     /* Elimina cualquier borde residual */
    padding: 0;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.nav-link {
    color: var(--blue) !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 15px 20px;
}
.nav-link:hover,
.dropdown-item:hover {
    color: var(--orange) !important;
}

/* Dropdown estilo Vehículos con flecha ▼ */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "▼";
    color: var(--blue);
    font-size: 0.8em;
    border: none;
}

.dropdown-menu {
    background-color: var(--white);
    border: none; /* 🔴 Eliminado: antes era 1px solid #ddd */
    border-radius: 5px;
    box-shadow: none; /* 🔴 Sin sombra */
    min-width: 200px;
}

.dropdown-item {
    color: var(--blue) !important;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    padding: 8px 15px;
}

.dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--blue) !important;
}

/* Botón de ayuda */
.help-link {
    background-color: #ffffff;
    border-color: var(--blue);
    color: var(--blue) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
}
.help-link:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white) !important;
}

/* Logos de garantía debajo del botón */
.partner-logos img {
    max-height: 40px;
    max-width: 40px;
    padding-left: 2%;
}
.partner-block {
    text-align: right;
    margin-top: 0.5rem;
}
.nav-dudas {
    font-size: 1.3rem;
    margin-left: 0;
    margin-top: 15%;     
    padding-top: 6%;      
    color: var(--blue);
    font-weight: 600;
    display: block;
    width: auto;
    max-width: 100%;
}
.nav-garantia {
    color: var(--blue); 
    font-size: medium;
}

/* Alineación en pantallas pequeñas */
@media (max-width: 768px) {
    .partner-block {
        text-align: center;
        width: 100%;
    }
    .help-link {
        display: block;
        margin: 0 auto 1rem;
        text-align: center;
    }
}
.partner-logos img:hover {
    filter: opacity(1);
}

.pbold {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}
/* ==================== 
   BOTONES GENERALES 
   ==================== */
.btn_full,
.btn_full_cancel {
    font-family: inherit;
    width: 100%;
    padding: 12px 20px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--orange);
    border-radius: 3px;
    transition: var(--transition);
    margin-bottom: 10px;
    display: block;
}
.btn_full {
    background: var(--orange);
    color: var(--white);
}
.btn_full:hover {
    background: var(--white);
    color: var(--orange) !important;
    border-color: var(--orange);
}
.btn_full_cancel {
    background: var(--white);
    color: var(--orange);
}
.btn_full_cancel:hover {
    background: var(--orange);
    color: var(--white);
}

/* ==================== 
   SECCIÓN VEHÍCULOS 
   ==================== */
.container.my-5 h2 {
    font-size: 24px;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 20px;
}
.text-center .step-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.text-center p strong {
    color: var(--blue);
    font-size: 16px;
}

/* ==================== 
   FORMULARIO DE RESERVA 
   ==================== */
#book {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #111;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}
#message-booking {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}
#message-booking h2 {
    color: white;
    font-size: 20px;
    font-weight: normal;
}
#book .row.mb-2 img {
    width: 50px;
    height: 50px;
    border-radius: 9px;
    object-fit: contain;
}

/* ==================== 
   VENTAJAS / CARACTERÍSTICAS 
   ==================== */
#strip_activities ul li {
    position: relative;
    min-height: 115px;
    padding: 5px 0 10px 150px;
    margin-bottom: 20px;
    list-style: none;
}
#strip_activities ul li img {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: auto;
}
.box_style_1 {
    padding: 20px 25px 5px 25px;
    background-color: var(--white);
    border: 5px solid #fbfbfc;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px #e0e5e9;
    margin-bottom: 30px;
    font-size: 13px;
    line-height: 20px;
}

/* ==================== 
   COBERTURAS (basado en seguropordias.com/coberturas)
   ==================== */
.coberturas-container {
    margin: 40px 0;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.coberturas-title {
    color: var(--blue);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}
.coberturas-list {
    list-style: none;
    padding-left: 0;
}
.coberturas-list li {
    margin-bottom: 8px;
    color: #444;
    font-size: 16px;
    position: relative;
    padding-left: 25px;
}
.coberturas-list li::before {
    content: "✓";
    color: var(--orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ==================== 
   FOOTER 
   ==================== */
.bg-dark-blue {
    background-color: #050C2C;
}
.footer-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;;
    text-decoration: none;
    display: block;
}
.footer-link:hover {
    text-decoration: underline;
}
.footer-title {
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    font-size: 16px !important;
    margin-bottom: 1rem;
}
.footer-logo {
    display: block;
    margin-left: 5%;
    margin-right: auto;
    width: 60%; 
    margin-bottom: 2rem;
}
.footer-payment-icons img {
    height: 10%;
    width: 100%;
    margin-left: 1rem;
}
.footer-bottom {
    background-color: #ffffff;
    padding: 0.75rem 0;
    border-top: 2px solid #0081FF;
    position: relative;
}
.footer-bottom p {
    color: #002c85;
    margin: 0;
    font-size: 1rem;
    padding: 0.5%;
}
.footer-bottom .footer-payment-icons {
    position: absolute;
    right: 0;
    top: 50%;
    padding-right: 2%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

/* ==================== 
   ANIMACIONES 
   ==================== */
@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animation {
    animation: fadein 1s;
}

/* ==================== 
   COMPONENTES DE FORMULARIOS 
   ==================== */
input.form-control,
.form-select,
.hasDatepicker {
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: var(--white);
    color: #495057;
    width: 100%;
    box-sizing: border-box;
}
.input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group-text {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 0.375rem 0.75rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    align-items: center;
}

/* ==================== 
   ESTILOS PARA LIBRERÍAS EXTERNAS (Choices.js)
   ==================== */
.choices {
    border-radius: 2px;
    height: 37px;
}
.choices__inner {
    border-radius: 2px !important;
    min-height: 0;
    font-size: 1rem;
    padding: 5px;
}
.choices__list--single {
    padding: 0 8px;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: var(--blue);
    color: var(--white);
}
.choices__list--dropdown {
    z-index: 9999 !important;
}

/* ==================== 
   UTILIDADES 
   ==================== */
.naranja { color: var(--orange) !important; }
.azul { color: var(--blue) !important; }
.bg-azul { background-color: var(--blue) !important; }
p a {
    color: var(--orange) !important;
    text-decoration: none !important;
    transition: all 0.5s ease-in-out;
}





/* ==================== 
   RESPONSIVE
   ==================== */
@media (max-width: 768px) {
    .title-home { font-size: 30px; }
    .subtitle-home { font-size: 18px; }
    .text-center img { width: 80px; height: 80px; }
    .top-home { padding: 80px 0 40px; }
    .help-link { font-size: 14px; }
    .nav-link { padding: 10px 15px; font-size: 14px; }
    .partner-logos img { height: 24px; width: 24px; }
}
@media (max-width: 576px) {

    .wrapmenu .container {
        padding: 0 10px;
    }
}
.reloj-icono {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
/* === [NUEVOS ESTILOS PARA COINCIDIR CON LA IMAGEN] === */

/* Fondo oscuro con overlay para header-home */
.header-home {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), 
                url(' https://static.nibw.es/sxs/HOME/AdobeStock_565285126-4000x2000.webp ') center/cover no-repeat;
    color: white;
    text-align: left;
    padding: 180px 40px 120px;
    position: relative;
}

.header-coche {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), 
                url(' https://static.nibw.es/sxs/COCHE/AdobeStock_286336947_Editorial_Use_Only-4000x2000.webp') center/cover no-repeat;
    color: white;
        background-size: cover;
        background-repeat: no-repeat;
        margin-bottom: -180px;
        z-index: 1;
        height: 500px;
        background-position: center;
        --opacidad-negro: 0.2;
}
.header-coche .btn-outline-primary {
    background-color: white !important;
    border-color: var(--blue) !important;
    color: var(--blue) !important;
    font-weight: 600;
    font-size: 1.1rem !important;
    padding: 12px 32px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-coche .btn-outline-primary:hover {
    background-color:var(--orange) !important;
    border-color: var(--orange) !important;
    color: white !important;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    
    .formposition {
        margin-bottom: 3rem !important;
        position: relative;
    }

    #stickt-banner-target {
        margin-bottom: 2.5rem;
    }
}


@media (max-width: 768px) {
    .form-css {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

    .header-title {
        font-family: "Poppins";
        font-style: normal;
        font-weight: 600;
        font-size: 40px;
        line-height: 50px;
    }
    .subtitle-header {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-size: clamp(16px, 2.5vw, 20px) !important;
    line-height: 30px;
    color: #ffffff;
}

    .header-list li {
        font-size: 0.9rem;
    }
}

 @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
        #form-container {
            margin-bottom: 4rem !important;
        }

        /* Asegurar que el formulario no crezca demasiado */
        .form-css {
            font-size: 0.875rem;
            padding: 0.375rem 0.75rem;
        }

        .input-group .btn img {
            width: 18px;
            height: 18px;
        }
    }

    /* Para iPad landscape (1024x768) */
    @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
        #form-container {
            margin-bottom: 30rem !important;
        }

        .header-title {
            font-size: 1.75rem;
        }

        .header-list li {
            font-size: 0.9rem;
        }
    }

/* Botón estilo "Calcular precio" (blanco con borde azul) */
.header-home .btn-outline-primary {
    background-color: white !important;
    border-color: var(--blue) !important;
    color: var(--blue) !important;
    padding-right: 14px;
    padding-left: 14px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-top: 20px;
}

.header-home .btn-outline-primary:hover {
    background-color:var(--orange) !important;
    border-color: var(--orange) !important;
    color: white !important;
    transform: translateY(-2px);
}

.product{
    transition: all 0.3s ease-in-out 0s;
}

.product:hover {
    transform: scale(1.1, 1.1);
}



.product:hover > div > a.product-link::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    background-color: var(--orange);
    position: absolute;
    z-index: -1;
    transition: all 0.3s ease-in-out 0s;
    opacity: 0.3;
    top: 5px;
}


/* === SELECCIÓN DE VEHÍCULOS: Alineación y efectos === */
#stickt-banner-target .wrapper-vehicle-link img {
    height: 60px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    
}
#stickt-banner-target {
    position: relative;
    z-index: 1;
}

#stickt-banner-target .wrapper-vehicle-link:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}


#stickt-banner-target .wrapper-vehicle-link p {
    color: var(--blue) !important;
    font-weight: 600;
    margin-top: 12px;
    font-size: 1rem;
}

/* Centrado y espaciado en fila */
#stickt-banner-target .row {
    margin-bottom: 20px;
}

#stickt-banner-target .col-md-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Botón "Más productos" en móvil */
#more img {
    width: 160px;
    transition: transform 0.3s ease;
}

#more:hover img {
    transform: scale(1.05);
}

/* === RESPONSIVE: Ajustes para móviles === */
@media (max-width: 768px) {
    .header-home {
    padding: 150px 20px 80px; /* Aumenta el padding-top para mover el contenido hacia abajo */
}
}

.header-home .header-subtitle {
    font-size: 1.1rem !important;
}


.header-list {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 30px;
    /* or 200% */
    list-style-type: none;
    color: #ffffff;
    /* list-style-image: url("../img/white-clock.svg"); */
    margin: 0;
    padding: 0;
}

.header-list li {
    background-image: url("https://static.nibw.es/sxs/relojhome.svg");
    background-position: 0;
    background-repeat: no-repeat;
    line-height: 30px;
    padding-left: 30px;
}



.wrapper-vehicle {
    color: var(--orange) !important;
    text-decoration: none !important;

}
.wrapper-vehicle a {
    text-decoration: none !important;
}

.wrapper-vehicle p:hover {
    color: var(--blue) !important;
    text-decoration: underline !important;
}

.title-step{
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.title-step-16{
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.fontcolor {
    color: var(--blue);;
}

/* ==================== 
   NUEVAS CLASES: VENTAJAS DE UN SEGURO POR SEMANAS 
   ==================== */

/* Títulos principales */
.ventajas-title-main {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1.3;
}



.ventajas-title-sub {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Subtítulos de ventajas */
.ventajas-subtitle {
    font-size: 20px;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Texto de ventajas */
.ventajas-text {
    font-size: 1rem;
    text-align: left;
    line-height: 1.7;
}

.image-semicircle-left {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 355px;
    border-radius: 0px 1000px 1000px 0px;
}
.image-semicircle-right {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 355px;
    border-radius: 1000px 0px 0px 1000px;
    margin-left: 0%;
}

.image-woman {
    background-image: url("https://static.nibw.es/sxs/HOME/mujer-en-joven-en-un-viaje-por-coche-800x500.webp");
    background-position: 50% 50%;
}

.image-men {
    background-image: url("https://s3.eu-west-3.amazonaws.com/static.nibw.es/sxs/HOME/minivan-en-la-carretera-coche-de-conduccion-trasera-autopista-moderna-800x500.webp");
    background-position: 50% 50%;
}

.image-semicircle-right-smile {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 355px;
    border-radius: 1000px 0 0 1000px;
    margin-left: auto;
    margin-right: 0;
}
.image-men-smile {
    background-image: url("https://static.nibw.es/sxs/HOME/hombre-sonriente-de-tiro-medio-posando-con-coche-800x500.webp");
}

@media (max-width: 768px) {
    .image-semicircle-right-smile {
        height: 250px;
        border-radius: 500px 0 0 500px;
    }
    .col-md-5.offset-md-1 {
        margin-top: 20px;
    }
}

/* Línea naranja debajo del título */
.faq-divider {
    border: none;
    height: 1px;
    background-color: var(--orange);
    margin: 10px 0 15px 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.faq-answer.open ~ .faq-divider {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    margin-top: 0;
    padding: 0 0 10px;
}
.faq-answer.open {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.faq-toggle-icon {
    min-width: 24px;
    text-align: center;
    color: var(--orange);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.step-icon {
        margin: 0 auto;
        max-width: 60px !important;
        max-height: 60px !important;
    }
    /* ESTILOS ICONOS Y CIRCULO */
    .oval-iconall::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    background-color: var(--orange);
    position: relative;
    z-index: -1;
    transition: all 0.3s ease-in-out 0s;
    opacity: 0.3;
    right: 25px;
    top: 25px;
}

.oval-iconall {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 15px;
}


/* Títulos de coberturas */
.oval-iconall h4 {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: secondary;
    margin: 10px 0 8px;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Párrafos con clases personalizadas */
.icon-clock {
    background-image: url("https://static.nibw.es/sxs/logo-li+15.svg");
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 0 0;
    padding-left: 36px;
    min-height: 20px; 
    line-height: 1.4;
}




.fw-600 {
    font-weight: 600 !important;
}

.oval-iconall p {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0 0;
}

/*footer móvil*/
@media (max-width: 767.98px) {
    .footer-mobile-small .footer-title {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem;
    }
    .footer-mobile-small .bg-white p {
        font-size: 0.75rem;
    }

    .footer-mobile-small .bg-white img {
        max-width: 60px !important;
        height: auto !important;
    }
    .footer-mobile-small .footer-link,
    .footer-mobile-small p,
    .footer-mobile-small a {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
}
/*estilo para botones en post & 404*/
.prev-next-button {
    color: #001388;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}

.prev-next-button,
.prev-next-button:visited {
    color: #001388;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    outline: none;
}

.prev-next-button:hover,
.prev-next-button:active,
.prev-next-button:focus {
    background-color: #f2f2f2;
    color: #E86C3C !important;
    border-color: #E86C3C;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 0; /* sin padding al estar cerrado */
}

.faq-answer.open {
    max-height: 500px; /* valor mayor que cualquier respuesta posible */
    padding: 10px 0; /* reaparece el padding al abrir */
}


/* Color primario (azul oscuro) */
.primary-color {
    color: #001388;
}

/* Color secundario (turquesa) */
.secondary-color {
    color: #E86C3C;
}

/* Color primario claro (azul claro, usado en enlaces) */
.primary-color-light {
    color: #4e7cdd !important;
}

/* Estilo para el título del acordeón */
.tittle-icon {
    font-weight: 600;
    font-size: 16px !important;
    line-height: 24px;
    color: #001388; /* primary-color */
}


.accordion-item:first-of-type, .accordion-item:last-of-type .accordion-button, .accordion-item:last-of-type .accordion-collapse, .accordion-item:first-of-type .accordion-button {
    border-radius: 0px !important;
}
/* Acordeón - borde superior */
.border-top {
    border-top: 1px #E86C3C solid !important;
}

/* Estado colapsado del acordeón */
.collapsed-accordion {
    border-bottom: 1px #E86C3C solid !important;
}

/* Estado visible del acordeón */
.show-accordion {
    border-bottom: 1px #E86C3C solid !important;
}

/* Botón del acordeón */
.accordion-button::after {
    background-image: url("https://s3.eu-west-3.amazonaws.com/static.nibw.es/sxs/%2B.png");
    transform: scale(0.75) !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url('https://s3.eu-west-3.amazonaws.com/static.nibw.es/sxs/x.png');
    transform: scale(0.75) !important;
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: #001388;
    background-color: white;
    box-shadow: none !important;
    border-bottom-width: 0px !important;
}

.accordion-item {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
}
.small-img {
    background-image: url('https://static.nibw.es/sxs/calendario.svg');
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(2rem + 0.375rem) calc(2rem + 0.375rem);
}
/* =============================
   ESTILOS UTILIZADOS EN EL STICKYBANNER
   ============================= */

.bg-blue {
    background-color: #001388 !important;
}

.white-color {
    color: #ffff;
}

.font-weight-regular-bold {
    font-weight: 600;
}


.button-inverted {
    color: white;
    background-color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 24px;
    border: none;
    font-weight: 300;
    font-size: 1rem;
    border: solid 1px var(--orange);
}

.button-inverted:hover {
    color: var(--blue);
    background-color: white !important;
    border: solid 1px var(--blue);
}

/* Centrar bloque */
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Bordes redondeados extremos (botones pill) */
.rounded-pill {
    border-radius: 50rem !important;
}

/* Sticky banner - posición fija */
.sticky-banner {
    position: fixed;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.sticky-banner--bottom {
    top: auto;
    bottom: -1px;
    transform: translateY(100%);
}
/* Clase que se añade con JS al hacer scroll */
.sticky-banner--visible {
    transform: translateY(0) !important;
}

button.navbar-toggler {
    border: none;
}

button.navbar-toggler:focus {
    box-shadow: none;
}


/*botón descargar todos en centro descargas*/
@media (min-width: 768px) {
    .btn-descargar-todos {
        width: 25% !important;
    }
}

.fw-300 {
    font-weight: 300 !important;
}

.list-pad {
    padding-left: 2.3rem;
}

#temporality_type
{   position: absolute;
    left: 40%;
    z-index: 10;
}

#tiempo_cobertura{
    background: transparent !important;
    z-index: 20;
    padding-right: 25%;;
}