﻿/* ===== MEDIAMETRIK_LYT - CSS UNIFICADO Y LIMPIO ===== */
/* Colores: Azul profundo + Naranja/Ámbar + Blanco */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importar fuente Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    background: #F2F8FE;
    line-height: 1.5;
}

/* ===== WRAPPER ===== */
.mm-wrap {
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== NAV ===== */
.mm-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 4rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.mm-logo {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

/* ===== BRAND (movido desde <style> del cshtml) ===== */
.brand-min-1 {
    font-weight: 800;
    font-size: 36px;
    letter-spacing: -0.3px;
}

.mm-media {
    color: #121B2E;
}

.mm-metrik {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-min-1:hover .mm-metrik {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.mm-badge {
    font-size: 0.85rem;
    font-weight: 600;
    background: #fef3c7;
    color: #b45309;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid #fde68a;
}

/* ===== HERO: dos columnas ===== */
.mm-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    padding: 2rem 4rem 3rem;
    align-items: center; /* **************** */
    min-height: auto;
}

/* --- Columna izquierda --- */
.mm-hero-left h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 70%, #2d6a4f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.mm-hero-left > p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: left;
}

/* ===== PASOS NUMERADOS ===== */
.mm-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
    text-align: left;
}

.mm-step {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 90px;
}

.mm-step-num {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    color: #C2410C;
    opacity: 0.7;
    z-index: 1;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.mm-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: -8px;
    width: 60px;
    height: 4px;
    border-radius: 2px;
}

.mm-step-text {
    position: relative;
    z-index: 2;
    margin-left: 100px;
}

    .mm-step-text strong {
        display: block;
        font-size: 1.3rem;
        font-weight: 700;
        color: #0f172a;
    }

    .mm-step-text span {
        display: block;
        margin-top: 0.35rem;
        font-size: 0.9rem;
        color: #64748b;
    }

/* --- Columna derecha: card del formulario --- */
.mm-hero-right {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: center;
}

    .mm-hero-right:hover {
        transform: translateY(-4px);
        box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
    }

    .mm-hero-right h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0.5rem;
        text-align: center;
    }

.mm-form-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Banner sorteo */
.mm-sorteo {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.mm-sorteo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.mm-sorteo-text {
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 500;
    line-height: 1.4;
}

/* Form */
.mm-form-group {
    margin-bottom: 1rem;
}

.mm-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 0.95rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

    .mm-input:focus {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }

    .mm-input input[type="number"]::-webkit-inner-spin-button,
    .mm-input input[type="number"]::-webkit-outer-spin-button {
        opacity: 0.5;
    }

/* Checkbox */
.mm-form-group input[type="checkbox"] {
    accent-color: #f59e0b;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.mm-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    font-family: inherit;
    box-shadow: 0 2px 5px rgba(245, 158, 11, 0.3);
}

    .mm-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
        background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    }

.mm-privacy {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 1rem;
}

/* ===== CARDS INFORMATIVAS ===== */
.mm-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1rem 3rem 3rem;
    background: #ffffff;
}

.mm-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.1);
}

    .mm-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px -15px rgba(0,0,0,0.15);
    }

.mm-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mm-card-icon i {
        font-size: 1.8rem;
        color: #fff;
    }

/* ===== COLORES DE CARDS - BLOQUE ÚNICO (sin duplicados) ===== */
.mm-card:nth-child(1) .mm-card-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8); /* Azul */
}

.mm-card:nth-child(2) .mm-card-icon {
    background: linear-gradient(135deg, #f59e0b, #ea580c); /* Naranja */
}

.mm-card:nth-child(3) .mm-card-icon {
    background: linear-gradient(135deg, #10b981, #059669); /* Verde */
}

.mm-card:nth-child(4) .mm-card-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9); /* Violeta */
}

.mm-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.mm-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* ===== SECCIÓN CÓMO FUNCIONA ===== */
.mm-how-section {
    padding: 2rem 3rem;
    background: #ffffff;
}

.mm-how-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 70%, #2d6a4f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 2rem;
}

.mm-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ===== FOOTER ===== */
.mm-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    padding: 1.5rem 3rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    margin-top:250px;

}

