/* ===================== */


/* Header fijo y Navbar  */


/* ===================== */

:root {
    /* Altura base de tu header */
    --header-h: 10px;
    /* Margen extra opcional (puede ser negativo si quieres menos espacio) */
    --anchor-extra-space: -42px;
}


/* Scroll suave y offset global */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--anchor-extra-space));
}


/* Margen para IDs individuales */

*[id] {
    scroll-margin-top: calc(var(--header-h) + var(--anchor-extra-space));
}


/* Fallback por compatibilidad */

*[id]::before {
    content: "";
    display: block;
    height: 0;
    margin-top: 0;
}


/* Fijar el header */

.header-fixed-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    color: #313c56;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* COLOR PERSONALIZADO PARA NAVBAR */

.custom-navbar {
    background-color: #8d8d8e !important;
    padding-top: 5px;
    padding-bottom: 10px;
}


/* Para evitar que el contenido se esconda debajo del header fijo */

body {
    padding-top: 100px;
    /* ajusta según altura total del header */
}


/* NAVBAR */

.navbar .nav-link {
    color: #ffffff;
    margin: 0 0px;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #48587c;
}


/* Estilo personalizado para el dropdown */

.dropdown-menu {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #313c56;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
    color: #48587c;
}


/* Estilo base */

.marca-radac {
    color: #ffffff;
    /* color inicial del texto */
    transition: color 0.3s ease;
    text-decoration: none;
}


/* Cambia color al pasar el mouse */

.marca-radac:hover {
    color: #48587c;
    /* el color que desees al hacer hover */
}


/* Estilo opcional para la palabra "Constructora" */

.marca-light {
    font-weight: 400;
    opacity: 0.8;
}

.btn-cotizar {
    background-color: #313c56;
    /* color de fondo personalizado */
    color: #fff;
    /* color de texto */
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: background 0.3s ease;
}

.btn-cotizar:hover {
    background-color: #48587c;
    /* color al pasar el cursor */
    color: #fff;
}

@media (max-width: 768px) {
    .navbar .nav-link {
        margin: 10px 0;
        text-align: center;
    }
    .btn-cotizar {
        margin: 10px 0;
        text-align: center;
    }
    .custom-navbar {
        background-color: #8d8d8e !important;
        padding-top: 25px;
        padding-bottom: 20px;
    }
}


/* ============
   Mobile drawer
   ============ */

:root {
    /* alto de la franja superior (logo + hamburguesa) en móvil */
    --mobile-top: 76px;
    /* ancho del panel: cámbialo a 70vw, 320px, etc. */
    --mobile-drawer-width: min(82vw, 300px);
}


/* MÓVIL: no empujar contenido ni aplicar offset de ancla */

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 0;
    }
    *[id] {
        scroll-margin-top: 0;
    }
    body {
        padding-top: 0;
    }
    /* Header fijo arriba como base */
    .header-fixed-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .custom-navbar {
        padding: 8px 0;
    }
    /* Drawer lateral usando el propio .navbar-collapse de Bootstrap */
    .navbar-collapse {
        position: fixed;
        top: var(--mobile-top);
        right: 0;
        width: var(--mobile-drawer-width);
        background: rgba(148, 148, 150, 0.964);
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0);
        padding: 30px;
        /* ✅ Agregamos padding-bottom para el espacio extra */
        padding-bottom: 20px;
        overflow: visible;
        /* ya no necesitas scroll */
        z-index: 1100;
        transform: translateX(100%);
        transition: transform .28s ease;
        display: block !important;
    }
    /* Estados del colapso (aprovechando clases de Bootstrap) */
    .navbar-collapse.show {
        transform: translateX(0);
    }
    /* Estética de opciones */
    .navbar .nav-link {
        font-size: 1.05rem;
        padding: .6rem 0;
        text-align: center;
    }
    .btn-cotizar {
        display: block;
        width: 90%;
        margin-top: 8px;
    }
}


