/* ===================================================
   ESTILOS DE LA PÁGINA "CÓMO FUNCIONA" Y TECNOLOGÍA MAP
   =================================================== */
.how-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- ENCABEZADO --- */
.how-header-section {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.how-header-section h1 {
    font-size: 38px;
    color: var(--text-dark);
    margin: 10px 0 20px 0;
}

.section-lead {
    font-size: 16px;
    color: #555E66;
    line-height: 1.6;
}

/* --- LÍNEA DE TIEMPO / PASOS --- */
.how-steps-section {
    position: relative;
    margin-bottom: 80px;
}

/* Cuadrícula limpia para las 4 tarjetas de pasos */
.steps-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-timeline-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    border: 1px solid #E5E7EB;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Efecto hover interactivo para la presentación */
.step-timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 115, 61, 0.1);
    border-color: var(--primary-color);
}

.step-number-badge {
    background-color: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(139, 115, 61, 0.3);
}

.step-card-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-card-content p {
    font-size: 14px;
    color: #6C7278;
    line-height: 1.5;
}

/* --- SECCIÓN TECNOLOGÍA MAP --- */
.technology-map-section {
    background-color: #1A1F24; /* Color oscuro a juego con el header de tu web */
    color: white;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.map-info-box {
    flex: 1.4;
}

.tag-tech {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.map-info-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.map-info-box p {
    color: #A0A5A9;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.map-info-box strong {
    color: white;
}

/* El bloque del Slogan */
.map-slogan-box {
    background-color: #232930;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 25px 0;
}

.map-slogan-box p {
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
}

.btn-map-action {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s;
    margin-top: 10px;
}

.btn-map-action:hover {
    background-color: #725E31;
}

/* Columna Derecha Gráfica de MAP */
.map-visual-box {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-graphic {
    background-color: #232930;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 50%;
    width: 240px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.shield-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.shield-graphic h4 {
    font-size: 15px;
    color: white;
    margin-bottom: 5px;
}

.shield-graphic p {
    font-size: 11px;
    color: var(--primary-color);
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: bold;
}

/* Anillo de pulso decorativo */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: mapPulse 3s infinite;
    opacity: 0;
}

@keyframes mapPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .how-page-container { padding: 40px 15px; }
    .how-header-section h1 { font-size: 28px; }
    
    .map-content-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .map-visual-box { order: -1; } /* Pone el gráfico circular arriba en móviles */
    .map-slogan-box { border-left: none; border-top: 3px solid var(--primary-color); }
}
