
/* Variables de Color Basadas en la Imagen */
:root {
    --primary-dark: #666257;  /* Azul oscuro principal */
    --accent-gold: #c39257;   /* Dorado / Ocre */
    --text-gray: #666257;     /* Gris para descripciones */
    --text-light: #8a94a0;    /* Gris claro para viñetas */
    --border-light: #e2e8f0;  /* Líneas divisorias */
}

/* Contenedor Principal */
.container {
    background-image: url('../images/fondo-retail.webp');
    background-repeat: no-repeat;
    background-position: 100% 1%;    
    width: 70%;
    margin: 0 auto;
    padding: 200px 0 0 0;
    color: #666257;
}

/* Encabezado */
.header {
    text-align: left;
    margin-bottom: 4rem;
    position: relative;
    padding-left: 0.5rem;
}

.header h1 {
    color: #666257;    
    font-size: 28px;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 1px;
}

.header::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    width: 45px;
    height: 3px;
    background-color: var(--accent-gold);
}

.header p {
    font-size: 15px;
    line-height: 30px;
    color: var(--accent-gold);
    font-weight: 400;
}

/* Grid del Sistema de Pasos */
.system-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 40px;
    position: relative;
}

/* Elemento de Paso Individual */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Círculo del Número */
.step-number {
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
    background-color: #fcfcfd;
    margin-bottom: 1.5rem;
    z-index: 2;
}

/* Flechas Conectoras (Solo Escritorio) */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 1px;
    background-image: linear-gradient(to right, var(--accent-gold) 50%, transparent 50%);
    background-size: 8px 1px;
    z-index: 1;
}

/* Puntas de la Flecha */
.step:not(:last-child).arrow-next::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(50% + 30px + calc(100% - 70px));
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--accent-gold);
    border-right: 1px solid var(--accent-gold);
    transform: rotate(45deg);
    z-index: 1;
}

/* Contenedor de Iconos */
.step-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 1.25;
}

/* Títulos de Etapa */
.step h2 {
    color: #666257;    
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Breve Descripción */
.step-desc {
    background-color:none;
    font-size: 13px;
    color: var(--primary-dark);
    margin-bottom: 30px;
    min-height: 30px; /* Mantiene la alineación horizontal limpia */
    padding: 10px;
}

/* Listas de Viñetas */
.step-list {
    list-style: none;
    text-align: left;
    width: 100%;
    border-top: 1px solid var(--border-light);
    padding: 10px 0 0 0;
}

.step-list li {
    font-size: 12.5px;
    color: #666257;   
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}

/* Viñeta Personalizada (Punto Dorado) */
.step-list li::before {
    content: '•';
    color: var(--accent-gold);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -10px;
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */

/* Tablets y Pantallas Medianas */
@media (max-width: 1024px) {
    .system-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem 2rem;
    }
    
    /* Ocultar flechas complejas de escritorio en modo tablet */
    .step:not(:last-child)::after,
    .step:not(:last-child).arrow-next::before {
        display: none;
    }

    .step-desc {
        min-height: auto;
    }
}

/******************************************************
          MOOD CELULARES
    [ MEDIA all 1-761 ]
*******************************************************/
@media all and (min-width: 1px) and (max-width: 761px)
{

.container {
    background-image: none;
    background-repeat: repeat;
    background-position: 100% 1%;

    width: 100%;
    margin: 0 auto;
    padding: 160px 0 0 0;
    color: #666257;
}

/* Encabezado */
.header {
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    padding-left: 0.5rem;
}

.header h1 {
    font-size: 20px;
}

.header p {
    font-size: 12.5px;
    width: 60%;
    text-align: center;
    line-height: 18px;
    margin: 0 auto;
}

.system-steps {
    grid-template-columns: 1fr;
    gap: 15px;
    }


/* Círculo del Número */
.step-number {
    width: 55px;
    height: 55px;
    font-size: 17px;
    margin-bottom: 20px;
}

/* Contenedor de Iconos */
.step-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-dark);
    fill: none;
    stroke-width: 1.25;
}

/* Títulos de Etapa */
.step h2 {
    color: #666257;    
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Breve Descripción */
.step-desc {
    font-size: 13px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    min-height: 30px; /* Mantiene la alineación horizontal limpia */
    padding: 0;
}

/* Listas de Viñetas */
.step-list {
    list-style: none;
    text-align: left;
    width: 100%;
    border-top: 1px solid var(--border-light);
    padding: 10px 0 0 0;
}

.step-list li {
    font-size: 12.5px;
    color: #666257;   
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}

/* Viñeta Personalizada (Punto Dorado) */
.step-list li::before {
    content: '•';
    color: var(--accent-gold);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -10px;
}    


}