/* MÓVIL: drawer lateral sin ocupar toda la pantalla */

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: var(--mobile-top);
        right: 0;
        width: var(--mobile-drawer-width);
        background: rgba(148, 148, 150, 0.964);
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
        padding: 24px 30px 28px;
        /* alto definido por contenido */
        display: block !important;
        /* evita display:none del collapse */
        transform: translateX(100%);
        /* oculto por defecto */
        transition: transform .28s ease;
        z-index: 1100;
        height: auto;
        /* ¡nada de 100vh! */
        overflow: visible;
    }
    /* Visible (abierto) */
    .navbar-collapse.show {
        transform: translateX(0);
    }
    /* Durante la animación de cierre: mantenerlo fuera */
    .navbar-collapse.collapsing {
        transform: translateX(100%);
        height: auto;
        /* sin animar la altura */
        overflow: hidden;
        /* por si acaso */
    }
    /* Asegura que cuando NO esté en show, esté fuera */
    .navbar-collapse:not(.show) {
        transform: translateX(100%);
    }
}


/* HERO SECTION */

.hero-section {
    position: relative;
    width: 100%;
    height: 92vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    background-position: top center;
    /* ✅ En escritorio, enfoca arriba */
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.463);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.hero-contenedor {
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-titleg {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #3e4c6d;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.hero-btn {
    border: 2px solid white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: white;
    color: black;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .hero-section {
        height: 92vh;
        background-position: 40% 40%;
        /* ✅ Centro en móvil */
    }
    .hero-contenedor,
    .hero-content {
        text-align: center;
        margin-top: -3rem;
    }
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 10px 25px;
        border: 2px solid white;
        border-radius: 30px;
        font-weight: 500;
        transition: 0.3s ease;
        display: inline-block;
        margin-top: 0.5rem;
    }
}


/* Logo tipo botón */

.logo-btn {
    height: 60px;
    /* ajusta el tamaño */
    width: auto;
    /* mantiene proporción */
    cursor: pointer;
    /* efecto "botón" */
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* Efecto hover */

.logo-btn:hover {
    transform: scale(1.05);
    /* pequeño zoom */
    opacity: 0.9;
    /* leve transparencia */
}


/* Ajuste de margen si lo usas dentro de una navbar */

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.marca-radac {
    text-decoration: none;
}

.intro-construccion {
    background-color: #f5f5f5;
    padding: 80px 50px;
}

.intro-construccion .intro-texto {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 35px;
}

.intro-construccion .btn-intro {
    display: inline-block;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.2);
}

.intro-construccion .btn-intro:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.25);
    opacity: 0.95;
}


/* --- Responsivo --- */

