/* --- 2. Estilos Comunes de Secciones Animadas --- */
.promotion {
    height: calc(100vh - 50px);
    overflow: hidden;
    background-color: rgb(195 150 22);
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    background-image: url('../images/20th-main-good.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
/* --- Estilos de Logos y Banners --- */
.logo-bizhub {
    z-index: 1;
}
.bizhub-20th {
    width: 100%;
}
.limited-edition{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color: rgba(195, 150, 22, 0.8);
    color: #2b2a29;
}
.limited-edition img {
    padding-bottom: 2rem;
    padding-top: 3rem;
    width: 40%;
    margin: 0 auto;
    min-width: 280px;
}
.limited-edition p {
    font-size: 1.2rem;
    max-width: 800px;
}
.logo-konica-large {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    width: 25%; /* Ajuste inicial para pantallas grandes */
    margin: 0; /* Eliminar auto margin */
    max-width: 300px;
    min-width: 200px; /* Reducido para mejor ajuste en móviles */
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Ajuste específico para el SVG */
.logo-konica-large svg {
    width: 100%;
    height: auto;
}

/* --- Contenedor principal de 3 elementos (Desktop/Tablet) --- */
.contenedor-flex {
    display: flex;
    align-items: stretch;
    justify-content: center; /* Centrar el contenido horizontalmente */
    z-index: 1;
    position:relative;
}

/* --- Estilos de las Cajas de Texto (Boxes) --- */
.box-text {
    background-color: white;
    border-radius: 10px;
    /* Establecer un ancho máximo que se romperá en móvil */
    max-width: 300px; 
    border: 3px solid rgb(195 150 22);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 15px; /* Aumentado el padding para mejor aspecto */
}
.box-text h4 {
    color: rgb(195 150 22);
    font-size: 1.2rem;
    margin: 0;
    font-weight: bold;
}
.box-text p {
    margin: 10px 0px 0px 0px;
}
.box-text span {
    font-style: italic;
    font-weight: bold;
}
.esfera-text {
    max-width: 250px;
}
.esfera-text img{
    width: 100%;
}
/* Estilos de la SECCIÓN 1 (Columnas) */
.columna-izquierda,
.columna-derecha {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.columna-central{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    width: 20%;
}
.valid-promotion{
    background-color: rgba(255,255,255,0.6);
    padding: 2.5px 5px;
}
.valid-promotion > .small-letter{
    font-size: 12px;
    text-align: center;
    margin:0;
}
/* Elemento de fondo (globos, etc.) */
.globos-20th {
    z-index: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.95;
}
.globos-20th img {
    width: 100%;
}
.gold-button {
    max-width: 260px;
    margin: 10px auto;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: rgb(195 150 22);
    color:white;
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

/* ================================= */
/* === MEDIA QUERY PARA MÓVILES === */
/* ================================= */
@media (max-width: 600px) {
    /* Logotipos y Banner */
    .logo-konica-large {
        top: 10px;
        left: 10px;
        width: 40%; /* Aumentar ligeramente el tamaño del logo para que se vea */
        min-width: 150px; 
    }
    .limited-edition{
        margin-bottom: 5px;
    }
    .limited-edition img {
        padding-bottom: 1rem;
        padding-top: 3rem;
        width: 40%;
        margin: 0 auto;
        min-width: 200px;
        }
    /* Contenedor principal: Cambiar a una sola columna */
    .contenedor-flex {
        flex-direction: column;
        align-items: center; /* Centrar todos los elementos */
        gap: 5px;
        padding: 0 10px;
        justify-content: space-evenly;
    }
    
    /* Columnas: Ocupar el 90% del ancho del viewport */
    .columna-izquierda,
    .columna-derecha {
        width: 90%;
        /* Asegurar que los elementos dentro también estén centrados */
        align-items: center;
        gap: 10px; /* Espacio entre los box-text */
        justify-content: center; /* Centrar en el eje vertical */
    }

    /* Cajas de texto: Ocupar todo el ancho de la columna */
    .box-text {
        max-width: 100%; /* Permitir que la caja se expanda */
        width: 100%;
        padding: 5px;
    }
    .box-text h4 {
        font-size: 14px;
    }
    .esfera-text {
        max-width: 100px;
        /* Ajuste de padding si es necesario para el contenido */
    }
    /* Cajas de texto: Ocupar todo el ancho de la columna */
    .box-text p{
        display: none;
    }
}
.promotion-machine .anniversary-logo{
    max-width: 60% !important;
    margin: 0 auto;
}
/* Contenedor Principal Responsivo */
.promotion-machine {
    width: 100%;
    padding: clamp(12px, 2vw, 28px);
    display: flex;
    justify-content: center;
}

.promotion-machine .promo-card {
    background: #ffffff;
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr; /* Por defecto 1 columna (móvil) */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.promotion-machine .logo-konica-promo {
    z-index: 1;
    width: clamp(160px, 28%, 250px);
    margin: 0; /* Eliminar auto margin */
    max-width: 250px;
    min-width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Configuración para Pantallas Grandes (Desktop) */
@media (min-width: 992px) {
    .promotion-machine .promo-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (min-width: 1280px) {
    .promotion-machine .promo-card {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }
}
/* Lado de la Imagen */
.promotion-machine .image-box {
    position: relative;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 100%;
}

.promotion-machine .image-box img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.promotion-machine .promo-gold-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(120deg, rgba(195, 150, 22, 0.8) 0%, rgba(205, 160, 32, 0.7) 48%, rgba(215, 170, 42, 0.75) 100%);
    color: #2b2a29;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: clamp(12px, 1.5vw, 16px);
    z-index: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.promotion-machine .promo-gold-band .promo-main {
    display: block;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 600;
    color: #2b2a29;
    margin-bottom: 4px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.promotion-machine .promo-gold-band .promo-sub {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: #2b2a29;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.promotion-machine .promo-card:hover .promo-gold-band,
.promotion-machine .promo-card:hover .image-box > img {
    transform: scale(1.03);
}

/* Lado del Contenido */
.promotion-machine .content-box {
    padding: clamp(20px, 3.5vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #ffffff, #f1f4f8);
    gap: clamp(14px, 1.6vw, 24px);
}

.promotion-machine .brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.promotion-machine .badge {
    background: #005da9;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.promotion-machine h1 {
    color: #005da9;
    font-size: clamp(1.7rem, 3.8vw, 2.9rem);
    line-height: 1.1;
    margin-bottom: 0;
}

.promotion-machine .model-name {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    color: #333333;
    margin-bottom: 0;
    font-weight: 300;
}

.promotion-machine .feature-list {
    list-style: none;
    margin-bottom: 0;
}

.promotion-machine .feature-list li {
    margin-bottom: clamp(8px, 1vw, 12px);
    display: flex;
    align-items: center;
    color: #555;
    font-size: clamp(0.96rem, 1.2vw, 1.08rem);
}

.promotion-machine .feature-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #005da9;
    border-radius: 50%;
    margin-right: 12px;
}

/* Sección de Precio Impactante */
.promotion-machine .price-container {
    border-top: 2px solid #dee2e6;
    padding-top: clamp(14px, 2vw, 24px);
    margin-bottom: 0;
}

.promotion-machine .price-label {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promotion-machine .price-value {
    display: block;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: #005da9;
    line-height: 1;
    margin-top: 6px;
}

.promotion-machine .price-value span {
    font-size: clamp(1rem, 2.3vw, 1.45rem);
    font-weight: 400;
}

/* Botón de Acción */
.promotion-machine .btn-primary {
    background: #005da9;
    color: white;
    text-decoration: none;
    padding: 15px 12px;
    border-radius: 12px;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,93,169,0.2);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promotion-machine .btn-primary:hover {
    background: #004a87;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,93,169,0.3);
}

@media (max-width: 991px) {
    .promotion-machine {
        padding: 12px;
    }

    .promotion-machine .promo-card {
        max-width: 860px;
    }

    .promotion-machine .image-box {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .promotion-machine .promo-card {
        border-radius: 16px;
    }

    .promotion-machine .content-box {
        padding: 18px 16px 20px;
        gap: 12px;
    }

    .promotion-machine .logo-konica-promo {
        width: 170px;
        max-width: 170px;
        min-width: 140px;
    }

    .promotion-machine .feature-list li {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .promotion-machine {
        padding: 8px;
    }

    .promotion-machine .image-box {
        min-height: 230px;
    }

    .promotion-machine .price-value {
        font-size: clamp(2.1rem, 11vw, 2.7rem);
    }

    .promotion-machine .btn-primary {
        padding: 14px 10px;
    }
}