/* ================================
   VARIABLES — Cambia los colores aquí
   ================================ */
:root {
    --color-principal: #e91e8c;   /* Rosa fuerte */
    --color-claro: #fde8f3;       /* Rosa pálido */
    --color-oscuro: #b5166d;      /* Rosa oscuro */
    --blanco: #ffffff;
    --gris: #f7f7f7;
    --texto: #222222;
}

/* ================================
   ESTILOS GENERALES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--texto);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 24px;
    text-align: center;
}

/* ================================
   BARRA SUPERIOR
   ================================ */
.topbar {
    background: var(--color-principal);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 700;
}

/* ================================
   NAVEGACIÓN
   ================================ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.nav-logo img {
    height: 55px;
    object-fit: contain;
}

/* LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--texto);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: var(--color-claro);
    color: var(--color-principal);
}

/* BOTONES DERECHA */
.nav-acciones {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-facebook {
    background: #1877F2;
    color: white;
    padding: 9px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.btn-facebook:hover {
    opacity: 0.85;
}

.btn-wsp-nav {
    background: #25D366;
    color: white;
    padding: 9px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.btn-wsp-nav:hover {
    opacity: 0.85;
}

/* HAMBURGUESA — solo visible en celular */
.hamburguesa {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburguesa span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-principal);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ================================
   MENÚ HAMBURGUESA EN CELULAR
   ================================ */
@media (max-width: 768px) {

    .navbar {
        padding: 12px 20px;
        flex-wrap: wrap;
    }

    .hamburguesa {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        gap: 4px;
    }

    /* Cuando el menú está abierto */
    .nav-links.abierto {
        display: flex;
    }

    .nav-links a {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .nav-acciones {
        display: none;
    }

    /* Animación del botón hamburguesa cuando está abierto */
    .hamburguesa.activo span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburguesa.activo span:nth-child(2) {
        opacity: 0;
    }

    .hamburguesa.activo span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ================================
   HERO / BANNER PRINCIPAL
   ================================ */
.hero {
    background: linear-gradient(135deg,
        var(--color-oscuro) 0%,
        var(--color-principal) 50%,
        #ff6eb4 100%
    );
    padding: 80px 40px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Círculos decorativos de fondo */
.hero-circulo {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.hero-circulo-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
}

.hero-circulo-2 {
    width: 300px;
    height: 300px;
    bottom: 100px;
    left: -80px;
}

/* Contenido */
.hero-contenido {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* Badge superior */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* Título */
.hero-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}

.hero-titulo span {
    color: #ffe0f3;
}

/* Subtítulo */
.hero-subtitulo {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones del hero */
.hero-botones {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-principal {
    background: white;
    color: var(--color-principal);
    padding: 15px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.25s;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secundario {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.25s;
    display: inline-block;
}

.btn-secundario:hover {
    background: white;
    color: var(--color-principal);
    transform: translateY(-3px);
}

/* Badges de confianza */
.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.badge-item {
    background: rgba(255,255,255,0.12);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.2s;
}

.badge-item:hover {
    background: rgba(255,255,255,0.2);
}

.badge-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.badge-item strong {
    color: white;
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.badge-item p {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    margin: 0;
}

/* ================================
   HERO EN CELULAR
   ================================ */
@media (max-width: 768px) {

    .hero {
        padding: 50px 20px 0;
    }

    .hero-titulo {
        font-size: 32px;
    }

    .hero-subtitulo {
        font-size: 15px;
    }

    .hero-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   BOTONES
   ================================ */
.btn-principal {
    background: white;
    color: var(--color-principal);
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-principal:hover {
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: block;
    text-align: center;
    transition: background 0.2s;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* ================================
   CATEGORÍAS
   ================================ */
.categorias {
    padding: 60px 40px;
    background: var(--gris);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.categoria-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.categoria-card:hover {
    border-color: var(--color-principal);
    color: var(--color-principal);
    transform: translateY(-4px);
}

/* ================================
   PRODUCTOS
   ================================ */
.productos {
    padding: 60px 40px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.producto-card {
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
}

.producto-card:hover {
    box-shadow: 0 10px 30px rgba(233,30,140,0.15);
    transform: translateY(-4px);
}

.producto-imagen {
    background: var(--color-claro);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.producto-info {
    padding: 16px;
}

.producto-categoria {
    font-size: 12px;
    color: var(--color-principal);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.producto-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
    text-align: left;
}

.precio {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-principal);
    margin-bottom: 12px;
}

/* ================================
   CONTACTO
   ================================ */
.contacto {
    background: var(--texto);
    color: white;
    text-align: center;
    padding: 60px 40px;
}

.contacto h2 { color: white; }

.contacto p {
    margin: 10px 0;
    font-size: 16px;
    opacity: 0.8;
}

.contacto a {
    color: var(--color-principal);
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-top: 16px;
    font-size: 16px;
}

/* ================================
   WHATSAPP FLOTANTE
   ================================ */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    animation: pulso 2s infinite;
}

@keyframes pulso {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ================================
   TÍTULO DE SECCIÓN — reutilizable
   ================================ */
.seccion-titulo {
    text-align: center;
    margin-bottom: 36px;
}

.seccion-titulo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 8px;
}

.seccion-titulo p {
    color: #888;
    font-size: 15px;
}

/* ================================
   CATEGORÍAS
   ================================ */
.categorias {
    padding: 60px 40px;
    background: var(--gris);
}

.categorias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.categoria-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 18px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.cat-icono {
    font-size: 32px;
}

.categoria-card span {
    font-size: 13px;
    font-weight: 700;
    color: var(--texto);
}

.categoria-card:hover {
    border-color: var(--color-principal);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(233,30,140,0.12);
}

/* Categoría seleccionada */
.categoria-card.activa {
    background: var(--color-principal);
    border-color: var(--color-principal);
}

.categoria-card.activa span {
    color: white;
}

/* ================================
   PRODUCTOS
   ================================ */
.productos {
    padding: 60px 40px;
    background: white;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Tarjeta de producto */
.producto-card {
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s;
    position: relative;
    background: white;
}

.producto-card:hover {
    box-shadow: 0 12px 35px rgba(233,30,140,0.15);
    transform: translateY(-5px);
}

/* Badges NUEVO / OFERTA / POPULAR */
.producto-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 1;
}

.producto-badge.nuevo    { background: #3b82f6; color: white; }
.producto-badge.oferta   { background: var(--color-principal); color: white; }
.producto-badge.popular  { background: #f59e0b; color: white; }

/* Imagen del producto */
.producto-imagen {
    background: var(--color-claro);
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    transition: transform 0.3s;
}

.producto-card:hover .producto-imagen {
    transform: scale(1.05);
}

/* Info del producto */
.producto-info {
    padding: 16px;
}

.producto-categoria {
    font-size: 11px;
    color: var(--color-principal);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.producto-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
    text-align: left;
}

/* Precios */
.producto-precio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.precio-actual {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-principal);
}

.precio-anterior {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
}

/* Botón WhatsApp */
.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 11px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: block;
    text-align: center;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

/* Producto oculto por filtro */
.producto-card.oculto {
    display: none;
}

/* ================================
   RESPONSIVE PRODUCTOS
   ================================ */
@media (max-width: 768px) {
    .categorias { padding: 40px 16px; }
    .productos  { padding: 40px 16px; }

    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .producto-imagen { height: 130px; font-size: 50px; }
}

/* ================================
   BANNER PROMOCIONAL
   ================================ */
.banner-promo {
    background: linear-gradient(135deg,
        var(--color-oscuro),
        var(--color-principal),
        #ff6eb4
    );
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.banner-texto h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: white;
    text-align: left;
    margin-bottom: 12px;
}

.banner-texto p {
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 500px;
    line-height: 1.7;
}

.banner-emoji {
    font-size: 100px;
    opacity: 0.2;
    position: absolute;
    right: 60px;
}

/* ================================
   CONTACTO
   ================================ */
.contacto {
    padding: 60px 40px;
    background: var(--gris);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contacto-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.contacto-card:hover {
    transform: translateY(-5px);
}

.contacto-icono {
    font-size: 44px;
    margin-bottom: 14px;
}

.contacto-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.contacto-card p {
    color: #888;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.btn-contacto {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-contacto:hover { opacity: 0.85; }
.btn-contacto.verde { background: #25D366; color: white; }
.btn-contacto.azul  { background: #1877F2; color: white; }
.btn-contacto.gris  { background: #f0f0f0; color: var(--texto); }

/* ================================
   FOOTER
   ================================ */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-principal);
    margin-bottom: 14px;
}

.footer-marca p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-redes {
    display: flex;
    gap: 12px;
}

.footer-redes a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s;
}

.footer-redes a:hover {
    background: var(--color-principal);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-principal);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--color-principal);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    line-height: 1.8;
}

/* ================================
   WHATSAPP FLOTANTE
   ================================ */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    animation: pulso 2s infinite;
    z-index: 999;
    transition: transform 0.2s;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
}

@keyframes pulso {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ================================
   ANIMACIONES AL HACER SCROLL
   ================================ */
.animar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   FOOTER RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .banner-promo { padding: 40px 20px; }
    .banner-texto h2 { font-size: 24px; }
    .contacto { padding: 40px 16px; }
    .contacto-grid { grid-template-columns: 1fr; }
    .footer { padding: 40px 20px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ================================
   CONTACTO CON MAPA
   ================================ */
.contacto {
    padding: 60px 40px;
    background: var(--gris);
}

.contacto-contenido {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Columna de tarjetas */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacto-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.contacto-card:hover {
    transform: translateX(5px);
}

.contacto-icono {
    font-size: 36px;
    flex-shrink: 0;
}

.contacto-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
    text-align: left;
}

.contacto-card p {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: left;
}

.btn-contacto {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-contacto:hover  { opacity: 0.85; }
.btn-contacto.verde  { background: #25D366; color: white; }
.btn-contacto.azul   { background: #1877F2; color: white; }
.btn-contacto.gris   { background: #f0f0f0; color: var(--texto); }

/* Mapa */
.contacto-mapa {
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.contacto-mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================
   CONTACTO RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .contacto {
        padding: 40px 16px;
    }

    .contacto-contenido {
        grid-template-columns: 1fr;
    }

    .contacto-mapa {
        height: 280px;
    }
}