/* --- CONFIGURACIÓN GENERAL STUDIO --- */
#ingrix-studio-content {
    background-color: #0f0f0f;
    color: #fff;
    padding-bottom: 80px;
    font-family: 'Inter', sans-serif;
}

#ingrix-studio-content .wrap {
    max-width: 1200px; /* Un poco más ancho para que las 5 fotos respiren */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ESTILO HERO (RECUPERADO CON CONTRASTE) --- */
.studio-hero {
    padding: 60px 0;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-text h1 span {
    color: #e67e22; /* NARANJA CORPORATIVO INGRIX */
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- SLIDER "REVELA LA MAGIA" (Proporción 4:5) --- */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 450px; 
    aspect-ratio: 4 / 5; 
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    cursor: col-resize;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    border: 1px solid #333;
}

.img-static, .img-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-static img, .img-reveal img {
    width: 450px; 
    height: 100%;
    object-fit: cover;
    object-position: top; 
    display: block;
}

.img-reveal {
    width: 50%;
    z-index: 2;
    overflow: hidden;
    border-right: 3px solid #fff;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    z-index: 3;
    pointer-events: none;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e67e22;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

/* --- GALERÍA DE 5 COLUMNAS (CORREGIDA PARA NO CORTAR FOTOS) --- */
.studio-gallery { 
    padding: 80px 0; 
    background: #0a0a0a; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.gallery-grid-5 { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
}

.gallery-item { 
    position: relative; 
    border-radius: 12px; 
    overflow: hidden; 
    /* Cambiado a 2/3 para que sea más vertical y quepan los personajes enteros */
    aspect-ratio: 2 / 3; 
    border: 1px solid #222; 
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: #e67e22;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* Prioriza la parte superior para no cortar cabezas */
    object-position: center 10%; 
}

.item-info { 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    padding: 20px 15px; 
    background: linear-gradient(transparent, rgba(0,0,0,0.95)); 
}

.item-info h3 { 
    margin: 0; 
    font-size: 1.1rem; 
    color: #fff;
    font-weight: 700;
}

.item-info span { 
    color: #e67e22; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    font-weight: 800;
    letter-spacing: 1px;
}

/* --- SECCIÓN PEDIDO Y PRECIO --- */
.studio-order { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.info-card .badge {
    background: #e67e22;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.price-box { margin: 25px 0; display: flex; align-items: baseline; }
.old-price { text-decoration: line-through; color: #666; font-size: 1.5rem; }
.new-price { font-size: 4.5rem; font-weight: 900; color: #e67e22; margin-left: 15px; line-height: 1; }

.check-list { list-style: none; padding: 0; margin-bottom: 30px; }
.check-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; }
.check-list i { color: #e67e22; margin-right: 12px; }

/* --- ZONA DE CARGA --- */
.form-card { background: #1a1a1a; padding: 40px; border-radius: 20px; border: 1px solid #333; }
.upload-zone { border: 2px dashed #444; padding: 50px 20px; text-align: center; border-radius: 15px; cursor: pointer; transition: 0.3s; background: #111; }
.upload-zone:hover { border-color: #e67e22; background: rgba(230, 126, 34, 0.05); }
.btn-primary-studio { background: #e67e22; color: #fff; border: none; width: 100%; padding: 22px; font-weight: 800; border-radius: 10px; cursor: pointer; font-size: 1.3rem; margin-top: 25px; }

/* --- RESPONSIVIDAD --- */
@media (max-width: 1024px) {
    .gallery-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .gallery-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 2.2rem; }
}
/* --- SECCIÓN PASOS --- */
.studio-steps {
    padding: 80px 0;
    background: #0f0f0f; /* Coherente con el resto del Studio */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.step-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    position: relative;
    transition: 0.3s;
}

.step-card:hover { border-color: #e67e22; transform: translateY(-5px); }

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(230, 126, 34, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 { color: #e67e22; margin-bottom: 15px; font-size: 1.2rem; }
.step-card p { font-size: 0.95rem; color: #ccc; line-height: 1.5; }

/* --- CONTENEDOR PRINCIPAL DE LA GUÍA --- */
.photo-guide {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Texto más ancho que la foto */
    gap: 50px;
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid #222;
    align-items: start;
    margin-top: 50px;
}

/* --- ALINEACIÓN DE LA LISTA (GRID INTERNO) --- */
.guide-list {
    list-style: none;
    padding: 0;
    margin-top: 35px;
}

.guide-list li {
    display: grid;
    /* Columna 1: Icono (35px) | Columna 2: Título (175px) | Columna 3: Explicación */
    grid-template-columns: 35px 175px 1fr; 
    gap: 12px;
    align-items: start; 
    margin-bottom: 25px;
}

/* Iconos de la guía */
.guide-list li i {
    color: #e67e22;
    font-size: 1.1rem;
    padding-top: 3px;
    text-align: center;
}

/* Títulos en negrita (alineados en su columna) */
.guide-list li strong {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap; /* Evita saltos de línea en el título */
}

/* Descripciones (columna derecha limpia) */
.guide-list li span {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* --- LA FOTO DE PRUEBA (2:3) --- */
.visual-example {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 2 / 3; /* Proporción póster */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #e67e22;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.visual-example img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* Prioriza ver la cara */
}

.example-badge {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(230, 126, 34, 0.95);
    color: #fff;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

/* RESPONSIVIDAD: En móviles ponemos la foto debajo del texto */
@media (max-width: 900px) {
    .photo-guide {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .guide-list li {
        grid-template-columns: 40px 1fr;
    }
    .guide-list li strong {
        white-space: normal;
        grid-column: 2;
    }
    .guide-list li span {
        grid-column: 2;
    }
}
/* --- CORRECCIÓN DE ESPACIOS PESTOSOS --- */

/* Espacio después de los iconos de la guía y el check-list */
.check-list li i {
    margin-right: 12px !important; /* Separa el icono del texto */
    display: inline-block;
}

/* Espacio después del texto en negrita (negrita: texto) */
.check-list li strong {
    margin-right: 4px; /* Crea el espacio después de los dos puntos */
    display: inline-block;
}

/* Ajuste específico para que el check-list no pegue el texto al 4K */
.check-list li {
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
/* 2. Título específico dentro de la Guía de Foto */
.guide-title {
    margin-bottom: 20px;
}

.guide-title h3 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #e67e22; /* Ahora "La clave del éxito:" es naranja */
}

.guide-title h3 span {
    color: #fff; /* "Tu Foto" ahora resalta en blanco para dar contraste */
}
/* Lightbox Estilo Premium Ingrix */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(5px);
    cursor: zoom-out;
    animation: fadeIn 0.4s ease;
}

.lightbox-container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border: 1px solid rgba(255, 102, 0, 0.5); /* Naranja Ingrix sutil */
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    display: inline-block;
}

.quality-badge {
    color: #ff6600;
    font-family: sans-serif;
    font-size: 14px;
    margin-top: 15px;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

#caption-lightbox {
    color: #ccc;
    margin-top: 10px;
}

@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
.pack-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}
/* Contenedor de los selectores */
.pack-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 25px 0;
}

/* Estilo base de cada opción */
.pack-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03); /* Fondo sutil para que no sea negro total */
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efecto al pasar el ratón (Hover) */
.pack-option:hover {
    border-color: rgba(230, 126, 34, 0.5);
    background: rgba(230, 126, 34, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Estado ACTIVO (Seleccionado) */
.pack-option.active {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.12);
    box-shadow: 0 0 25px rgba(230, 126, 34, 0.25), inset 0 0 10px rgba(230, 126, 34, 0.1);
}

/* Resalte de los textos */
.pack-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff; /* Texto blanco siempre para que resalte */
    margin-bottom: 4px;
    transition: color 0.3s;
}

.pack-option.active .pack-name {
    color: #e67e22; /* El nombre se vuelve naranja al estar activo */
}

.pack-desc {
    font-size: 0.85rem;
    color: #bbb;
}

/* El precio ahora es un botón dentro del botón */
.pack-price-tag {
    font-weight: 800;
    color: #fff;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.pack-option.active .pack-price-tag {
    background: #e67e22;
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

        /* Estilos para la validación ética de Ingrix */
        .policy-box-studio {
            background: rgba(230, 126, 34, 0.05);
            border: 1px solid rgba(230, 126, 34, 0.2);
            padding: 15px;
            border-radius: 12px;
            margin: 15px 0;
            text-align: left;
        }
        .checkbox-container-studio {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
            font-size: 0.85rem;
            line-height: 1.4;
            color: #444;
        }
        .checkbox-container-studio input {
            margin-top: 3px;
            cursor: pointer;
            accent-color: #e67e22;
        }
        .policy-text strong {
            color: #e67e22;
            display: block;
            margin-bottom: 2px;
        }
        .btn-primary-studio:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        .label-upload-wrapper {
            display: block;
            cursor: pointer;
            width: 100%;
        }

/* --- ESTILOS SELECTOR DE MULTIVERSO PERFECCIONADO --- */
.style-selection-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 25px 0 8px;
    color: #fff;
    display: block;
    text-align: left;
    letter-spacing: 0.5px;
}

.style-selection-help {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
    display: block;
    line-height: 1.5;
    text-align: left;
}

.style-grid-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.style-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    color: #bbb;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.style-chip.selected {
    background: rgba(230, 126, 34, 0.15);
    color: #e67e22;
    border-color: #e67e22;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.2);
    transform: translateY(-2px);
}

.style-chip:hover:not(.selected) {
    border-color: rgba(230, 126, 34, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.style-error {
    color: #ff4d4d;
    font-size: 0.75rem;
    margin-top: -12px;
    margin-bottom: 15px;
    text-align: left;
    display: none;
    font-weight: 600;
}

/* SECCIÓN FAQ STYLING */
.studio-faq { padding: 80px 0; background: #0a0a0a; border-top: 1px solid #1a1a1a; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.faq-item { background: rgba(255,255,255,0.02); padding: 25px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s ease; }
.faq-item:hover { transform: translateY(-5px); border-color: rgba(230, 126, 34, 0.3); }
.faq-item h4 { color: #e67e22; margin-bottom: 15px; font-size: 1.1rem; font-weight: 700; }
.faq-item p { color: #888; font-size: 0.95rem; line-height: 1.6; }

@media (min-width: 480px) {
    .style-grid-selector > div:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}