:root {
    --colorprincipal: #11387f;
    --color-secundario: #000000;
    --color-terc: #007fc8;
    --color-botones: #000000;
}

/****************************************Generales******************************************/
h2 {
    font-size: 28px;
}

.subtitulos-h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

h4 {
    font-size: 18px;
}

.botones {
    background-color: white;
    color: black;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.botones:hover {
    color: white;
    background-color: var(--color-terc);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.seccion-diagonal-titulos {
    position: relative;
    background-color: var(--colorprincipal);
    min-height: 200px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 0%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 90%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    margin: 0px 0;
    padding-top: 80px;
    padding-bottom: 120px;
    /* espacio para que no se corte el contenido */
}

.secciones-titulos {
    color: white;
    font-size: 34px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.imagen-secciones {
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    /* opcional */
}



/*********************************** NAVBAR **************************************************/
/* ============================= */
/* ICONO HAMBURGUESA */
/* ============================= */

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-toggler i {
    color: white;
}

.navbar-toggler {
    border: none;
}


/* ============================= */
/* NAVBAR GENERAL */
/* ============================= */

.navbar {
    transition: background-color .28s cubic-bezier(.2, 0, 0, 1),
                box-shadow .28s cubic-bezier(.2, 0, 0, 1);
}

.navbar-transparent {
    background-color: transparent;
}

.navbar-scrolled {
    background-color: var(--colorprincipal); /* Azul */
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}


/* ============================= */
/* LOGO SOBRESALIENTE (Desktop) */
/* ============================= */

@media (min-width: 992px) {

    .navbar {
        overflow: visible;
    }

    .navbar .navbar-brand {
        position: relative;
        display: inline-block;
        height: 35px;
        line-height: 35px;
        overflow: visible;
        z-index: 2;
    }

    .navbar .navbar-brand img {
        height: 120px;
        position: absolute;
        top: -27px;
        left: 0;
        transform: translateY(14px);
        pointer-events: auto;
    }

    .navbar.navbar-scrolled {
        overflow: visible;
    }
}


/* ============================= */
/* LINKS DEL MENÚ */
/* ============================= */

.navbar .nav-link {
    color: #ffffff !important;
    font-size: 1rem;
    padding: 10px 15px;
}


/* ============================= */
/* BOTÓN CONTÁCTENOS */
/* ============================= */

.btn-contactame {
    font-weight: 600;
    border-radius: 999px;
    padding: .55rem 1rem;
    margin-left: 20px;
    border: 2px solid transparent;
    transition: background-color .2s ease,
                color .2s ease,
                border-color .2s ease,
                box-shadow .2s ease,
                transform .06s ease;
}

/* Botón cuando navbar es transparente */
.navbar-transparent .btn-contactame {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .08);
}

.navbar-transparent .btn-contactame:hover {
    transform: translateY(-1px);
    box-shadow: 0 .6rem 1.25rem rgba(0, 0, 0, .12);
}

/* Botón cuando navbar tiene scroll */
.navbar-scrolled .btn-contactame {
    background: #ffffff;
    color: #000000;
}


/* ============================= */
/* DROPDOWN ANIMACIÓN SUAVE */
/* ============================= */

@media (min-width: 992px) {

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }

    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown.show > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity .18s ease, transform .18s ease;
    }

}


/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 991px) {

    .navbar-transparent {
        background-color: var(--colorprincipal);
    }

    .navbar .navbar-brand img {
        height: 40px;
        position: relative;
        top: 0;
        transform: none;
    }

}
/* ============================= */
/* LOGO RESPONSIVE */
/* ============================= */

/* MOBILE */
.logo-mobile {
    height: 55px;
    width: auto;
}


/* DESKTOP (Logo sobresaliente) */
@media (min-width: 992px) {

    .navbar {
        overflow: visible;
    }

    .navbar .navbar-brand {
        position: relative;
        display: inline-block;
        height: 35px;
        line-height: 35px;
        overflow: visible;
        z-index: 2;
    }

    .logo-desktop {
        height: 130px;
        position: absolute;
        top: -27px;
        left: 0;
        transform: translateY(14px);
        pointer-events: auto;
    }

    .navbar.navbar-scrolled {
        overflow: visible;
    }
}


/*************************************** SLIDER ******************************************************/

.hero-carousel {
  position: relative;
  margin-top: 0;
  height: 100svh;
  min-height: 100vh;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}