@media (max-width: 768px) {
    .intro-construccion {
        padding: 60px 15px;
    }
    .intro-construccion .intro-titulo {
        font-size: 1.8rem;
    }
    .intro-construccion .intro-texto {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .intro-construccion .intro-titulo {
        font-size: 1.6rem;
    }
    .intro-construccion .btn-intro {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
}


/* SECCIÓN PROYECTO */

.proyecto-section {
    padding: 3rem 1rem;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.proyecto-banner {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: .5rem 0;
}

.proyecto-banner h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.proyecto-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 0;
    gap: 2rem;
}

.proyecto-imagen img {
    width: 100%;
    max-width: 600px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.proyecto-detalles {
    flex: 1;
    min-width: 250px;
}

.proyecto-titulo {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.proyecto-etiqueta {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #444;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    gap: 0.5rem;
}

.proyecto-etiqueta i {
    font-size: 1.2rem;
    color: #888;
}

.proyecto-descripcion-remodelacion {
    max-width: 1500px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #f9f9f900;
    /* opcional para resaltar */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.proyecto-descripcion-remodelacion p {
    margin-bottom: 1rem;
    text-align: justify;
}

.proyecto-lista {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.proyecto-lista li {
    margin-bottom: 0.5rem;
}

.proceso-subtitulo {
    text-align: center;
    font-size: 2rem;
    margin: 5px 0;
    font-weight: 600;
    color: #333;
}


/* RESPONSIVO */

@media (max-width: 768px) {
    .proyecto-container {
        flex-direction: column;
        text-align: center;
    }
    .proyecto-imagen img {
        max-width: 90%;
    }
    .proyecto-detalles {
        text-align: center;
    }
    .proyecto-descripcion-remodelacion {
        margin: 1rem;
        padding: 1rem;
        font-size: 0.95rem;
    }
    .proyecto-lista {
        padding-left: 1.2rem;
        text-align: left;
    }
    .proyecto-descripcion-remodelacion p {
        text-align: justify;
    }
}


/* SECCIÓN PROCESO */

.proceso-section {
    padding: 3rem 1rem;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.proceso-titulo {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.proceso-descripcion {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.proceso-galeria {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.proceso-galeria img {
    width: 100%;
    max-width: 410px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}


/* ======================= */


/*        RESPONSIVE       */


/* ======================= */

@media (max-width: 768px) {
    .proyecto-container {
        flex-direction: column;
        align-items: center;
    }
    .proceso-titulo {
        text-align: center;
    }
    .proceso-descripcion {
        text-align: center;
    }
    .proceso-galeria {
        flex-direction: column;
        align-items: center;
    }
    .proceso-galeria img {
        max-width: 97%;
    }
}


/* SECCIÓN VISTAS */


/* Contenedor de toda la sección */

.full-width-wrapper-vistas {
    width: 100vw;
    position: relative;
    padding: 40px 0;
}

.titulo-vistas {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.descripcion-vistas {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.descripcion-vistas1 {
    font-size: 1rem;
    color: #0f1371;
    margin-bottom: 1.5rem;
    text-align: center;
}


/* Carrusel centrado dentro del contenedor */

.contenedor-vistas-carousel {
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
    padding: 0 0px;
}


/* Swiper básico */

.swiper-vistas {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Modificar el tamaño del texto de los títulos en el carrusel */

.swiper-slide h5 {
    font-size: 1rem;
    /* Cambia este valor para ajustar el tamaño del texto */
    font-weight: 600;
    /* Ajusta el grosor de la fuente si lo deseas */
    color: #000000;
    /* Cambia el color si lo prefieres */
    margin-top: 10px;
    /* Ajusta el espacio superior si lo necesitas */
}

.swiper-slide img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}


/* Botones personalizados */

.vistas-button-prev,
.vistas-button-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: #474b94 !important;
    color: #ffffff !important;
    width: 60px !important;
    height: 40px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 10;
}

.vistas-button-prev {
    left: 0 !important;
}

.vistas-button-next {
    right: 0 !important;
}


/* Flechas */

.vistas-button-prev::after,
.vistas-button-next::after {
    content: '' !important;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.vistas-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.vistas-button-next::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

@media (max-width: 768px) {
    .titulo-vistas {
        text-align: center;
    }
    .descripcion-vistas {
        text-align: center;
    }
    .descripcion-vistas1 {
        text-align: center;
    }
    .full-width-wrapper-vistas {
        width: 99vw;
        padding: 50px 0;
        overflow-x: hidden;
    }
    .contenedor-vistas-carousel {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .swiper-vistas {
        padding: 10px 0;
    }
    .swiper-slide {
        padding: 0 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .swiper-slide img {
        width: 89%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 0 !important;
    }
    .swiper-slide h5 {
        font-size: 16px;
        margin-top: 10px;
    }
    .vistas-button-prev,
    .vistas-button-next {
        width: 45px !important;
        height: 35px !important;
    }
    .vistas-button-prev {
        left: -5px !important;
    }
    .vistas-button-next {
        right: -5px !important;
    }
    h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 20px;
    }
}


/* Carrusel centrado dentro del contenedor 2*/

.contenedor-vistas-carousel2 {
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
    padding: 0 0px;
}

.descripcion-vistas2 {
    font-size: 1rem;
    color: #0f1371;
    margin-bottom: 1.5rem;
    text-align: center;
}


/* Swiper básico */

.swiper-vistas2 {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}


/* Botones personalizados */

.vistas-button-prev2,
.vistas-button-next2 {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: #474b94 !important;
    color: #fff !important;
    width: 60px !important;
    height: 40px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 10;
}

.vistas-button-prev2 {
    left: 0 !important;
}

.vistas-button-next2 {
    right: 0 !important;
}


/* Flechas */

.vistas-button-prev2::after,
.vistas-button-next2::after {
    content: '' !important;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.vistas-button-prev2::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.vistas-button-next2::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

@media (max-width: 768px) {
    .contenedor-vistas-carousel2 {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .descripcion-vistas2 {
        text-align: center;
    }
    .swiper-vistas2 {
        padding: 10px 0;
    }
    .swiper-slide {
        padding: 0 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .swiper-slide img {
        width: 89%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 20px;
    }
    .swiper-slide h5 {
        font-size: 16px;
        margin-top: 10px;
    }
    .vistas-button-prev2,
    .vistas-button-next2 {
        width: 45px !important;
        height: 35px !important;
    }
    .vistas-button-prev2 {
        left: -5px !important;
    }
    .vistas-button-next2 {
        right: -5px !important;
    }
}


/* Carrusel centrado dentro del contenedor 3*/

.contenedor-vistas-carousel3 {
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
    padding: 0 0px;
}

.descripcion-vistas3 {
    font-size: 1rem;
    color: #0f1371;
    margin-bottom: 1.5rem;
    text-align: center;
}


/* Swiper básico */

.swiper-vistas3 {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}


/* Botones personalizados */

.vistas-button-prev3,
.vistas-button-next3 {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: #474b94 !important;
    color: #fff !important;
    width: 60px !important;
    height: 40px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 10;
}

.vistas-button-prev3 {
    left: 0 !important;
}

.vistas-button-next3 {
    right: 0 !important;
}


/* Flechas */

.vistas-button-prev3::after,
.vistas-button-next3::after {
    content: '' !important;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.vistas-button-prev3::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.vistas-button-next3::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

@media (max-width: 768px) {
    .contenedor-vistas-carousel3 {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .descripcion-vistas3 {
        text-align: center;
    }
    .swiper-vistas3 {
        padding: 10px 0;
    }
    .swiper-slide {
        padding: 0 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .swiper-slide img {
        width: 89%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 20px;
    }
    .swiper-slide h5 {
        font-size: 16px;
        margin-top: 10px;
    }
    .vistas-button-prev3,
    .vistas-button-next3 {
        width: 45px !important;
        height: 35px !important;
    }
    .vistas-button-prev3 {
        left: -5px !important;
    }
    .vistas-button-next3 {
        right: -5px !important;
    }
}


/* SECCIÓN PROYECTOS DESTACADOS */


/* Contenedor de toda la sección (ocupa ancho completo) */

.full-width-wrapper {
    width: 100vw;
    position: relative;
    padding: 40px 0;
    background-color: #e7e4e4;
}


/* Carrusel centrado dentro del contenedor */

.carousel-container {
    max-width: 1140px;
    /* o el ancho que uses normalmente */
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}


/* Swiper básico */

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Modificar el tamaño del texto de los títulos en el carrusel */

.swiper-slide h4 {
    font-size: 1.5rem;
    /* Cambia este valor para ajustar el tamaño del texto */
    font-weight: 600;
    /* Ajusta el grosor de la fuente si lo deseas */
    color: #000000;
    /* Cambia el color si lo prefieres */
    margin-top: 10px;
    /* Ajusta el espacio superior si lo necesitas */
}

.swiper-slide img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}


/* Botones - ahora posicionados respecto al contenedor full-width */

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000 !important;
    color: #fff !important;
    width: 60px !important;
    height: 40px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 10;
}


/* Botón izquierdo */

.swiper-button-prev {
    left: 0 !important;
    /* puedes poner -20px si quieres que sobresalga más */
}


/* Botón derecho */

.swiper-button-next {
    right: 0 !important;
}


/* Flechas */

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '' !important;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.swiper-button-next::after {
    transform: rotate(45deg);
    margin-right: 3px;
}

@media (max-width: 768px) {
    .full-width-wrapper {
        width: 99.7vw;
        padding: 50px 0;
        /* menos padding para pantallas pequeñas */
        overflow-x: hidden;
        /* previene scroll lateral accidental */
    }
    .carousel-container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .swiper {
        padding: 10px 0;
    }
    .swiper-slide {
        padding: 0 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .swiper-slide img {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 10px;
    }
    .swiper-slide h5 {
        font-size: 16px;
        margin-top: 10px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 45px !important;
        height: 35px !important;
    }
    .swiper-button-prev {
        left: -5px !important;
    }
    .swiper-button-next {
        right: -5px !important;
    }
    h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 20px;
    }
}


/* SECCIÓN FOOTER */

.footer-dark {
    background-color: #1e1e1e;
    padding: 20px 20px;
    font-family: 'Poppins', sans-serif;
    color: #ccc;
    text-align: center;
    /* CENTRA TODO */
}

.footer-grid-dark {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    /* CENTRA CADA COLUMNA */
}

.footer-item-dark {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* CENTRA CONTENIDO DENTRO DE LA COLUMNA */
}


/* TÍTULO */

.footer-titulo h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.footer-titulo span {
    color: #ffffff;
}


/* MAPA */

.footer-mapa {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.footer-item-dark h4 {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-item-dark p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #aaa;
}

.footer-link-dark {
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link-dark:hover {
    color: #ffffff;
}

.footer-social-dark {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 8px;
}

.footer-social-dark a {
    font-size: 1.2rem;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.footer-social-dark a:hover {
    color: #313c56;
    transform: translateY(-5px);
}

.footer-credit {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-btn-dark {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-btn-dark:hover {
    background-color: #313c56;
    color: #fff;
}


/* WHATSAPP BUTTON */

.whatsapp-float {
    position: fixed;
    bottom: 0px;
    right: 22px;
    z-index: 2147483647;
    /* máximo valor posible */
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.whatsapp-float img.whatsapp-icon {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        font-size: 20px;
        padding: 10px 12px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Ajustes generales */
    body {
        padding-top: 90px;
    }
    /* NAVBAR */
    .navbar .nav-link {
        font-size: 1rem;
        margin: 0 8px;
    }
    /* FOOTER */
    .footer-grid-dark {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-item-dark h4 {
        font-size: 1rem;
    }
    .footer-item-dark p,
    .footer-link-dark {
        font-size: 0.9rem;
    }
    .footer-titulo h2 {
        font-size: 1.8rem;
    }
    .footer-credit {
        font-size: 0.8rem;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* === Auto-ocultar navbar === */

.header-fixed-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: transform .4s ease-in-out, opacity .3s ease-in-out;
    will-change: transform, opacity;
}


/* visible por scroll o hover */

.header-fixed-container.show {
    transform: translateY(0);
    opacity: 1;
}


/* oculto por scroll hacia abajo */

.header-fixed-container.hide {
    transform: translateY(-100%);
    opacity: 0;
}


/* visible si el cursor está en la franja superior */

.header-fixed-container.visible-hover {
    transform: translateY(0);
    opacity: 1;
}


/* Fondo elegante opcional */

.custom-navbar {
    background-color: rgba(141, 141, 142, .95) !important;
    backdrop-filter: blur(8px);
}


/* Usa la altura real del header como offset y NO un número fijo */

:root {
    --header-h: 60px;
}

html {
    scroll-padding-top: var(--header-h);
}

*[id] {
    scroll-margin-top: var(--header-h);
}

body {
    padding-top: var(--header-h);
}


/* Evitar separación con el hero */

.hero-section {
    margin-top: 0;
}