/* ==========================================
   ESTILOS ESPECÍFICOS - PROYECTO MSR VOL.1
   ========================================== */

body {
    background-color: #FFFFFF;
}

.msr-container {
    width: 100%;
    max-width: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.info-barriers-msr {
    width: 100%;
    overflow: hidden;
    margin-top: 72px;
}

.moving-banner-msr-container {
    background-color: #F7D5D9;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.moving-banner-msr-text {
    display: flex;
    white-space: nowrap;
    animation: moveMsrLeft 20s linear infinite;
    font-family: 'Satoshi', sans-serif;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    align-items: center;
}

.msr-banner-item {
    padding: 0 4px;
}

.msr-star-icon {
    height: 16px;
    width: auto;
    align-self: center;
    margin: 0 25px;
    flex-shrink: 0;
}

@keyframes moveMsrLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.msr-full-photo-block {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #FFFFFF;
}

.msr-full-photo-block img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.msr-full-gif-block {
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-color: #FFFFFF;
    margin-bottom: 80px;
}

.msr-full-gif-block img,
.msr-full-gif-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.msr-text-block {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 24px;
    background-color: #FFFFFF;
}

.msr-text-block p {
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
}

/* SECCIÓN ROSADA CON ESPACIO EN BLANCO EXTERIOR */
.msr-grid-section {
    width: 100%;
    background-color: #c1959b;
    padding: 90px 0 90px 0;
    margin-bottom: 80px; /* Genera separación blanca por fuera del bloque */
}

.msr-grid-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.msr-grid-hero {
    max-width: 450px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.msr-grid-hero-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin: 0 auto 20px auto;
}

.msr-grid-hero-image img,
.msr-grid-hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.msr-grid-hero-caption p {
    font-size: 12px;
    line-height: 1.6;
    color: #2A2A2A;
    margin-bottom: 12px;
    text-align: center;
}

.msr-grid-hero-caption strong {
    font-weight: 700;
}

.msr-grid-title {
    width: 100%;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1A1A1A;
    text-transform: uppercase;
    margin: 20px 0 50px 0;
    text-align: justify;
    text-align-last: justify;
}

.msr-grid-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    margin-bottom: 90px;
    align-items: center;
}

.msr-grid-row:last-child {
    margin-bottom: 0;
}

.msr-grid-row-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.msr-grid-row-top-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msr-grid-step {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    display: block;
}

.msr-grid-row-desc {
    font-size: 12px;
    line-height: 1.7;
    color: #1A1A1A;
    margin: 0;
}

.msr-grid-row-desc strong {
    font-weight: 700;
}

.msr-grid-specs-stack p {
    font-size: 12px;
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.msr-grid-specs-stack strong {
    font-weight: 700;
}

.msr-grid-row-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    overflow: visible;
    justify-self: end;
}

.msr-grid-row-image img,
.msr-grid-row-image video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* CONTENEDOR DOBLE IMAGEN AL FINAL */
.msr-double-photo-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
}

.msr-photo-col {
    width: 50%;
    line-height: 0;
}

.msr-photo-col img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.msr-ticker-section {
    width: 100%;
    overflow: hidden;
    background-color: #FFFFFF;
    padding: 60px 0;
}

.msr-ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: msrInfiniteScroll 60s linear infinite;
}

.msr-ticker-track span {
    font-family: 'Satoshi', sans-serif;
    font-size: 128pt;
    font-weight: 700;
    line-height: 1;
    color: #881f25;
    letter-spacing: -2px;
}

@keyframes msrInfiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 850px) {
    .msr-full-photo-block,
    .msr-full-gif-block {
        height: auto;
        margin-bottom: 40px;
    }

    /* VISTA MÓVIL CON ESPACIO EN BLANCO */
    .msr-grid-section {
        padding: 50px 0 50px 0;
        margin-bottom: 40px; /* Margen inferior en blanco para móvil */
    }

    .msr-grid-inner {
        padding: 0 24px;
    }

    .msr-grid-title {
        font-size: 22px;
    }

    .msr-grid-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .msr-grid-row-text {
        justify-content: flex-start;
        gap: 24px;
    }

    .msr-grid-step {
        font-size: 16px;
    }

    .msr-grid-row-image {
        max-width: 100%;
        height: auto;
    }

    .msr-double-photo-block {
        flex-direction: column;
    }

    .msr-photo-col {
        width: 100%;
    }
    
    .msr-ticker-section {
        padding: 30px 0;
    }

    .msr-ticker-track span {
        font-size: 64pt;
    }
}