:root {
    --bg-dark: #030816;
    --bg-light: #f4f6fa;
    --primary-blue: #0044cc;
    --accent-blue: #00e5ff;
    --text-dark: #0a1128;
    --text-white: #ffffff;
    --text-gray: #555b6e;
    --card-bg-light: #ffffff;
    --card-border-light: rgba(0, 68, 204, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-dark);
}

.card-container {
    position: relative;
    width: 1200px;
    height: 675px;
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 85, 255, 0.2);
    border: 1px solid rgba(0, 85, 255, 0.3);
    display: flex;
    flex-direction: column;
}



.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    height: calc(100% - 60px);
    padding: 40px;
}

/* LEFT SECTION (White background) */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 50px;
    justify-content: flex-start; /* Acomoda todo desde arriba hacia abajo */
}

/* Logo */
.header {
    display: flex;
    align-items: center;
}

.main-logo {
    max-width: 250px; 
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 25px; /* Espacio debajo del logo */
    margin-top: 10px;
}

/* Categories */
.categories {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    word-spacing: 5px;
    margin-bottom: 35px; /* Espacio debajo de los textos */
}

.categories span {
    margin: 0 5px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* Un poco más de espacio al quitar las cajas */
    margin-bottom: 10px;
}

.service-card {
    display: flex;
    align-items: center;
    padding: 5px; /* Minimal padding sin fondo */
}

.service-icon {
    font-size: 28px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    color: var(--primary-blue);
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.service-info p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
    font-weight: 600;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.service-info p {
    font-size: 11px;
    color: var(--text-gray);
    line-height: 1.4;
    font-weight: 600;
}

/* RIGHT SECTION (Dark background) */
.right-section {
    width: 450px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--text-white);
}

.character-container {
    position: absolute;
    top: -80px;
    right: -20px;
    width: 550px;
    height: 600px;
    z-index: -1;
}

.mascot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 85, 255, 0.3));
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.contact-box {
    background: rgba(4, 10, 25, 0.8);
    border: 1px solid var(--primary-blue);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 85, 255, 0.1);
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 15px;
}

.whatsapp-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.3s;
}

.whatsapp-row:hover {
    background: rgba(0, 229, 255, 0.1);
}

.wa-icon {
    font-size: 32px;
    color: #ffffff;
    margin-right: 15px;
}

.wa-text {
    display: flex;
    flex-direction: column;
}

.wa-title {
    font-size: 14px;
    font-weight: 600;
}

.wa-number {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-blue) !important;
}

.social-row, .action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.social-row .social-btn {
    min-width: 80px;
}

.social-btn, .action-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.social-btn:hover, .action-btn:hover {
    background: rgba(0, 85, 255, 0.2);
    border-color: rgba(0, 85, 255, 0.5);
    transform: translateY(-2px);
}

.qr-container {
    width: 120px;
    height: 120px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code {
    width: 100%;
    height: 100%;
}

/* BOTTOM BAR */
.bottom-bar {
    height: 60px;
    background: rgba(0, 10, 30, 0.9);
    border-top: 1px solid rgba(0, 85, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.nav-item {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    
    /* Convertidos en Botones Reales */
    background: rgba(0, 85, 255, 0.2);
    border: 1px solid rgba(0, 85, 255, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-item:hover {
    background: rgba(0, 85, 255, 0.5);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

.nav-item i {
    color: var(--accent-blue); /* Resaltamos el icono */
    font-size: 16px;
}

/* RESPONSIVE DESIGN (MÓVILES Y TABLETS) */
@media (max-width: 990px) {
    body {
        align-items: flex-start; /* Para permitir el scroll en móviles */
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .card-container {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        min-height: 100vh;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background-position: left center; 
        overflow-x: hidden;
        display: block; /* Elimina flexbox para que no se deforme */
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        padding: 15px;
        height: auto;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .left-section {
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.95); /* Fondo blanco para que no se pierda el logo ni el texto */
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .categories {
        line-height: 2; /* Más espacio para leer en móvil */
    }

    .services-grid {
        grid-template-columns: 1fr; /* Tarjetas en una sola columna */
    }


    .right-section {
        width: 100%;
        max-width: 100vw;
        align-items: center;
        margin-bottom: 60px; /* Espacio para el menú inferior */
    }

    .character-container {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        height: 350px;
        margin-bottom: -60px; /* Jala la caja de contacto hacia arriba para esconder el recorte del tigre */
        z-index: 1;
    }

    .contact-box {
        width: 100%;
        flex-direction: column; /* Apilar info y QR */
        align-items: center;
        position: relative;
        z-index: 2; /* Se asegura de estar por encima del recorte del tigre */
    }

    .contact-info {
        padding-right: 0;
        margin-bottom: 20px;
        width: 100%;
        align-items: center; /* Centrar contenido */
    }

    .whatsapp-row {
        justify-content: center;
    }

    .qr-container {
        margin: 0 auto;
    }

    .bottom-bar {
        position: relative; /* Quitar fixed/absolute para evitar que tape contenido */
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
}