@supports (height: 100dvh) {
  .hero-carousel {
    height: 100dvh;
  }
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-carousel .carousel-indicators {
  display: none !important;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: clamp(4rem, 7vw, 7rem);
  opacity: .35;
  transition: opacity .2s ease;
  pointer-events: auto;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  opacity: .75;
}

/* Difuminado lateral */
.hero-carousel .carousel-control-prev {
  background: linear-gradient(to right, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.hero-carousel .carousel-control-next {
  background: linear-gradient(to left, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {

  .hero-carousel .carousel,
  .hero-carousel .carousel-item {
    transition: none !important;
  }
}

@media (max-width: 991px) {
  .btn.btn-contactame {
    margin-top: 10px;
    margin-left: 0;
  }
}


/************************************* HOME  ************************************************/

.titulo-home {
    font-size: 34px;
    margin-bottom: 60px;
    color: var(--colorprincipal);
}

.seccion-diagonal {
    position: relative;
    background-color: var(--colorprincipal);
    /* fondo gris claro */
    min-height: 700px;
    /* altura más amplia */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 5%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 95%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    margin: 20px 0;
    padding-top: 80px;
    padding-bottom: 30px;
    /* espacio para que no se corte el contenido */
}

.contenido-centrado {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subtitulo-productos {
    color: white;
    margin-bottom: 100px;
}

.cartas-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cartas-productos a {
    text-decoration: none;
}

#card-productos-gris{
    background-color: #f9f9f9;
}

.card-productos {
    position: relative;
    background-color: #fff;
    text-align: center;
    padding: 110px 20px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(211, 211, 211, 0.2);
    transition: transform 0.3s ease;
    overflow: visible;
    margin-bottom: 50px;
}

.card-productos:hover {
    transform: translateY(-5px);
}

.card-productos #img-big {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #fff;
    padding: 5px;
}

.card-productos img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: #fff;
    padding: 5px;
}



.card-productos h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--colorprincipal);
}

.card-productos p {
    font-size: 15px;
    color: #333;
}

/*Video Informativo (HOME)*/
.seccion-video-fondo {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4rem 0;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(209, 209, 209, 0.1);
    z-index: 1;
}

.contenedor-carta-derecha {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.carta-informativa {
    background: rgba(255, 255, 255, 0.48);
    width: 45%;
    margin-left: auto;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.titulo-seccion {
    color: var(--color-terc);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.divider {
    width: 80px;
    height: 4px;
    background: rgb(152, 152, 152);
    margin: 1.5rem 0;
}

.contenido-destacado p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.lista-beneficios li {
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    list-style-type: square;
}

.lista-beneficios i {
    color: #0066cc;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.2rem;
}

/******************************************* PREGUNTAS FRECUENTES **************************************************/
.preguntas-frecuentes{
    background-color: #fafafa;
}

/* ===== FAQ Intercambiadores ===== */

#faqIntercambiadores .card {
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

#faqIntercambiadores .card-header {
    background-color: #ffffff;
    padding: 0;
    border-radius: 8px;
}

#faqIntercambiadores .btn-link {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 15px;
}

#faqIntercambiadores .btn-link:hover,
#faqIntercambiadores .btn-link:focus {
    text-decoration: none;
    color: #000000;
}

#faqIntercambiadores .card-body {
    font-size: 14px;
    padding: 12px 18px 16px 18px;
    background-color: #ffffff;
    color: #444;
}

/* Ícono + / - automático */
#faqIntercambiadores .btn-link::after {
    content: "+";
    float: right;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.2s ease;
}

#faqIntercambiadores .btn-link:not(.collapsed)::after {
    content: "−";
}


/********************************************* SECCIONES ****************************************************/

.beneficios-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beneficio-item {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    padding-bottom: 25px;
}

.beneficio-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.beneficio-icono {
    font-size: 1.8rem;
    color: var(--color-terc);
    min-width: 40px;
    text-align: center;
    padding-top: 5px;
}

.beneficio-texto h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.beneficio-texto h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.beneficio-texto p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/*******Seccion Video***********/

