/* ===================================================
   PREPARACIÓN Y OPTIMIZACIÓN 
   =================================================== */

#servicios_preparacion_datos {
    position: relative;
    background-image: url('../../assets/img/fotografia-completa-del-paisaje-nevado.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    min-height: 850px;
    color: #ffffff;
    overflow: hidden;
}

.preparacion-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(35, 35, 35, 0.7);
    z-index: 1;
}

.preparacion-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, #000000, transparent);
    z-index: 2;
}

#servicios_preparacion_datos .container {
    position: relative;
    z-index: 10;
}

.preparacion-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 90px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
}

.preparacion-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
}

.preparacion-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.col-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.col-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 280px;
    color: #ffffff;
}

.col-visual {
    position: relative;
    width: 100%;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

/* 1. IMAGEN: */
.circle-frame {
    position: relative;
    width: 210px;
    height: 210px;
    z-index: 30; 
    background: #111;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 1), 
                inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 2. ARCOS: ENVUELVEN POR FUERA */
.circle-decor {
    position: absolute;
    inset: -35px;
    border: 20px solid #2c5282;
    border-radius: 50%;
    z-index: 40;
}

/* 3. FLECHAS DE SALIDA */
.flow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    z-index: 20; 
}

.flow-arrow::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

/* 4. LÍNEAS DE ENTRADA: */
.preparacion-col .col-visual::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    z-index: 10; 
}

/* --- CONFIGURACIÓN ESPECÍFICA POR PASO --- */

/* PASO 1 */
.preparacion-col:nth-child(1) .circle-decor {
    clip-path: polygon(0% 0%, 100% 0%, 100% 35%, 80% 45%, 80% 55%, 100% 55%, 100% 100%, 0% 100%);
    transform: rotate(-8.9deg); 
    border-color: #4d7eb2;
}

.preparacion-col:nth-child(1) .flow-arrow {
    right: -15px;
    width: 27%;
    background: #4d7eb2;
}
.preparacion-col:nth-child(1) .flow-arrow::after {
    border-left: 20px solid #4d7eb2;
}

/* PASO 2 */
.preparacion-col:nth-child(2) .circle-decor {
    border-color: #2f568f;
    clip-path: polygon(0% 0%, 100% 0%, 100% 42%, 80% 42%, 80% 58%, 100% 58%, 100% 100%, 0% 100%, 0% 58%, 20% 58%, 20% 42%, 0% 42%);
    transform: rotate(-13.3deg); 
}

.preparacion-col:nth-child(2) .col-visual::before {
    width: 23%;
    background: #2f568f;
}

.preparacion-col:nth-child(2) .flow-arrow {
    right: -15px;
    width: 27%;
    background: #2f568f;
}
.preparacion-col:nth-child(2) .flow-arrow::after {
    border-left: 20px solid #2f568f;
}

/* PASO 3 */
.preparacion-col:nth-child(3) .circle-decor {
    border-color: #21376b;
    clip-path: polygon(0% 0%, 100% 0%, 100% 35%, 80% 45%, 80% 55%, 100% 55%, 100% 100%, 0% 100%);
    transform: rotate(-189.5deg); 
}

.preparacion-col:nth-child(3) .col-visual::before {
    width: 23%;
    background: #21376b;
}

/* FOOTER */
.col-footer {
    min-height: 180px;
    padding: 0 15px;
}

.col-footer p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
    display: inline-block;
}

.footer-list li {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-weight: 300;
    color: #fff;
}

.footer-list li::before {
    content: "•";
    color: #ffffff;
    position: absolute;
    left: 0;
}

@media (max-width: 1024px) {
    .preparacion-grid { flex-direction: column; gap: 80px; align-items: center; }
    .flow-arrow, .col-visual::before { display: none; }
    .circle-decor { clip-path: none !important; border-color: #2c5282 !important; }
}