h1, h2, h3, h4 {
    font-family: "Bree Serif", serif;
}

body, h5, h6{
    font-family: "Nunito Sans", sans-serif;
}

body{
    font-size: 1.5rem;
}

h1,
.section-title-lg{
    font-size: 3rem;
}

.productos{
    background-color: #210100;
    color: #FDF6E3;
    min-height: 600px;
    padding: 3rem 0;
}


html {
    background-color: #210100;
}

header {
    animation: navbarSlideDown 0.35s ease both;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---- Animación de aparición  ---- */

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.iconos.row .reveal-item:nth-child(1) { transition-delay: 0s; }
.iconos.row .reveal-item:nth-child(2) { transition-delay: 0.15s; }
.iconos.row .reveal-item:nth-child(3) { transition-delay: 0.3s; }

header .navbar{
    background-color: #210100;
    --bs-navbar-color: #FDF6E3;
    --bs-nav-link-color: #FDF6E3;
    --bs-navbar-active-color: #FDF6E3;
    --bs-navbar-hover-color: #E6A341;
    padding: 1rem 0
}

.navbar-brand{
    margin-right: auto;
    padding: 0;
}

.navbar-brand img,
.navbar-nav img{
    height: 70px;
    width: auto;
}

/* ---- Botón hamburguesa  ---- */
.navbar-toggler {
    margin: 0 1.25rem;
    padding: 0.65rem 0.85rem;
    background-color: #FDF6E3;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(33, 1, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: 0 0 0 3px rgba(230, 163, 65, 0.5), 0 4px 10px rgba(33, 1, 0, 0.3);
}

.navbar-toggler-icon{
    background-color: transparent;
    border-radius: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23210100' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    margin-left: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #E6A341;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active:hover,
.navbar-nav .nav-link.active:focus {
    color: #E6A341;
}

.banner{
    position: relative;
    height: 600px;
    overflow: hidden;
    background-image: url("../imagenes/banner-comp.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 120%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.banner-text{
    position: relative;
    z-index: 1;
}

.banner p{
    font-size: 2rem;
}

.propuesta{
    background-color: #FECE79 ;
}

.propuesta img{
    padding: 2rem 0;

}

.propuesta > .text-center {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.iconos img{
    max-width: 160px;
    height: auto;
}

.iconos p{
    max-width: 500px;
}

.propuesta h2,
.propuesta p{
    --bs-heading-color: #1a1a1a;
    color: #1a1a1a;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    border: 0;
}

/* ---- Miniatura de YouTube con botón de reproducción (carga diferida) ---- */

.yt-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: inherit;
    overflow: hidden;
    cursor: pointer;
    background-color: #210100;
}

.yt-facade-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.yt-facade:hover .yt-facade-thumb,
.yt-facade:focus-visible .yt-facade-thumb {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.yt-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: rgba(33, 1, 0, 0.75);
    border: 3px solid #E6A341;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.yt-facade-play::before {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #FDF6E3;
    margin-left: 4px;
}

.yt-facade:hover .yt-facade-play,
.yt-facade:focus-visible .yt-facade-play {
    background-color: #8C0902;
    transform: translate(-50%, -50%) scale(1.1);
}

.yt-facade:focus-visible {
    outline: 3px solid #E6A341;
    outline-offset: 3px;
}


.banner-text{
    width: 39%;
    padding-left: 10%;
}

#owl-demo .item{
    padding: 10px;
}

#owl-demo img{
    width: 100%;
    max-width: 180px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

#owl-demo img{
    width: 100%;
    max-width: 180px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: transform .3s ease;
}

#owl-demo img:hover{
    transform: scale(1.05);
}

.testimonial-clientes {
    border-top: 15px solid #b18e1e;
    border-bottom: 15px solid #b18e1e;
    border-left: none;
    border-right: none;
    padding: 0 1rem;
}

.testimonial-slider{
    display: flex;
    align-items: flex-start;
    gap:40px;
    overflow-x: auto;
    scroll-snap-type:x mandatory;
    height: 480px;
}

.testimonial-slider:focus-visible{
    outline: 3px solid #E6A341;
    outline-offset: 4px;
}

.testimonial-card{
    min-width:300px;
    width: 400px;
    height: 400px;
    padding: 25px;
    text-align:center;
    background-color: #FDF6E3;
    border-radius: 15px;
    text-align:center;
    flex-shrink:0;
    scroll-snap-align:start;
}

.testimonial-card img{
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    width: 175px;
    height: 175px;
}