/* Modificaciones para la sección centrada */
.seccion-centrada-funcion {
    justify-content: center !important;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.contenedor-carta-centrada {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.carta-centrada {
    width: 60% !important;
    margin-left: 0 !important;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.6);
}

/* Ajustes para el título y divisor en versión centrada */
.carta-centrada .titulo-seccion {
    text-align: center;
}

.carta-centrada .divider {
    margin: 1.5rem auto;
}

@media (max-width: 480px) {
    .carta-centrada {
        width: 100% !important;
    }
}

.cartas-productos-placas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cartas-productos-trio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cartas-productos-placas h3 {
    color: black;
}

.cartas-productos-tres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/*Productos*/

.carta-catalogos {
    
   
    
    padding: 10px;
    display: block;
    margin: 0 auto;
}

.cartas-inf {
    margin-bottom: 30px;
}

.cartas-finales {
    margin-bottom: 25px;
}

.fondo-gris {
    position: relative;
    background-color: #f5f3f2;
    min-height: 700px;
    /* altura más amplia */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 5%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 95%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    margin: 20px 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.card-intercambiador {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.card-intercambiador:hover {
    transform: translateY(-10px);
}

.card-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.card-text {
    color: #555;
    margin-bottom: 1.5rem;
}


/*********************************************************** PRODUCTOS **************************************************************/
.seccion-diagonal-product {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 20px 0;
    padding-bottom: 30px;
}

.seccion-diagonal-product-2 {
    position: relative;
    background-color: var(--colorprincipal);
    /* fondo gris claro */
    min-height: 700px;
    /* altura más amplia */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 5%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 95%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    margin: 20px 0;
    padding-top: 80px;
    padding-bottom: 30px;
    /* espacio para que no se corte el contenido */
}

.cartas-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/****************************************** SERVICIOS ****************************************************/

.linea-servicio {
    display: inline-block;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    width: 40px;
}

.subtitulo-servicios {
    font-size: 18px;
}

.titulo-servicios {
    margin-bottom: 20px;
}

.pagina-servicios {
    background-color: white;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin: 10px;
    flex: 1;
    transition: transform 0.8s ease, box-shadow 0.3s ease;
}

.seccion-informativa {
    background-color: transparent;
    /* Ya no es necesario aquí */
    box-shadow: none;
    padding: 0;
}

.imagen-servicios img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.pagina-servicios:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carta-limpieza {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s ease, box-shadow 0.2s ease;
}

.carta-limpieza:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.carta-limpieza p {
    font-size: 13px;
    text-align: left;
}

/****************************************** CONTACTO ****************************************************/
.seccion-diagonal-whatsapp {
    position: relative;
    background-color: var(--colorprincipal);
    min-height: 200px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 0%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 90%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    margin: 0px 0;
    padding-top: 80px;
    padding-bottom: 120px;
    /* espacio para que no se corte el contenido */

}

/*********************************************************** Responsive *************************************************************/
@media (max-width: 992px) {
    .carta-informativa {
        width: 70%;
        margin: 0 auto;
    }

    .seccion-video-fondo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .carta-informativa {
        width: 90%;
        padding: 2rem;
    }

    .titulo-seccion {
        font-size: 1.8rem;
    }

    .seccion-video-fondo {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    }
}

/*Catalogos (Home)*/

.seccion-recursos {
    clip-path: polygon(0 5%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 90%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    color: white;
    background-color: var(--colorprincipal);
}

.seccion-recursos ul {
    margin-bottom: 25px;
}

.seccion-recursos-home {
    clip-path: polygon(0 0%,
            /* esquina superior izquierda (5% desde arriba) */
            100% 0,
            /* esquina superior derecha (0% desde arriba) */
            100% 100%,
            /* esquina inferior derecha (95% desde arriba) */
            0% 90%
            /* esquina inferior izquierda (100% desde arriba) */
        );
    color: white;
    background-color: var(--colorprincipal);
}

.seccion-recursos-home ul {
    margin-bottom: 25px;
}

/************************************ SLIDER *************************************************/


@media (max-width: 480px) {
    .slider-principal-yuken {
        margin-top: 70px;
        height: 200px;
    }
}

#slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 100%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.slides picture {
    min-width: 100%;
    height: 100%;
}




/********************************************* CONTACTO******************************************************/
.datos-contacto {
    margin-top: 35px;
}

.bg-contacto h6 {
    font-size: 20px;
}

.formulario-contacto input {
    border: 1px solid black;
}

.formulario-contacto textarea {
    border: 1px solid black;
}

.formulario-contacto select {
    border: 1px solid black;
}

.formulario-contacto .obligatorio {
    color: red;
}

.formulario-contacto .opcional {
    font-size: 10px;
}

.formulario-contacto .enviar-formulario .btn {
    text-align: center;
    margin: 10px;
    padding: 10px;
    width: 200px;
}


/************************************** FOOTER ****************************************************************/
.linea-footer {
    display: inline-block;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    width: 40px;
}

.linea-larga-footer {
    display: inline-block;
    border-bottom: 1px solid #000000;
    width: 100%;
}

.footer {
    background-color: var(--colorprincipal);
    /* Color de fondo */
}

.footer .social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.footer .footer-bottom {
    background-color: var(--colorprincipal);
    color: #fff;
}

.footer .footer-bottom p {
    padding-bottom: 15px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.parr-derechos {
    font-size: 12px;
}


/**************************************** RESPONSIVE ***********************************************/

@media (max-width: 480px) {
    
    .img-fluid{
        max-width: 250px;
    }


    /*********** Footer **********/
    .footer h5 {
        font-size: 16px;
        text-align: center;
    }

    .footer p,
    .social-icons {
        text-align: center;
    }

    .linea-footer {
        width: 100%;
    }

    .footer li {
        padding-bottom: 5px;
        text-align: center;
    }

}