:root {
            --fondo-suave: #EEE0D5;      /* Crema pastel */
            --primario: #C49999;          /* Rosa pastel */
            --secundario: #BFA491;        /* Azul pastel */
            --acento: #EEE0D5;            /* Verde pastel */
            --texto: #9E6671;             /* Gris suave para lectura */
            --blanco: #F4F0EB;
        }
        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
                       
        }
        html {
    scroll-behavior: smooth;
}

body {
    
    background-color: var(--fondo-suave);
    color: var(--texto);
    line-height: 1.6;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    
}

header {
    padding: 2rem;
    text-align: center;
    background-color: var(--blanco);
}

nav h1 {
    
    color: var(--texto);
    font-size: 2.5rem;
}

/* --- SECCIÓN HERO (Principal) --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 4rem 10%;
    min-height: 80vh;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-content h2 {
    
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-cta {
    background-color: var(--primario);
    color: var(--texto);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: var(--blanco);
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: var(--secundario);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* Reemplaza esta URL por la imagen de tu caja principal */
.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 20px 20px 0px var(--secundario);
}

/* --- SECCIÓN PRODUCTOS --- */
.productos {
    padding: 5rem 10%;
    
    text-align: center;
}

.productos h3 {
    
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--fondo-suave);
    padding: 1.5rem;
    border-radius: 20px;
    transition: 0.3s;
}

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

.card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 1rem;
}

footer {
    background-color: var(--texto);
    color: var(--blanco);
    text-align: center;
    padding: 2em;
}

.main-header {
    background-color: var(--blanco);
    padding: 0.5rem 2rem; /* Padding reducido para que sea delgado */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center; /* Alinea logo y texto verticalmente al centro */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* Las dos columnas laterales miden lo mismo para forzar el centro real */
.nav-side {
    flex: 1; 
    display: flex;
    align-items: center;
}

.nav-center {
    flex: 2; /* Le damos más espacio al título */
    text-align: center;
}

.nav-logo {
    /* Tamaño recomendado para un nav delgado */
    height: 50px; 
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-title {
    font-size: 1.8rem; /* Tamaño ajustado para no elevar el nav */
    margin: 0;
    color: var(--texto);
    white-space: nowrap; /* Evita que el texto se rompa en dos líneas */
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.card {
    background: var(--blanco);
    padding: 1rem;
    /* Bordes muy redondeados para estilo pastel */
    border-radius: 30px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    overflow: hidden; /* Asegura que la imagen no sobresalga de las esquinas */
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(248, 200, 220, 0.4); /* Sombra color rosa pastel al flotar */
    border-color: var(--primario);
}


/* Esto asegura que todas las imágenes de las tarjetas sean iguales */
.card img {
    width: 100%;             /* Ocupa todo el ancho de la tarjeta */
    aspect-ratio: 1 / 1;    /* Crea un cuadrado perfecto. Usa 4 / 3 si las prefieres rectangulares */
    object-fit: cover;      /* Recorta la imagen para llenar el espacio sin deformarse */
    object-position: center; /* Centra el recorte en la parte más importante de la foto */
    border-radius: 22px;    /* Bordes redondeados sutiles */
    margin-bottom: 1.2rem;
    transition: transform 0.5s ease;
    display: block;
}

.card:hover img {
    transform: scale(1.03); /* Zoom muy suave en la foto */
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--texto);
}

.card p {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 1rem;
}

/* Botón pequeño dentro de la tarjeta */
.btn-ver-mas {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--fondo-suave);
    color: var(--texto);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: 0.3s;
}

.btn-ver-mas:hover {
    background-color: var(--acento);
}

/* Ajuste para móviles: si el logo y texto no caben, reducimos tamaños */
@media (max-width: 600px) {
    .nav-logo { height: 35px; }
    .nav-title { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .hero-content h2 { font-size: 2.5rem; }
    .hero { text-align: center; }
    .hero-content { padding-right: 0; margin-bottom: 3rem; }
}


/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 3000;
    transition: all 0.3s ease;
}

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

/* Contenedor relativo para posicionar el precio dentro */
.card-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 1.2rem;
}

/* Estilo de la etiqueta de precio */
.precio-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9); /* Centrado absoluto */
    background-color: rgba(244, 240, 235, 0.9); /* Fondo blanco pastel semi-transparente */
    color: var(--texto);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0; /* Oculto por defecto */
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--primario);
    pointer-events: none; /* Para que no interfiera con el clic en la tarjeta */
}

/* Efecto al pasar el mouse por la tarjeta */
.card:hover .precio-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* Aparece y crece un poco */
}

/* --- ESTILOS DEL FOOTER --- */
.site-footer {
    background-color: var(--texto);
    padding: 3rem 10% 1.5rem;
    color: var(--blanco);
    border-top: 1px solid rgba(158, 102, 113, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-social {
    text-align: center;
}

.footer-social p {
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.instagram-link {
    display: inline-flex;      /* Permite que el botón se ajuste al contenido pero use Flexbox */
    align-items: center;       /* Centra icono y texto verticalmente */
    justify-content: center;    /* Centra icono y texto horizontalmente */
    gap: 10px;                 /* Espacio exacto entre el icono y el texto */
    
    text-decoration: none;
    color: var(--blanco);
    font-size: 1.1rem;
    font-weight: 500;
    
    padding: 0.8rem 2rem;      /* Espaciado interno para que se vea como un botón real */
    border: 2px solid var(--blanco);
    border-radius: 50px;
    transition: all 0.3s ease;
    
    /* Esto asegura que el botón tenga un ancho mínimo si quieres que sea más robusto */
    min-width: 220px; 
    margin: 0 auto;            /* Lo centra respecto a su contenedor padre */
}

.instagram-link:hover {
    background-color: var(--primario);
    color: white;
    transform: translateY(-3px);
}

/* Ajuste de color para el SVG al hacer hover */
.instagram-link svg {
    display: block;            /* Quita espacios residuales debajo del SVG */
}

.instagram-link:hover svg {
    stroke: white;             /* El icono cambia a blanco junto con el texto */
}

.footer-bottom {
    
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    text-align: center;
}

/* Ajuste del botón de WhatsApp para que no tape el footer en móvil */
@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

.about {
    padding: 5rem 10%;
    background-color: var(--blanco); /* Fondo sutil para diferenciar de productos */
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 50px 5px 50px 5px; /* Bordes asimétricos muy artísticos */
    box-shadow: -15px 15px 0px var(--primario);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--primario);
    font-weight: 700;
}

.about-text h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--texto);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column-reverse; /* La imagen abajo en móvil para prioridad de texto */
        text-align: center;
    }
}

/* --- ESTILOS DEL MENÚ --- */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu-side {
    justify-content: flex-end; /* Alinea los links a la derecha */
}

.nav-menu li a {
    text-decoration: none;
    color: var(--texto);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--primario);
}

/* Línea decorativa al pasar el mouse (hover effect) */
.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primario);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Responsivo: Ocultar menú en móviles muy pequeños o apilar */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-menu {
        margin-top: 1rem;
        gap: 1rem;
    }
    .nav-side {
        justify-content: center;
        flex: none;
        width: 100%;
    }
    .nav-title {
        margin: 0.5rem 0;
    }
}

/* --- Enlace discreto de acceso al sistema (footer) --- */
.sistema-link {
    color: var(--blanco);
    text-decoration: underline;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.sistema-link:hover {
    opacity: 1;
}