.testimonial-card h3{
    color: rgb(29, 23, 14);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.testimonial-slider::-webkit-scrollbar{
    height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track{
    background: #f1f1f1;
    border-radius: 999px;
}

.testimonial-slider::-webkit-scrollbar-thumb{
    background: #c9a227;
    border-radius: 999px;
}

.testimonial-slider::-webkit-scrollbar-thumb:hover{
    background: #b18e1e;
}

/* ---- Promoción de lanzamiento ---- */

.promo-lanzamiento {
    background-color: #210100;
    color: #FDF6E3;
    padding: 5rem 0;
}

.promo-etiqueta {
    font-family: "Bree Serif", serif;
    color: #E6A341;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.promo-lanzamiento h2 {
    color: #FDF6E3;
}

.promo-texto {
    max-width: 480px;
    margin: 1rem auto 1.5rem;
}

@media (min-width: 768px) {
    .promo-texto {
        margin-left: 0;
    }
}

.promo-qr-img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    border: 5px solid #E6A341;
    background-color: #FDF6E3;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.promo-fechas {
    margin: 1.25rem 0 0;
    color: #E6A341;
    font-family: "Bree Serif", serif;
    font-size: 1.2rem;
}

footer{
    height: auto;
    background-color: #FDF6E3;
    padding-left: 10rem;
    padding-right: 10rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1rem;
}

footer h3{
    font-size: 1.3rem;
}

footer p{
    font-size: 1.05rem;
}

.logo-miel{
    width: 180px;
    height: auto;
}


.redes img, .info img{
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}

.footer-whatsapp-icon{
    width: 27px;
    height: 27px;
    margin: 0 0 0 6px;
    vertical-align: middle;
}

.footer-whatsapp-link{
    display: inline-block;
}

.button {
    width: auto;
    height: auto;
    padding: 0.5rem 1.5rem;
    background-color: #210100;
    color: #f1f1f1;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: #E6A341;
    color: #210100;
}

.button-light {
    width: auto;
    height: auto;
    padding: 0.5rem 1.5rem;
    background-color: #E6A341;
    color: #1A1A1A;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-light:hover {
    background-color: #FDF6E3;
    color: #210100
}

/* === TABLET Y LAPTOP === */

@media (max-width: 1200px) {
    footer {
        padding: 2rem 4rem;
    }

    .redes img, .info img {
        width: 28px;
        height: 28px;
    }

    .logo-miel {
        width: 150px;
        height: auto;
    }
}
/* === LAPTOP === */
@media (min-width: 993px) and (max-width: 1440px) {

    body {
        font-size: 1.3rem;
    }

    .navbar-brand img,
    .navbar-nav img {
        height: 50px;
    }

    .nav-link {
        font-size: 1.1rem;
        margin-left: 10px;
    }

    .banner h1 {
        font-size: 2.2rem;
    }

    .banner p {
        font-size: 1.3rem;
    }

    .banner .button {
        font-size: 1.1rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 992px) {

    .banner {
        background-image: url("../imagenes/banner-comp.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        height: auto;
        min-height: 480px;
        padding: 4rem 2rem;
    }

    .banner-text {
        width: 100%;
        padding: 2rem;
    }


    footer {
        height: auto;
        padding: 3rem 2rem;
    }

    .logo-miel {
        width: 130px;
        height: auto;
    }

    .testimonial-slider {
        height: auto;
    }
}

/* === MÓVIL === */
@media (max-width: 576px) {

    body { font-size: 1.1rem; }

    h1, .section-title-lg { font-size: 2rem; }

    .banner p { font-size: 1.2rem; }

    .button, .button-light { font-size: 1.1rem; }

    .promo-lanzamiento {
        padding: 3rem 1rem;
    }

    .promo-qr-img {
        width: 180px;
        height: 180px;
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .navbar-brand img {
        height: 50px;
    }

    .iconos img {
        max-width: 90px;
    }

    .video-container {
        margin-top: 2rem;
    }

    .testimonial-slider {
        gap: 20px;
    }

    .testimonial-card {
        width: 82vw;
        min-width: unset;
        height: 330px;
        padding: 18px;
    }

    .testimonial-card img {
        width: 105px;
        height: 105px;
    }

    footer {
        padding: 2rem 1rem;
    }

    footer .row {
        flex-direction: column;
        align-items: center;
    }

    footer .col-md-4 {
        width: 100%;
        margin-bottom: 2rem;
    }

    .redes-iconos {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.25rem;
    }

    .redes img {
        margin-bottom: 0;
    }

    .logo-miel {
        width: 110px;
        height: auto;
    }
}