


/* =========================
   CONTENEDOR GLOBAL
========================= */
.container {
    width: 85%;
    max-width: 1400px;
    margin: auto;
}

/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #333;
}

/* =========================
   HEADER
========================= */
header {
    width: 100%;
    background: #4108d1fd;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
    overflow: visible;
}

.header-main {
    display: flex;
    align-items: center;
    height: 80px;
    padding-left: 5px;
}

.logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.logo-mask {
    height: 80px;
    width: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.logo-mask img {
    height: 250px;
    margin-left: -65px;
}

.logo-link {
    display: block;
}

/* =========================
   MEN�
========================= */
.menu {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* 👈 mueve a la derecha */
    gap: 60px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    font-weight: 500;
    color: #e10992;
    position: relative;
    transition: 0.3s;
    white-space: nowrap;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: #e10992;
    transition: 0.3s;
}

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

/* =========================
   CONTENIDO PRINCIPAL
========================= */
.content {
    padding-top: 10px;
    min-height: calc(100vh - 380px);}

/* =========================
   CATEGOR�AS
========================= */
.categorias {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    column-gap: 40px;   /* horizontal */
    row-gap: 80px;      /* vertical */
}

.categoria {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;

    /* ?? FIX CLAVE */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 20px;
    text-align: center;

    transition: 0.2s;
    text-decoration: none;
    color: inherit;
}

.categoria-titulo {
    margin-top: 18px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #6b3fa0;
}

.categoria:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.categoria img {
    max-width: 85%;
    max-height: 220px;
    object-fit: contain;
}

/* =========================
   BADGES / TEXTOS
========================= */
.badge-bottom,
.badge-secondary {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.badge-bottom {
    margin-top: 18px;
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.badge-secondary {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 90px 20px;
    text-align: center;
}

.hero p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 820px;
    margin: auto;
    line-height: 1.6;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #1c1c1c;
    color: #ccc;
    margin-top: 0px;
    font-size: 14px;

}

.footer-content {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 10px;
}

.footer p {
    max-width: 300px;
    line-height: 1.5;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer a {
    color: #ff4fa3;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
    color: #999;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .menu ul {
        gap: 30px;
    }

    .categoria {
        min-height: 300px;
    }

    .hero {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}



/* =========================
   CTA DEMO
========================= */

.cta-demo {
    padding: 80px 20px;
    background: #f8f9fc;
    text-align: center;
}

.cta-demo h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-demo p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 35px;
}

.btn-demo {
    background: #4108d1fd;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-demo:hover {
    background: #3206a5;
    transform: translateY(-2px);
}