/* =========================
BASE
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background-image:
    linear-gradient(
        rgba(255,248,240,0.65),
        rgba(223,219,214,0.65)
    ),
    url('img/img2.png.jpeg');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

/* Evita desbordamientos de imágenes */

img{
    max-width:100%;
    height:auto;
    display:block;
}




/* =========================
HEADER
========================= */

.header{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(10px);
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    z-index:1000;
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    position:relative;
}

/* =========================
LOGO
========================= */

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:45px;
    height:45px;
    border-radius:50%;
    object-fit:cover;
}

.logo h1{
    font-family:'Playfair Display', serif;
    font-size:26px;
}

.logo span{
    color:#c49a6c;
}

/* =========================
MENÚ
========================= */

.nav{
    display:flex;
    gap:20px;
}

.nav a{
    text-decoration:none;
    color:#3e2c23;
    font-weight:500;
    position:relative;
}

.nav a::after{
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:0;
    height:2px;
    background:#c49a6c;
    transition:.3s;
}

.nav a:hover::after{
    width:100%;
}

/* =========================
BOTÓN HAMBURGUESA
========================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:28px;
    color:#6B4226;
    cursor:pointer;
    transition:.3s;
    z-index:1001;
}

.menu-toggle:hover{
    color:#B87333;
}

/* =========================
BOTÓN WHATSAPP
========================= */

.btn-whatsapp{
    background:#25D366;
    color:white;
    padding:10px 18px;
    border-radius:30px;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    transition:.3s;
}

.btn-whatsapp:hover{
    transform:scale(1.05);
}








/* =========================
HERO
========================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:100px 8%;
    background:linear-gradient(
        rgba(255,255,255,0.92),
        rgba(255,255,255,0.92)
    );
}

.hero-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    width:100%;
}

.hero-texto{
    flex:1;
}

.hero-tag{
    display:inline-block;
    background:#8B5A2B;
    color:white;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    margin-bottom:20px;
}

.titulo-viffor{
    font-family:'Playfair Display', serif;
    font-size:5rem;
    font-weight:800;
    line-height:1;
    margin-bottom:15px;
    text-transform:uppercase;
    letter-spacing:-2px;
    color:#B87333;
}

.titulo-viffor span{
    color:#4E2A12;
}

.hero-texto h3{
    color:#8B5A2B;
    font-size:1.7rem;
    margin-bottom:20px;
}

.hero-texto p{
    color:#555;
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:15px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:30px;
}

.btn{
    display:inline-block;
    background:#8B5A2B;
    color:white;
    text-decoration:none;
    padding:14px 30px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    background:#6B4226;
}

/* =========================
IMAGEN HERO
========================= */

.hero-img{
    flex:1.4;
    text-align:center;
}

.hero-img img{
    width:100%;
    max-width:750px;
    height:auto;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.2);
    transition:.4s;
}

.hero-img img:hover{
    transform:scale(1.02);
}

/* =========================
ETIQUETAS
========================= */

.hero-features{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:18px;
    flex-wrap:wrap;
}

