/* ============================================= */
/* ========== VARIABLES Y ESTILOS GLOBALES ========= */
/* ============================================= */

:root {
    --clr-naranja-wm: #F98B28; 
    --clr-verde-wm: #00A99D;   
    --clr-azul-wm: #89D9E0;    
    --clr-negro-apple: #1D1D1F; 
    --clr-gris-suave: #F5F5F7;  
    --clr-blanco: #FFFFFF;
    --font-principal: 'Nunito', sans-serif;
}

body {
    font-family: var(--font-principal);
    background-color: var(--clr-blanco);
    color: var(--clr-negro-apple);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Evita scroll horizontal accidental */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
}

/* ============================================= */
/* ============ BARRA DE NAVEGACIÓN =========== */
/* ============================================= */

.navbar {
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-negro-apple);
    margin-left: 20px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--clr-naranja-wm);
    transform: translateY(-2px);
}

/* ============================================= */
/* ================= HERO SECTION ================ */
/* ============================================= */

.hero-section {
    padding: 120px 0;
    background: radial-gradient(circle at top right, #fffdfa 0%, #ffffff 100%);
}

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #6e6e73; /* Gris estilo subtítulo Apple */
    margin-bottom: 2rem;
}

.hero-section .btn-primary {
    background-color: var(--clr-negro-apple);
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .btn-primary:hover {
    background-color: var(--clr-naranja-wm);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ============================================= */
/* ============ PRODUCTOS DESTACADOS ============ */
/* ============================================= */

#productos-destacados {
    background-color: var(--clr-blanco);
    padding: 100px 0;
}

.product-card {
    background: var(--clr-gris-suave);
    border: none;
    border-radius: 28px;
    padding: 40px 20px;
    transition: all 0.5s cubic-bezier(0.15, 0.83, 0.66, 1);
    height: 100%;
}

.product-card:hover {
    background: #ffffff;
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.img-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.img-wrapper img {
    transition: transform 0.7s ease;
}

.product-card:hover .img-wrapper img {
    transform: scale(1.15);
}

/* ============================================= */
/* =========== FILOSOFÍA Y TESTIMONIOS ========== */
/* ============================================= */

#filosofia {
    background-color: var(--clr-negro-apple);
    color: var(--clr-blanco);
    border-radius: 40px; /* Bordes redondeados en la sección para look moderno */
    margin: 40px 20px;
    padding: 100px 0;
}

#testimonios {
    padding: 100px 0;
    background-color: var(--clr-gris-suave);
}

.testimonial-bubble {
    background-color: var(--clr-blanco);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.4rem;
    line-height: 1.5;
    border: none;
}

/* ============================================= */
/* =============== FOOTER ================ */
/* ============================================= */

footer {
    background-color: var(--clr-blanco);
    color: #86868b;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 60px 0;
}

.floating-img {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.transition-icon {
    display: inline-block;
    transition: all 0.3s ease;
    color: var(--clr-negro-apple) !important;
}

.transition-icon:hover {
    color: var(--clr-naranja-wm) !important; /* Cambia al naranja de tu marca */
    transform: translateY(-3px);
}

.x-small {
    font-size: 0.75rem;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    background-color: #128c7e;
}

/* Ajuste para móviles */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}