/* ===== SECCIÓN PREMIOS (SLIDER) ===== */
.mm-prizes {
    padding: 3rem 4rem 4rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.mm-prizes-title {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 70%, #2d6a4f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.75rem;
}

.mm-prizes-subtitle {
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Contenedor del slider */
.mm-slider-wrap {
    position: relative;
    overflow: hidden;
}

.mm-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Card premio */
.mm-prize-card {
    flex: 0 0 calc(25% - 1.125rem);
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .mm-prize-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.18);
    }

.mm-prize-img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

/* Placeholder visual cuando no hay imagen */
.mm-prize-img-placeholder {
    width: 100%;
    height: 220px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

    .mm-prize-img-placeholder i {
        font-size: 3rem;
    }

/* Color del ícono por card */
.mm-prize-card:nth-child(1) .mm-prize-img-placeholder i {
    color: #3b82f6;
}

.mm-prize-card:nth-child(2) .mm-prize-img-placeholder i {
    color: #f59e0b;
}

.mm-prize-card:nth-child(3) .mm-prize-img-placeholder i {
    color: #10b981;
}

.mm-prize-card:nth-child(4) .mm-prize-img-placeholder i {
    color: #6366f1;
}

.mm-prize-card:nth-child(5) .mm-prize-img-placeholder i {
    color: #ef4444;
}

.mm-prize-card:nth-child(6) .mm-prize-img-placeholder i {
    color: #0ea5e9;
}

.mm-prize-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.mm-prize-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 0.6rem;
}

.mm-prize-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.mm-prize-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

/* Controles del slider */
.mm-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.mm-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

    .mm-slider-btn:hover {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: #ffffff;
        border-color: transparent;
        box-shadow: 0 4px 12px rgba(245,158,11,0.35);
    }

    .mm-slider-btn:disabled {
        opacity: 0.35;
        cursor: default;
        pointer-events: none;
    }

/* Dots */
.mm-slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

    .mm-dot.active {
        width: 24px;
        border-radius: 4px;
        background: linear-gradient(135deg, #f59e0b, #d97706);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mm-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0rem 2rem 2rem;
    }

    .mm-hero-left h1 {
        font-size: 2.5rem;
    }

    .mm-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }

    .mm-nav {
        padding: 0.75rem 1.5rem;
    }

    .mm-how-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mm-prizes {
        padding: 2.5rem 2rem 3rem;
    }

    .mm-prize-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .mm-how-grid {
        grid-template-columns: 1fr;
    }

    .mm-how-section {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .mm-cards {
        grid-template-columns: 1fr;
    }

    .mm-hero-left h1 {
        font-size: 2rem;
    }

    .mm-hero {
        padding: 0rem 1.5rem 1.5rem;
    }

    .mm-step-num {
        font-size: 60px;
    }

    .mm-step-text {
        margin-left: 70px;
    }

    .mm-step-text strong {
        font-size: 1.1rem;
    }

    .mm-prize-card {
        flex: 0 0 calc(100% - 0rem);
    }

    .mm-prizes-title {
        font-size: 2rem;
    }
    /*UBICACION EN EL FOOTER*/
    .mm-footer-location {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        color: #94a3b8;
        margin-bottom: 1rem;
    }

    .mm-country {
        color: #64748b;
    }

    .mm-separator {
        color: #cbd5e1;
    }

    .mm-dot {
        width: 8px;
        height: 8px;
        background: #3b82f6;
        border-radius: 50%;
        display: inline-block;
    }

    .mm-city {
        font-weight: 500;
        color: #0f172a;
    }

    .mm-update-location {
        color: #2563eb;
        text-decoration: none;
    }

        .mm-update-location:hover {
            text-decoration: underline;
        }
        }
    /*FIN UBICACION EN FOOTER*/

    /*UBICACION EN EL NAVBAR*/
        .mm-nav {
            display: flex;
            justify-content: space-between;
            align-items: flex-end; /* 👈 clave */
            padding: 0.75rem 4rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .mm-nav-location {
            font-size: 0.8rem;
            color: #64748b;
        }


            .mm-nav-location strong {
                color: #0f172a;
            }

    /************************/
}
