﻿/* ===== MEDIAMETRIK - 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;*/
    margin-top: 10px;
    background: #ffffff;
    border-radius: 32px 32px 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 ===== */
.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;
    text-align: center;
}

    .mm-input:focus {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    }

.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 */
.mm-card:nth-child(1) .mm-card-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mm-card:nth-child(2) .mm-card-icon {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.mm-card:nth-child(3) .mm-card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.mm-card:nth-child(4) .mm-card-icon {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.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 PREMIOS (SLIDER) ===== */
.mm-prizes {
    padding: 3rem 4rem 4rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

/* =====================================================
   TÍTULO DE SECCIÓN — clase reutilizable
   Usala en cualquier <h2> de sección nueva:
   <h2 class="mm-section-title">Tu título</h2>
   ===================================================== */
.mm-section-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-title hereda todo de .mm-section-title */
.mm-prizes-title {
}

.mm-prizes-subtitle {
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2.5rem;
}

.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;
}

.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;
}

.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-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.mm-prize-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.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;
    }

.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);
    }

/* =========================================== */
/* SECCIÓN DE GEOLOCALIZACIÓN                  */
/* =========================================== */

.geo-section {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.geo-header {
    text-align: center;
    margin-bottom: 3rem;
}

    /* El h2 dentro de geo-header ya usa la clase .mm-section-title en el HTML,
       solo se mantiene este bloque para los párrafos internos */
    .geo-header p {
        font-size: 0.9rem;
        color: #4b5563;
        max-width: 850px;
        margin: 0 auto;
        line-height: 1.5;
    }

.geo-subtle {
    margin-bottom: 0.5rem;
}

.geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.geo-card {
    background: #f9fafb;
    border-radius: 24px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.geo-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: white;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.geo-icon--blue {
    background: #eef2ff;
}

.geo-icon--green {
    background: #eef5e8;
}

.geo-icon--amber {
    background: #fffbeb;
}

.geo-icon--pink {
    background: #fdf2f5;
}

.geo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.geo-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
}

.geo-nota {
    background: #fefce8;
    border-left: 4px solid #f59e0b;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.geo-nota__icon {
    flex-shrink: 0;
    color: #f59e0b;
    margin-top: 0.2rem;
}

.geo-nota p {
    margin: 0;
    font-size: 0.9rem;
    color: #78350f;
    line-height: 1.5;
}

.geo-nota strong {
    color: #92400e;
}

/* ===== 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-prizes {
        padding: 2.5rem 2rem 3rem;
    }

    .mm-prize-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .geo-section {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .geo-header p {
        font-size: 1rem;
    }

    .geo-grid {
        gap: 1.25rem;
    }

    .geo-card {
        padding: 1.25rem;
    }

    .geo-icon {
        width: 48px;
        height: 48px;
    }

    .geo-card h3 {
        font-size: 1.125rem;
    }

    .geo-nota {
        flex-direction: column;
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .mm-section-title {
        font-size: 2rem;
    }

    .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);
    }
}
