/* PALETA MODERNA */
:root {
    --primario: #ff74b1;
    --primario-claro: #ffb8d1;
    --fondo: #fff7fb;
    --texto: #333;
    --sombra: rgba(0,0,0,0.15);
    --transition: 0.3s ease;
}

/* ==== HEADER FIJO ==== */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;        /* Fijo */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 4px 12px var(--sombra);
}


header img {
    height: 45px;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 110px; /* evita que el header tape el contenido */
}

nav a {
    color: var(--texto);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primario);
}


/* ======= FONDO OSCURO ======= */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9998;
}

.overlay.show {
    opacity: 1;
    pointer-events: all;
}



.btn {
    background: var(--primario);
    color: white;
    padding: 12px 25px;
    border-radius: 35px;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 15px var(--sombra);
}

.btn:hover {
    background: var(--primario-claro);
}

/* ===== HERO PRINCIPAL ===== */
.hero {
    width: 100%;
    height: 500px;
    background: url('img/hero-banner.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::after {
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.35);
}

.hero-contenido {
    position: relative;
    z-index: 2;
}

.hero-contenido h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.hero-contenido p {
    font-size: 22px;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-hero {
    background: var(--primario);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ===== CARRUSEL DE PRODUCTOS ===== */
.productos-destacados {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.carrusel {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    scroll-behavior: smooth;
}

.carrusel::-webkit-scrollbar {
    display: none;
}

.carrusel-item {
    min-width: 250px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-align: center;
    transition: 0.3s;
    flex-shrink: 0;
}

.carrusel-item img {
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.carrusel-item h3 {
    padding: 15px 10px;
    font-size: 18px;
}

.carrusel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.carrusel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carrusel-controls button {
    background: var(--primario);
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carrusel-controls button:hover {
    background: darken(var(--primario), 10%);
}

/* ===== SECCIÓN BENEFICIOS ===== */
.beneficios {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    margin-top: 30px;
}

.beneficio-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.beneficio-card img {
    width: 60px;
    margin-bottom: 15px;
}

.beneficio-card h3 {
    color: var(--primario);
    margin-bottom: 10px;
}

.beneficio-card p {
    font-size: 16px;
    opacity: 0.9;
}

.beneficio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media(max-width:1100px){
    .beneficios-grid {grid-template-columns: repeat(2,1fr);}
}

@media(max-width:650px){
    .beneficios-grid {grid-template-columns: 1fr;}
    .hero-contenido h1 {font-size:36px;}
    .hero-contenido p {font-size:18px;}
}




/* ==== FOOTER FIJO ==== */
.footer {
    position: fixed;         /* Fijo */
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primario);
    color: white;
    padding: 10px 10px 5px;
    box-shadow: 0 -5px 15px var(--sombra);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Espacio fantasma para que el footer no tape el contenido */
body {
    padding-bottom: 100px;  /* Ajusta según el alto real del footer */
}

/* Contenido centrado */
.footer-contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.footer-logo img {
    height: 55px;
    margin-bottom: 6px;
}

/* Iconos grandes y vistosos */
.footer-redes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0px 0;
}

.footer-redes .icono {
    background: rgba(255,255,255,0.25);
    padding: 5px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.footer-redes .icono svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.footer-redes .icono:hover {
    transform: translateY(-6px) scale(1.15);
    background: white;
}

.footer-redes .icono:hover svg {
    fill: var(--primario);
}

.footer-copy {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

/* ==== FORMULARIO PROFESIONAL ==== */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--sombra);
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #eee;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primario);
    outline: none;
    box-shadow: 0 0 8px #ffb8d1;
}

/* Columnas */
.row {
    display: flex;
    gap: 15px;
}

.col {
    width: 50%;
}

@media (max-width: 700px) {
    .row { flex-direction: column; }
    .col { width: 100%; }
}


/* ==== FILTROS ==== */
.filtros {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px auto;
    flex-wrap: wrap;
}

.filtros input,
.filtros select {
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #eee;
    font-size: 15px;
    min-width: 180px;
    transition: var(--transition);
}

.filtros input:focus,
.filtros select:focus {
    border-color: var(--primario);
    box-shadow: 0 0 8px #ffb8d1;
}

/* ===== SECCIÓN NOSOTROS ===== */

.nosotros {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.titulo-seccion {
    text-align: center;
    font-size: 40px;
    margin-bottom: 25px;
    color: var(--primario);
    font-weight: bold;
}

.nosotros .intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    opacity: 0.9;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.nosotros-texto h2 {
    font-size: 28px;
    color: var(--primario);
    margin-top: 20px;
}

.nosotros-texto p {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.6;
}

.nosotros-texto ul {
    margin-top: 15px;
    line-height: 1.8;
    font-size: 17px;
}

.nosotros-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* ===== MAPA ===== */
.mapa {
    max-width: 1200px;
    margin: 60px auto;
    text-align: center;
    padding: 20px;
}

.mapa-info {
    margin-bottom: 25px;
    font-size: 18px;
}

.mapa-contenedor {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
    }
}


.seccion-animada {
    opacity: 0;
    transform: translateY(50px);
    animation: entrada 0.8s forwards ease-out;
}

@keyframes entrada {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== SECCION ACERCA DE ====== */

/* ===== BANNER ACERCA ===== */
.acerca-banner {
    width: 100%;
    height: 400px;
    background: url('img/banner-acerca.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-bottom: 6px solid var(--primario);
}

.acerca-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.35); /* efecto overlay */
    z-index: 1;
}

.banner-contenido {
    position: relative;
    z-index: 2;
}

.banner-contenido h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.banner-contenido p {
    font-size: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ===== SECCIÓN DETALLE ===== */
.acerca-detalle {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.acerca-contenedor h2.titulo-seccion {
    color: var(--primario);
    font-size: 32px;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.acerca-contenedor p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

/* ===== VALORES GRID ===== */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.valor-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: 0.3s;
    text-align: center;
}

.valor-card h3 {
    color: var(--primario);
    font-size: 22px;
    margin-bottom: 10px;
}

.valor-card p {
    font-size: 16px;
    opacity: 0.9;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }

    .acerca-banner {
        height: 300px;
    }

    .banner-contenido h1 {
        font-size: 36px;
    }

    .banner-contenido p {
        font-size: 16px;
    }
}


/* ===== SECCIÓN PRODUCTOS AMAZON ===== */
.productos-amazon {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.titulo-seccion {
    font-size: 36px;
    color: var(--primario);
    text-align: center;
    margin-bottom: 40px;
}

/* GRID DE PRODUCTOS */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* TARJETA PRODUCTO */
.producto-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.producto-img {
    position: relative;
    overflow: hidden;
}

.producto-img img {
    width: 100%;
    transition: transform 0.5s;
}

.producto-card:hover .producto-img img {
    transform: scale(1.05);
}

/* ETIQUETAS */
.etiqueta {
    position: absolute;
    top:10px; left:10px;
    padding:5px 10px;
    border-radius:5px;
    font-size:14px;
    font-weight:bold;
    color:white;
}

.etiqueta.nuevo { background: #28a745; }
.etiqueta.oferta { background: #dc3545; }

/* INFORMACIÓN PRODUCTO */
.producto-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.producto-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color:#333;
}

.producto-info .descripcion {
    font-size: 14px;
    color: #666;
    flex-grow:1;
}

.producto-info .precio {
    font-size: 18px;
    color: var(--primario);
    font-weight: bold;
    margin:10px 0;
}

.btn-agregar {
    background: var(--primario);
    color:white;
    border:none;
    padding:10px;
    border-radius:8px;
    cursor:pointer;
    font-size:15px;
    transition:0.3s;
}

.btn-agregar:hover {
    background:#a64acc;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media(max-width:650px){
    .productos-grid { grid-template-columns: 1fr; }
}

.modal-producto {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-contenido {
    position: relative;
    max-width: 600px;
    margin-bottom: 15px;
}

.modal-img-principal {
    width: 100%;
    border-radius: 10px;
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.miniaturas {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.miniaturas img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
}
.miniaturas img.active {
    border-color: #ff9900;
}

.nav {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.prev { left: -50px; }
.next { right: -50px; }


/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* HEADER CON DEGRADADO ANIMADO */
.header-business {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(120deg, #ff66c4, #ff9ad5, #ffe3f4);
    background-size: 200% 200%;
    animation: headerGradient 8s ease infinite;

    z-index: 100;
}

@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 70px;
    transition: 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
}

/* TEXTO ACO JUNTO AL LOGO */
.logo-text {
    font-size: 28px;
    font-weight: 800;
    font-family: "Poppins", sans-serif;
    color: white;
    letter-spacing: 1px;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.2);
}

/* --- MENU DESKTOP --- */
.nav-desktop {
    display: flex;
    gap: 20px;
}

.nav-desktop a {
    text-decoration: none;
    color: #fff; /* COLOR VISIBLE EN FONDOS OSCUROS O IMÁGENES */
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.nav-desktop a:hover {
    color: #E91E63;
}

/* --- BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 1100; /* siempre arriba */
}

/* líneas hamburguesa */
.menu-toggle span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    left: 0;
    transition: 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Animación hamburguesa → X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 30px;
}

/* --- MENU RESPONSIVE --- */
@media (max-width: 768px) {

    .menu-toggle {
        display: block; /* visible en móvil */
    }

    .nav-desktop {
        position: fixed;
        top: 0;
        right: -250px;
        width: 40%;
        height: 100vh;
        background: rgba(0,0,0,0.5); /* transparente y elegante */
        padding-top: 100px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: 0.4s ease;
    }

    .nav-desktop.active {
        right: 0;
    }

    .nav-desktop a {
        color: white;
        font-size: 18px;
        padding: 5px 5px;
    }
}

/* --- OVERLAY OSCURO --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: 0.4s ease;
    pointer-events: none;
    display: none;
    z-index: 900;
}

.overlay.active {
    display: block;
}
 