.feature{
    background:white;
    color:#6B4226;
    padding:10px 18px;
    border-radius:30px;
    font-size:.85rem;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* =========================
RESPONSIVE HERO
========================= */

@media(max-width:991px){

    .hero-container{
        flex-direction:column;
        text-align:center;
    }

    .titulo-viffor{
        font-size:3.5rem;
    }

    .hero-buttons{
        justify-content:center;
    }

}




/* =========================
SECCIONES GENERALES
========================= */

.section{
    padding:90px 20px;
    text-align:center;
}

.section h2{
    font-family:'Playfair Display', serif;
    font-size:40px;
    margin-bottom:20px;
}

/* =========================
NOSOTROS
========================= */

.nosotros{
    padding:100px 8%;
}

.nosotros-container{
    display:flex;
    align-items:center;
    gap:60px;
}

.nosotros-img{
    flex:0.8;
    display:flex;
    justify-content:center;
}

.nosotros-img img{
    width:100%;
    max-width:450px;
    height:auto;
    border-radius:25px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.nosotros-texto{
    flex:1.2;
}

.nosotros h2{
    position:relative;
    margin:20px 0 30px;
    font-size:3rem;
}

.nosotros h2::after{
    content:"";
    width:80px;
    height:4px;
    background:#8B5A2B;
    position:absolute;
    left:0;
    bottom:-12px;
    border-radius:10px;
}

.nosotros h2 span{
    color:#8B5A2B;
}

blockquote{
    font-size:1.3rem;
    color:#6B4226;
    font-style:italic;
    border-left:4px solid #8B5A2B;
    padding-left:20px;
    margin:20px 0;
}

.nosotros p{
    line-height:1.8;
    color:#555;
}

.nosotros-valores{
    display:flex;
    gap:15px;
    margin-top:30px;
    flex-wrap:wrap;
}

.valor{
    flex:1;
    min-width:180px;
    background:white;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.valor h4{
    color:#8B5A2B;
    margin-bottom:10px;
}



/* =========================
MENÚ - TABS
========================= */

.tabs{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:40px;
}

.tab-btn{
    border:none;
    background:#d7b08a;
    color:#fff;
    padding:14px 24px;
    border-radius:50px;
    cursor:pointer;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.tab-btn:hover{
    background:#b58450;
    transform:translateY(-2px);
}

.tab-btn.active{
    background:#6f4e37;
}

/* =========================
CONTENIDO TABS
========================= */

.tab-content{
    display:none;
    animation:fade .4s ease;
}

.tab-content.active{
    display:block;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
GRID PRODUCTOS
========================= */

.menu-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

/* =========================
TARJETAS (MEJORADAS PRO)
========================= */

.card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transition:all .35s ease;
    display:flex;
    flex-direction:column;
    height:100%;
    position:relative;
}

/* hover premium */
.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* =========================
IMAGEN CENTRADA PERFECTA
========================= */

.card img{
    width:100%;
    height:220px;
    object-fit:contain;
    background:#f8f5f2;
    padding:15px;
    display:block;
    transition:transform .4s ease;
}

/* zoom suave SOLO imagen */
.card:hover img{
    transform:scale(1.07);
}

/* =========================
TÍTULO UNIFORME
========================= */

.card h3{
    margin:15px 10px 8px;
    font-size:1.1rem;
    color:#4b3425;
    font-weight:600;

    min-height:60px;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

/* =========================
PRECIO / TEXTO
========================= */

.card p{
    margin-top:auto;
    margin-bottom:20px;
    font-size:1.3rem;
    font-weight:700;
    color:#b58450;

    min-height:40px;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* =========================
RESPONSIVE TABLET
========================= */

@media (max-width:768px){

    .menu-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .card img{
        height:180px;
    }

    .card h3{
        font-size:1rem;
        min-height:50px;
    }

    .card p{
        font-size:1.15rem;
    }

    .tab-btn{
        font-size:16px;
        padding:12px 18px;
    }
}

/* =========================
RESPONSIVE MÓVIL
========================= */

@media (max-width:480px){

    .menu-grid{
        grid-template-columns:1fr;
    }

    .card img{
        height:220px;
    }

    .tabs{
        gap:10px;
    }

    .tab-btn{
        width:100%;
        max-width:250px;
    }
}







/* =========================
UBICACIÓN
========================= */

.ubicacion{
    padding:100px 20px;
    text-align:center;
}

.titulo-ubicacion{
    margin-bottom:40px;
    font-family:'Playfair Display', serif;
    font-size:50px;
    color:#3e2c23;
}

.ubicacion-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.ubicacion-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.ubicacion-card img,
.ubicacion-card iframe{
    width:100%;
    height:350px;
    display:block;
}

.ubicacion-card img{
    object-fit:cover;
}

.ubicacion-card iframe{
    border:none;
}

/* DIRECCIÓN */

.direccion-card{
    padding:20px;
}

.direccion-card h3{
    margin-bottom:10px;
    color:#3e2c23;
}

.direccion-card p{
    color:#6a5243;
    line-height:1.7;
}

/* BOTÓN MAPS */

.btn-maps{
    display:inline-block;
    margin:20px;
    padding:12px 25px;
    background:#c58618;
    color:white;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.btn-maps:hover{
    background:#1fb955;
    transform:translateY(-3px);
}

/* RESPONSIVE */

@media(max-width:900px){

    .ubicacion-grid{
        grid-template-columns:1fr;
    }

}


/* =========================
   CONTACTO
========================= */

.contact-app h2{
    font-size:60px;
    font-family:'Playfair Display', serif;
    color:#3e2c23;
    margin-bottom:10px;
    letter-spacing:1px;
    text-align:center;
    position:relative;
}

.contact-app h2::after{
    content:'';
    display:block;
    width:90px;
    height:3px;
    background:#c49a6c;
    margin:12px auto 0;
    border-radius:5px;
}

.sub{
    text-align:center;
    font-size:16px;
    color:#6a5243;
    max-width:600px;
    margin:0 auto 40px;
    line-height:1.6;
}

/* TARJETAS */

.app-grid{
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
}

.app-card{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:15px;
    padding:18px;
    height:90px;
    border-radius:18px;
    background:rgba(207,132,34,.68);
    backdrop-filter:blur(10px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    text-decoration:none;
    color:#070808;
    transition:.3s;
}

.app-card:hover{
    transform:translateY(-6px);
}

.app-card i{
    font-size:26px;
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#dff3dc;
}

.whatsapp i{
    color:#25D366;
}

.facebook i{
    color:#1877F2;
}

.phone i{
    color:#fc7d06;
}

.mail i{
    color:#f00b0e;
}

.extra{
    font-size:11px;
    color:#753f10;
    margin-top:2px;
}

/* RESPONSIVE CONTACTO */

@media(max-width:1000px){

    .app-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:500px){

    .app-grid{
        grid-template-columns:1fr;
    }

}

/* =========================
   FOOTER
========================= */

.footer{
    background:#efe3d7;
    padding:30px 20px;
    margin-top:50px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    max-width:1200px;
    margin:auto;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
}

.footer-brand img{
    width:60px;
    height:60px;
    border-radius:50%;
}

.footer-text h3{
    font-family:'Playfair Display', serif;
}

.footer-text span{
    color:#c49a6c;
}

.footer-menu{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.btn-menu{
    background:#dd941d;
    color:white;
    padding:10px 18px;
    border-radius:30px;
    text-decoration:none;
}

.copy{
    width:100%;
    text-align:center;
    margin-top:10px;
    font-size:13px;
    color:#6a5243;
}

/* =========================
   MENU HAMBURGUESA
========================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:28px;
    color:#6B4226;
    cursor:pointer;
    transition:.3s;
    z-index:1001;
}

.menu-toggle:hover{
    color:#B87333;
}

/* =========================
   RESPONSIVE MOVIL
========================= */

@media (max-width:768px){

    /* HEADER */

    .header-container{
        padding:15px 20px;
        position:relative;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .logo h1{
        font-size:22px;
    }

    .menu-toggle{
        display:block;
    }

    .nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#ffffff;
        flex-direction:column;
        gap:0;
        box-shadow:0 10px 25px rgba(0,0,0,.1);
        z-index:999;
    }

    .nav.active{
        display:flex;
    }

    .nav a{
        width:100%;
        padding:16px;
        text-align:center;
        border-bottom:1px solid #eee;
    }

    .nav a:last-child{
        border-bottom:none;
    }

    .btn-whatsapp{
        display:none;
    }

    /* HERO */

    .hero{
        padding:140px 20px 80px;
    }

    .hero-container{
        flex-direction:column;
        text-align:center;
    }

    .titulo-viffor{
        font-size:2.3rem;
        line-height:1.1;
    }

    .hero-texto h3{
        font-size:1.2rem;
    }

    .hero-texto p{
        font-size:1rem;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .hero-img img{
        width:100%;
        max-width:100%;
        height:auto;
    }

    /* NOSOTROS */

    .nosotros-container{
        flex-direction:column;
        text-align:center;
    }

    .nosotros h2{
        font-size:2rem;
    }

    .nosotros h2::after{
        left:50%;
        transform:translateX(-50%);
    }

    blockquote{
        font-size:1rem;
    }

    /* MENU */

    .menu-grid{
        grid-template-columns:1fr;
    }

    /* UBICACION */

    .ubicacion-grid{
        grid-template-columns:1fr;
    }

    .ubicacion-card img,
    .ubicacion-card iframe{
        height:300px;
    }

    /* CONTACTO */

    .contact-app h2{
        font-size:2.5rem;
    }

    .app-grid{
        grid-template-columns:1fr;
    }

    /* FOOTER */

    .footer-content{
        flex-direction:column;
        text-align:center;
    }

    .footer-brand{
        flex-direction:column;
    }

    /* FONDO */

    body{
        background-attachment:scroll;
    }

}