/* ===== KRAPAMEX - Fun Playful Toys/Variety Theme ===== */
/* Colors: Navy (#1e3a5f), Orange (#f39c12), Cyan (#00bcd4), Pink (#e91e63), Yellow (#ffc107), Green (#4caf50) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1e3a5f;
    --navy-light: #2a4a70;
    --orange: #f39c12;
    --orange-light: #f5ab35;
    --cyan: #00bcd4;
    --cyan-light: #26c6da;
    --pink: #e91e63;
    --pink-light: #ec407a;
    --yellow: #ffc107;
    --yellow-light: #ffca28;
    --green: #4caf50;
    --green-light: #66bb6a;
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-light: #f5f5f5;
    --gray: #9e9e9e;
    --text: #333333;
    --whatsapp: #25D366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(30, 58, 95, 0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--pink);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-blocks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.block {
    position: absolute;
    border-radius: 15px;
    opacity: 0.6;
}

.block-1 {
    width: 80px;
    height: 80px;
    background: var(--pink);
    top: 15%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.block-2 {
    width: 60px;
    height: 60px;
    background: var(--cyan);
    top: 25%;
    right: 15%;
    animation: float 5s ease-in-out infinite 1s;
}

.block-3 {
    width: 100px;
    height: 100px;
    background: var(--yellow);
    bottom: 20%;
    left: 5%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.block-4 {
    width: 50px;
    height: 50px;
    background: var(--orange);
    bottom: 30%;
    right: 10%;
    animation: float 4s ease-in-out infinite 1.5s;
}

.block-5 {
    width: 70px;
    height: 70px;
    background: var(--green);
    top: 50%;
    right: 25%;
    animation: float 6s ease-in-out infinite 2s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pink);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-badge i {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-pink {
    color: var(--pink);
}

.hero-content > p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: bounce 3s ease-in-out infinite;
}

.floating-icon i {
    font-size: 1.5rem;
}

.icon-1 {
    top: 20%;
    left: 15%;
    color: var(--pink);
    animation-delay: 0s;
}

.icon-2 {
    top: 30%;
    right: 12%;
    color: var(--cyan);
    animation-delay: 0.5s;
}

.icon-3 {
    bottom: 25%;
    left: 12%;
    color: var(--orange);
    animation-delay: 1s;
}

.icon-4 {
    bottom: 35%;
    right: 18%;
    color: var(--yellow);
    animation-delay: 1.5s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tag-pink {
    background: var(--pink);
    color: var(--white);
}

.tag-cyan {
    background: var(--cyan);
    color: var(--white);
}

.tag-orange {
    background: var(--orange);
    color: var(--white);
}

.tag-white {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-orange {
    background: linear-gradient(135deg, #fff5e6 0%, #fff 100%);
    border: 3px solid var(--orange);
}

.card-cyan {
    background: linear-gradient(135deg, #e0f7fa 0%, #fff 100%);
    border: 3px solid var(--cyan);
}

.card-pink {
    background: linear-gradient(135deg, #fce4ec 0%, #fff 100%);
    border: 3px solid var(--pink);
}

.card-yellow {
    background: linear-gradient(135deg, #fffde7 0%, #fff 100%);
    border: 3px solid var(--yellow);
}

.card-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
    border: 3px solid var(--green);
}

.card-navy {
    background: linear-gradient(135deg, #e3f2fd 0%, #fff 100%);
    border: 3px solid var(--navy);
}

.card-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #fff 100%);
    border: 3px solid #9c27b0;
}

.card-teal {
    background: linear-gradient(135deg, #e0f2f1 0%, #fff 100%);
    border: 3px solid #009688;
}

.card-rose {
    background: linear-gradient(135deg, #fce4ec 0%, #fff 100%);
    border: 3px solid #f48fb1;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-orange .card-icon {
    background: var(--orange);
    color: var(--white);
}

.card-cyan .card-icon {
    background: var(--cyan);
    color: var(--white);
}

.card-pink .card-icon {
    background: var(--pink);
    color: var(--white);
}

.card-yellow .card-icon {
    background: var(--yellow);
    color: var(--white);
}

.card-green .card-icon {
    background: var(--green);
    color: var(--white);
}

.card-navy .card-icon {
    background: var(--navy);
    color: var(--white);
}

.card-purple .card-icon {
    background: #9c27b0;
    color: var(--white);
}

.card-teal .card-icon {
    background: #009688;
    color: var(--white);
}

.card-rose .card-icon {
    background: #f48fb1;
    color: var(--white);
}

.card-icon i {
    font-size: 2rem;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.card-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--navy);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-blocks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.v-block {
    position: absolute;
    border-radius: 20px;
}

.v-block-1 {
    width: 150px;
    height: 150px;
    background: var(--pink);
    top: 0;
    left: 0;
}

.v-block-2 {
    width: 120px;
    height: 120px;
    background: var(--cyan);
    top: 50px;
    right: 50px;
}

.v-block-3 {
    width: 100px;
    height: 100px;
    background: var(--yellow);
    bottom: 50px;
    left: 80px;
}

.v-block-4 {
    width: 130px;
    height: 130px;
    background: var(--orange);
    bottom: 0;
    right: 0;
}

.visual-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--navy);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.3);
}

.visual-icon i {
    font-size: 3rem;
    color: var(--white);
}

.about-content .section-tag {
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--pink);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

/* ===== WHY US SECTION ===== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: var(--gray-light);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-pink {
    background: var(--pink);
    color: var(--white);
}

.icon-cyan {
    background: var(--cyan);
    color: var(--white);
}

.icon-yellow {
    background: var(--yellow);
    color: var(--white);
}

.icon-green {
    background: var(--green);
    color: var(--white);
}

.benefit-icon i {
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--navy);
}

.contact-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.contact-cta {
    text-align: center;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--orange);
    color: var(--white);
    padding: 20px 45px;
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.4);
}

.btn-contact i {
    font-size: 2rem;
}

.cta-text {
    text-align: left;
}

.cta-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.cta-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f1e2f;
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.footer-links ul,
.footer-products ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-products li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-products a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--pink);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
    color: var(--cyan);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: -1;
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list a {
        font-size: 1.1rem;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .floating-icon {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 calc(50% - 10px);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-visual {
        height: 250px;
    }

    .v-block-1 {
        width: 100px;
        height: 100px;
    }

    .v-block-2 {
        width: 80px;
        height: 80px;
    }

    .v-block-3 {
        width: 70px;
        height: 70px;
    }

    .v-block-4 {
        width: 90px;
        height: 90px;
    }

    .visual-icon {
        width: 90px;
        height: 90px;
    }

    .visual-icon i {
        font-size: 2rem;
    }
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 2px dashed #ccc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 200px;
}
.image-placeholder::before { content: "Imagen"; }
.image-placeholder.hero-image { min-height: 400px; width: 100%; }
.image-placeholder.product-image { min-height: 180px; aspect-ratio: 1; }

img.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}
.image-placeholder.about-image { min-height: 300px; }
